[vlc-devel] mpeg2 video encoding

Rémi Denis-Courmont rem at videolan.org
Wed Nov 12 20:14:42 CET 2008

Le mercredi 12 novembre 2008 08:55:56 Kaarlo Räihä, vous avez écrit :
> Anton Kapela kirjoitti 11.11.2008 kello 18:41:
> > Team,
> >
> > I've recently switched several OSX and winXP systems to version 0.9.6
> > of the vlc package. I've noticed that since moving to this version,
> > mpeg2 video encoding seems to not work. Interestingly, mpeg2 audio
> > encoding does work (though it's unclear to me where support this
> > compressor comes from or what module it's packaged within).
> >
> > I tested a previous version of VLC (0.8.6i, in my test case) and
> > observed mpeg2 video encoding does indeed work.
> >
> > I've placed -vvv output from two invocations (one using xvid .avi
> > source file on disk, the other receiving a udp multicast stream via
> > the network) of vlc command lines in the following pastebin url:
> >
> > http://pastebin.com/m2ab7db36
> >
> > In short, when I do "vcodec=mp2v" I get "cannot find video encoder"
> > ..but only while using 0.9.6 (didn't test previous versions of
> > 0.9...). The interesting part: I don't get this error when using
> > 0.8.6i.
> I tested 0.9.6 under Win32 and I can encode MPEG-2 video and audio without
> any issues.
> :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.

Which resolution do you use? I recall a patch for ffmpeg MPEG2 encoding at 
high resolution a few days ago. But I don't think anybody competent (like NOT 
me) reviewed it, lest not say apply it. And I cannot even find it anymore.

Unfortunately, with MPEG encoding purposedly removed in Debian&Ubuntu, many 
developpers are likely to disregard such genuine VLC bugs as Debian-induced 
issues :( Nothing we can do about it until the MPEG patents expire.

Rémi Denis-Courmont

More information about the vlc-devel mailing list