Discussion:
ffmpeg problem
(too old to reply)
Netman
2010-05-18 14:59:54 UTC
Permalink
Hello!

I use WinFF freeware application to convert my uncompressed AVI file
(1080p/50p + 5.1 PCM audio) into the mp4 file.

I used such command line:

-crf 15.0 -b 23737k -maxrate 23737k -bufsize 1835k -vcodec libx264 -acodec
libfaac -ar 48000 -ab 192kb -coder 1 -flags +loop -cmp +chroma -partitions
+parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g
250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0

When I run the conversion I see

....
frame=4444 fps=5 q=18 size=59999232kB time=99.93 bitrate=49539kbits/s
frame=4445 fps=5 q=18 size=59999232kB time=99.99 bitrate=49519kbits/s
...

Can you help me why the bitrate is such big?
I`ve set max bitrate (-maxrate 23737k), so why it is so big?
The bitrate (i.e. 49519kbit/s) is so big till the end of conversion.

Why max bitrate is being ignored in my command line?

I use WinFF which has FFmpeg version SVN=r18709.

Please help me
Thank you
Netman
Netman
2010-05-18 19:11:26 UTC
Permalink
Post by Netman
Hello!
I use WinFF freeware application to convert my uncompressed AVI file
(1080p/50p + 5.1 PCM audio) into the mp4 file.
-crf 15.0 -b 23737k -maxrate 23737k -bufsize 1835k -vcodec libx264 -acodec
libfaac -ar 48000 -ab 192kb -coder 1 -flags +loop -cmp +chroma -partitions
+parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g
250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0
When I run the conversion I see
....
frame=4444 fps=5 q=18 size=59999232kB time=99.93 bitrate=49539kbits/s
frame=4445 fps=5 q=18 size=59999232kB time=99.99 bitrate=49519kbits/s
...
Can you help me why the bitrate is such big?
I`ve set max bitrate (-maxrate 23737k), so why it is so big?
The bitrate (i.e. 49519kbit/s) is so big till the end of conversion.
Why max bitrate is being ignored in my command line?
I use WinFF which has FFmpeg version SVN=r18709.
Please help me
Thank you
Netman
I know what it was...

-crf 15.00 says that it is the perfect quality (the best as possible). It
keeps
constant quality factor so bitrate & max bitrate parameters are ignored.
If I removed the -crf 15.00 parameter and set -b 23000k -maxrate 23000k
-bufsize 1024k, I got what I wanted to get.

netman
Gene E. Bloch
2010-05-19 20:43:41 UTC
Permalink
Post by Netman
Post by Netman
Hello!
I use WinFF freeware application to convert my uncompressed AVI file
(1080p/50p + 5.1 PCM audio) into the mp4 file.
-crf 15.0 -b 23737k -maxrate 23737k -bufsize 1835k -vcodec libx264 -acodec
libfaac -ar 48000 -ab 192kb -coder 1 -flags +loop -cmp +chroma -partitions
+parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250
-keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0
When I run the conversion I see
....
frame=4444 fps=5 q=18 size=59999232kB time=99.93 bitrate=49539kbits/s
frame=4445 fps=5 q=18 size=59999232kB time=99.99 bitrate=49519kbits/s
...
Can you help me why the bitrate is such big?
I`ve set max bitrate (-maxrate 23737k), so why it is so big?
The bitrate (i.e. 49519kbit/s) is so big till the end of conversion.
Why max bitrate is being ignored in my command line?
I use WinFF which has FFmpeg version SVN=r18709.
Please help me
Thank you
Netman
I know what it was...
-crf 15.00 says that it is the perfect quality (the best as possible). It
keeps
constant quality factor so bitrate & max bitrate parameters are ignored.
If I removed the -crf 15.00 parameter and set -b 23000k -maxrate 23000k
-bufsize 1024k, I got what I wanted to get.
netman
Thanks for the update.
--
Gene E. Bloch (Stumbling Bloch)
Loading...