[vlc-devel] mpeg2 video encoding

Anton Kapela tkapela at gmail.com
Wed Nov 12 16:20:45 CET 2008

On Wed, Nov 12, 2008 at 8:21 AM, Anton Kapela <tkapela at gmail.com> wrote:
>> I tested 0.9.6 under Win32 and I can encode MPEG-2 video and audio without any issues.

Could you tell me what format/frame rate/frame size your input was?

>> :sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=C:\testi.mpg}}
>> So I don't think MPEG-2 encoder is broken.

After more probing around, I've discovered that if I force the mp2v
transcode to rescale the input video (which is 1440x1088 HDV..from a
firewire camera) to 720x576, mp2v and mpgv both work, producing
compressed video. Indeed, mp2v encoding isn't broke entirely - perhaps
it is simply broken in some more subtle way which affects only my

The following transcode works, fwiw, when the input is HDV:

./VLC  -vvv --intf=rc udp://@

Interestingly, if I try w=1280 h=720 or w=1920 h=1080/1088, it doesn't work.


More information about the vlc-devel mailing list