Log in

View Full Version : *.ts to mp4(h.264) - can't control bitrate


Offspring2099
19th December 2009, 07:39
Hello,

I'm trying to encode my ts stream from series 3 tivo to a mp4 with h.264 codec.

Here is my command:

c:/xtivo/ffmpeg/bin/ffmpeg.exe -i c:/xtivo/file_in.ts -y -ab 128k -acodec libfaac -f mp4 -vcodec libx264 -s 1280x720 -b 2800k -bt 300k -r 30000/1001 -vframes 300 c:/xtivo/file_out.mp4

I'm setting the bitrate to 2800k, but after the encoding GSpot tells me that the video(file_out.mp4) is at approx. 5300k.

Am I doing something wrong?

Dark Shikari
19th December 2009, 07:40
The mere fact that your commandline works means that your ffmpeg is way out of date. Get an up to date one (http://ffmpeg.arrozcru.org/autobuilds) and follow the guide (http://rob.opendot.cl/index.php/useful-stuff/x264-to-ffmpeg-option-mapping/).

Offspring2099
19th December 2009, 11:01
Got it. Thx.