Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aligrudi/fbff

A small ffmpeg-based framebuffer media player
https://github.com/aligrudi/fbff

c ffmpeg framebuffer

Last synced: 3 months ago
JSON representation

A small ffmpeg-based framebuffer media player

Awesome Lists containing this project

README

        

FBFF
====

Fbff is a framebuffer/OSS media player using ffmpeg or libmpeg3.

USAGE
=====

To start it simply run:

$ fbff file.sth

When playing video files, audio and video may get out of sync. So I
suggest using this by default:

$ fbff -u -s file.sth

And if that results in choppy playback, use:

$ fbff -u -s100 file.sth

This means record A/V diff after the first few video frames (-u)
and synchronize each 100 video frames (-s100). This should work for
most files.

The following table describes fbff keybinding. Most of these commands
accept a numerical prefix. The variable avdiff is used to synchronize
audio and video streams. The synchronization is done after the 's' key
or the pause and seek commands. '-', '+', and 'a' keys can be used to
change the value of avdiff as explained below.

============== ================================================
KEY ACTION
============== ================================================
p/space pause
q quit
i print info
l/j/J seek forward 10s/60s/600s
h/k/K seek backward 10s/60s/600s
G seek to the given minute
% seek to the specified position in percents
^[/escape clear numerical prefix
mx mark position as 'x'
'x jump to position marked as 'x'
s synchronize audio/video with A-V equal to avdiff
- set avdiff to -arg
+ set avdiff to +arg
a set avdiff to current playback A-V diff
c set synchronization steps
============== ================================================

OPTIONS AND KEYS
================

The following options can be specified when starting fbff:

============== ================================================
OPTION DESCRIPTION
============== ================================================
-z x specify ffmpeg video zoom
-m x magnify the video by duplicating pixels
-j x jump every x video frames; for slow machines
-f start full screen
-v x select video stream; '-' disables video
-a x select audio stream; '-' disables audio
-t use time based seeking; only if the default doesn't work
-s don't rely on video frame-rate; always synchronize
-u record avdiff after the first few frames of video
-t path the file containing the subtitles
-x x adjust video position horizontally
-y x adjust video position vertically
-r adjust the video to the right of the screen
-b adjust the video to the bottom of the screen
============== ================================================