Hi all,
I'm trying to convert an M2T file, specifying bit rates during the conversion. I'm using the following FFMPEG command line (under windows):
The contents of test.ffpreset is below:Code:ffmpeg -y -threads 2 -i "nature.m2t" -vcodec libx264 -fpre "test.ffpreset" -bufsize 600 -maxrate 20000 -b 10000 -acodec mp2 -ac 2 -ar 48000 -ab 160k -f mpegts -metadata service_provider="OurCo" "nature-bitrate-10000.m2t"
However, I get the following message during the conversion:Code:coder=0 flags=+loop cmp=+chroma partitions=+parti8x8+parti4x4+partp8x8+partb8x8 me_method=epzs subq=5 me_range=16 g=100 keyint_min=25 sc_threshold=40 i_qfactor=0.71 b_strategy=1 qcomp=0.6 qmin=10 qmax=30 qdiff=4 bf=16 refs=2 directpred=3 trellis=0 flags2=+bpyramid+wpred+dct8x8+fastpskip
This is the ffmpeg version information:Code:[libx264 @ 01EC0B20] VBV maxrate specified, but no bufsize, ignored
Can anyone offer any suggestions as to when it's saying I'm not specifying bufsize, when in fact I am?Code:ffmpeg version git-N-30344-g5501afa, Copyright (c) 2000-2011 the FFmpeg developers built on May 27 2011 22:37:57 with gcc 4.5.3 configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config=pkg-config
Thanks
Andy
+ Reply to Thread
Results 1 to 5 of 5
-
-
Set buffersize to 600k.
Also check out bitrate and maxrate. Shouldn't that be -b 1000k and -maxrate 2000k? -
I figured it would probably be something simple!
Now seeing:
Code:[libx264 @ 01FF28E0] VBV buffer size cannot be smaller than one frame, using 800 kbit
Thanks for the pointer so far!
Andy -
10000 is a bitrate of 10 kbps for FFmpeg which seems rather unrealistic for me, even for x264.
-
Ok, but same applies for 2000 and 5000. I get a similar error saying that the buffer size is smaller than a frame. These are all 'k' obviously (10000k, 5000k and 2000k). And the buffer size I'm specifying for 10000k is 600k, but it says that's too small and uses 800k.
Andy
Similar Threads
-
FFmpeg's Bitrate Tolerance Option...
By raymng in forum Video ConversionReplies: 1Last Post: 13th Mar 2012, 09:08 -
changing audio bitrate with ffmpeg
By wallywalters in forum Video ConversionReplies: 4Last Post: 11th Feb 2011, 04:45 -
FFmpeg bitrate problem
By ajitpals in forum Video ConversionReplies: 0Last Post: 1st May 2010, 02:02 -
Forcing a bitrate with FFMPEG
By boyer in forum Video ConversionReplies: 4Last Post: 3rd Mar 2010, 12:01 -
ffmpeg bitrate
By heruvim in forum Newbie / General discussionsReplies: 1Last Post: 8th Dec 2009, 07:10