[vlc-devel] mpeg2 video encoding
Roman Pen
r.peniaev at gmail.com
Thu Nov 13 07:53:10 CET 2008
Rémi Denis-Courmont wrote:
> 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.
seems to me this was my patch with subj:
'[PATCH] Fix wrong initialization of 'mp2v' encoder profile. '
"cannot find video encoder" - and this is the problem which was solved
with correct initialization of encoder level and profile.
bug appears for high resolution. (w >= 720 or h >= 576)
--
Roman Pen
More information about the vlc-devel
mailing list