[MEncoder-users] CBR video trancoding possible?

soohan lee lee.soohan2010 at gmail.com
Mon Jan 3 08:15:10 CET 2011


Dear Friends.

I am trying to do a CBR video-MPEG2VIDEO(MPEG-TS) from an M2T(MPEG2) file.
(Detail : Example.m2t to Example.ts file)

But, mencoder output file is VBR-video. CBR video is not possible?

used command line:

1) m2t -> ts (MPEG2 --> MPEG-TS)
mencoder \
-vf-add harddup,scale=1920:1080:0 \
-af lavcresample=48000 \
-srate 48000 \
-oac lavc \
-of lavf \
-lavfopts format=mpegts \
-ovc lavc -channels 2 \
-lavcopts
vrc_eq=1:vcodec=mpeg2video:vbitrate=15000:mbd=2:vqmin=1:vqscale=3:vmax_b_frames=0:keyint=15
\
-sws 9 \
-mc 0 \
-noskip \
-ofps 30000/1001 \
-o example.ts \
source.m2t
(source.m2t : Sony Camera Output file)


2) m2t -> mp4 (MPEG2 --> MPEG4)
mencoder \
-of lavf -lavfopts format=mp4 \
-af lavcresample=44100  \
-vf dsize=1280:720:0,scale=0:0,harddup \
-oac faac -faacopts mpeg=4:object=2:raw:br=128 \
-of lavf -lavfopts format=mp4 \
-ovc x264 \
-x264encopts
bitrate=800:nocabac:global_header:trellis=0:vbv_maxrate=900:level_idc=20:deblock=2,2:turbo
\
-sws 9 \
-mc 0 \
-noskip \
-af volnorm \
-o example.mp4 \
source.m2t


I want Constant Bitrate Video Files. Please! Help Me.
Thanks in advance for any help.


More information about the MEncoder-users mailing list