ffmpeg - specifying b frames in mpeg2 do not work

Bug report and feature request
Post Reply
Gujs
Amateur
Amateur
Posts: 24
Joined: Wed Jan 30, 2008 7:57 pm
Location: Slovenia

ffmpeg - specifying b frames in mpeg2 do not work

Post by Gujs » Wed Jan 30, 2008 8:01 pm

Transcoding to mpeg2 video with mpeg2 ts container fails, if b frames are enabled.

Code: Select all

# ".\codecs\mencoder.exe" -ofps 25 -subcp cp1250 -sub-fuzziness 1 -subfont-autos
cale 3 -subfont-blur 2 -subfont-outline 2 -aspect 16:9 -vf pp=li,scale=1280:720:
0:0:0.00:0.50,harddup -sws 2 "Z:\Content\00_SD\02_Trailer\Van_Helsing\Source\HDT
V\Van_Helsing.ts" -of lavf -lavfopts format=mpeg2ts -ovc lavc -lavcopts vcodec=m
peg2video:vbitrate=12000:vrc_minrate=12000:vrc_maxrate=12000:vrc_buf_size=8400:v
qmin=2:vqmax=31:vme=5:mbd=1:subq=5:trell:keyint=25:max_bframes=2:precmp=2:subcmp
=2:cmp=2:dia=-10:predia=-10:cbp:mv0:vqmin=1:lmin=1:dc=10 -af channels=2,volnorm=
2 -oac lavc -lavcopts acodec=mp2:abitrate=160 -o "C:\Documents and Settings\g.fu
is\Desktop\Van_Helsing.ts"

MEncoder dev-SVN-rUNKNOWN-4.2.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Option lavcopts: Unknown suboption max_bframes
Error parsing option on the command line: -lavcopts

Exiting... (error parsing command line)
File C:\Documents and Settings\g.fuis\Desktop\Van_Helsing.ts is scheduled to be
added into container as type 2.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Post by stanley » Wed Jan 30, 2008 8:43 pm

It seems this option has been removed from MEncoder.
When things work together, things work.

Post Reply