summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-07 18:17:16 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-07 18:17:16 +0000
commit5438308f3bc787ba1209032068ee9944370d1509 (patch)
tree32f10ddd7a2df65e05820386e6b7c80df001974e /doc
parent4e780252f41cbdf87b9283ce2a9e5fc8438f6da9 (diff)
Update the documentation to be consistent with the new unit for the "ab"
parameter. Originally committed as revision 8288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/faq.texi6
-rw-r--r--doc/ffmpeg-doc.texi8
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/faq.texi b/doc/faq.texi
index 32d818395f..983039d307 100644
--- a/doc/faq.texi
+++ b/doc/faq.texi
@@ -171,7 +171,7 @@ default.
@item non-working stuff
B-frames
@item example command line
-ffmpeg -i input -acodec aac -ab 128 -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output.mp4
+ffmpeg -i input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output.mp4
@end table
@section How do I encode videos which play on the PSP?
@@ -184,7 +184,7 @@ ffmpeg -i input -acodec aac -ab 128 -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+t
@item non-working stuff
B-frames
@item example command line
-ffmpeg -i input -acodec aac -ab 128 -vcodec mpeg4 -b 1200kb -ar 24000 -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -title X -f psp output.mp4
+ffmpeg -i input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -ar 24000 -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -title X -f psp output.mp4
@item needed stuff for H.264
-acodec aac -vcodec h264 width*height<=76800 width%16=0? height%16=0? -ar 48000 -coder 1 -r 30000/1001 or 15000/1001 -f psp
@item working stuff for H.264
@@ -192,7 +192,7 @@ title, loop filter
@item non-working stuff for H.264
CAVLC
@item example command line
-ffmpeg -i input -acodec aac -ab 128 -vcodec h264 -b 1200kb -ar 48000 -mbd 2 -coder 1 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -title X -f psp -flags loop -trellis 2 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 output.mp4
+ffmpeg -i input -acodec aac -ab 128kb -vcodec h264 -b 1200kb -ar 48000 -mbd 2 -coder 1 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -title X -f psp -flags loop -trellis 2 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 output.mp4
@end table
@section Which are good parameters for encoding high quality MPEG-4?
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index 6089d61578..c82b1d3c82 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -117,7 +117,7 @@ Converts a.wav to MPEG audio at 22050Hz sample rate.
mapping from input stream to output streams:
@example
-ffmpeg -i /tmp/a.wav -ab 64 /tmp/a.mp2 -ab 128 /tmp/b.mp2 -map 0:0 -map 0:0
+ffmpeg -i /tmp/a.wav -ab 64k /tmp/a.mp2 -ab 128k /tmp/b.mp2 -map 0:0 -map 0:0
@end example
Converts a.wav to a.mp2 at 64 kbits and to b.mp2 at 128 kbits. '-map
@@ -127,7 +127,7 @@ stream, in the order of the definition of output streams.
* You can transcode decrypted VOBs
@example
-ffmpeg -i snatch_1.vob -f avi -vcodec mpeg4 -b 800k -g 300 -bf 2 -acodec mp3 -ab 128 snatch.avi
+ffmpeg -i snatch_1.vob -f avi -vcodec mpeg4 -b 800k -g 300 -bf 2 -acodec mp3 -ab 128k snatch.avi
@end example
This is a typical DVD ripping example; the input is a VOB file, the
@@ -560,7 +560,7 @@ Set the number of audio frames to record.
@item -ar freq
Set the audio sampling frequency (default = 44100 Hz).
@item -ab bitrate
-Set the audio bitrate in kbit/s (default = 64).
+Set the audio bitrate in bit/s (default = 64k).
@item -ac channels
Set the number of audio channels (default = 1).
@item -an
@@ -578,7 +578,7 @@ can override the mapping using @code{-map} as usual.
Example:
@example
-ffmpeg -i file.mpg -vcodec copy -acodec ac3 -ab 384 test.mpg -acodec mp2 -ab 192 -newaudio
+ffmpeg -i file.mpg -vcodec copy -acodec ac3 -ab 384k test.mpg -acodec mp2 -ab 192k -newaudio
@end example
@item -alang code
Set the ISO 639 language code (3 letters) of the current audio stream.