ffs: fix the uninitialized avpacket in ffs_adec()
[fbff.git] / README
blob4c7c403ab9c0295778f76503df91ae8f713b9cf4
1 FBFF
2 ====
4 fbff is a framebuffer/OSS media player using ffmpeg or libmpeg3.
6 USAGE
7 =====
9 To start it simply run:
11   $ fbff file.sth
13 When playing video files, audio and video may get out of sync.  So I
14 suggest using this by default:
16   $ fbff -u -s file.sth
18 And if that results in choppy playback, use:
20   $ fbff -u -s100 file.sth
22 This means record A/V diff after the first few video frames (-u)
23 and synchronize each 100 video frames (-s100).  This should work for
24 most files.
26 The following table describes fbff keybinding.  Most of these commands
27 accept a numerical prefix.  The variable avdiff is used to synchronize
28 audio and video streams.  The synchronization is done after the 's' key
29 or the pause and seek commands.  '-', '+', and 'a' keys can be used to
30 change the value of avdiff as explained below.
32 ==============  ================================================
33 KEY             ACTION
34 ==============  ================================================
35 p/' '           (space) pause
36 q               quit
37 i               print info
38 l/j/J           short/medium/long jump forward
39 h/k/K           short/medium/long jump backward
40 ^[              (escape) clear numerical prefix
41 s               synchronize audio/video with A-V equal to avdiff
42 -               set avdiff to -arg
43 +               set avdiff to +arg
44 a               set avdiff to current playback A-V diff
45 c               set synchronization steps
46 ==============  ================================================
48 OPTIONS AND KEYS
49 ================
51 The following options can be specified when starting fbff:
53 ==============  ================================================
54 OPTION          DESCRIPTION
55 ==============  ================================================
56 -z x            zoom the screen using ffmpeg
57 -m x            magnify the screen by repeating pixels
58 -j x            jump every x video frames; for slow machines
59 -f              start full screen
60 -v x            select video stream; '-' disables video
61 -a x            select audio stream; '-' disables audio
62 -t              use time based seeking; only if the default does't work
63 -s              don't rely on video framerate; always synchronize
64 -u              record avdiff after the first few frames of video
65 -r              adjust the video to the right of the screen
66 -b              adjust the video to the bottom of the screen
67 ==============  ================================================