[MEncoder-users] mpeg container not working

Chris Elliott Chris at PinsonConsulting.com
Sat Feb 2 01:14:25 CET 2008


I am trying to take a transport stream and re-encode the video.  In order to 
get
it back into a transport stream, I want mencoder to use an mpeg2 container
(which I think is a program stream).  I have it copy the AC3 audio and encode
the video with x264.  The file created is always 4096 bytes long, but should be
much larger.  Here's the command I'm using:

mencoder test.ts -noskip -oac copy -ovc x264 -x264encopts
bitrate=8000:level_idc=41:frameref=4:bframes=3:b_adapt:b_pyramid:
direct_pred=auto:weight_b:partitions=all:8x8dct:me=umh:subq=7:
mixed_refs:brdo:bime:nofast_pskip:threads=auto:trellis=1:pass=2
-of mpeg -o test.mpg

The encoding works fine.  I can put it in an AVI.  My goal is to get back to a
transport stream, and I think I can convert from PS to TS.  Any idea why I 
can't
put x264 video and copied AC3 audio into a .mpg file?




More information about the MEncoder-users mailing list