You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
doc: update examples to use -b:v or -b:a
Fixes Ticket613 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
0e609d7418
commit
a14708d4ac
@@ -37,7 +37,7 @@ which should be specified first.
|
|||||||
@item
|
@item
|
||||||
To set the video bitrate of the output file to 64kbit/s:
|
To set the video bitrate of the output file to 64kbit/s:
|
||||||
@example
|
@example
|
||||||
ffmpeg -i input.avi -b 64k output.avi
|
ffmpeg -i input.avi -b:v 64k output.avi
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item
|
@item
|
||||||
@@ -315,7 +315,7 @@ Requires -bufsize to be set.
|
|||||||
Set min video bitrate (in bit/s).
|
Set min video bitrate (in bit/s).
|
||||||
Most useful in setting up a CBR encode:
|
Most useful in setting up a CBR encode:
|
||||||
@example
|
@example
|
||||||
ffmpeg -i myfile.avi -b 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k out.m2v
|
ffmpeg -i myfile.avi -b:v 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k out.m2v
|
||||||
@end example
|
@end example
|
||||||
It is of little use elsewise.
|
It is of little use elsewise.
|
||||||
@item -bufsize @var{size}
|
@item -bufsize @var{size}
|
||||||
@@ -951,7 +951,7 @@ the Linux player does not seem to be very fast, so it can miss
|
|||||||
frames. An example is:
|
frames. An example is:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
ffmpeg -g 3 -r 3 -t 10 -b 50k -s qcif -f rv10 /tmp/b.rm
|
ffmpeg -g 3 -r 3 -t 10 -b:v 50k -s qcif -f rv10 /tmp/b.rm
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item
|
@item
|
||||||
@@ -1088,7 +1088,7 @@ You can encode to several formats at the same time and define a
|
|||||||
mapping from input stream to output streams:
|
mapping from input stream to output streams:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
ffmpeg -i /tmp/a.wav -map 0:a -b 64k /tmp/a.mp2 -map 0:a -b 128k /tmp/b.mp2
|
ffmpeg -i /tmp/a.wav -map 0:a -b:a 64k /tmp/a.mp2 -map 0:a -b:a 128k /tmp/b.mp2
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Converts a.wav to a.mp2 at 64 kbits and to b.mp2 at 128 kbits. '-map
|
Converts a.wav to a.mp2 at 64 kbits and to b.mp2 at 128 kbits. '-map
|
||||||
|
Reference in New Issue
Block a user