<br><br><div><span class="gmail_quote">2007/8/23, Csillag Tamas <<a href="mailto:cstamas@digitus.itk.ppke.hu">cstamas@digitus.itk.ppke.hu</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br><br>Please help me a bit.<br>I am trying to transcode (record) a video from my webcam.<br>But I do not succeed:<br><br>vlc -v v4l:///dev/video0 --sout '#transcode{vcodec=mp2v,vb=4096,acodec=mp2a,ab=192,scale=1,channels=2,deinterlace,audio-sync}:std{access=file,mux=ps,url="/tmp/output.ps.mpg"}'
<br><br>...<br>[00000510] main input debug: `v4l:///dev/video0' successfully opened<br>[00000512] main stream output debug: adding a new input<br>[00000512] main stream output debug: adding a new input<br>[00000513] stream_out_transcode private debug: creating video transcoding from fcc=`I420' to fcc=`mp2v'
<br>[00000554] main decoder debug: looking for decoder module: 22 candidates<br>[00000554] main decoder debug: using decoder module "rawvideo"<br>[00000555] main encoder debug: looking for encoder module: 6 candidates
<br>[00000555] ffmpeg encoder debug: libavcodec initialized (interface 3352064 )<br>[00000555] ffmpeg encoder error: cannot find encoder MPEG-2 Video<br>[00000513] stream_out_transcode private error: cannot find encoder ((null))
<br>...<br><br>What I am doing wrong? I tried the debian package 0.8.6c. Then from vlc's repository 9svn...<br>Now I even compiled my own version of ffmpeg and vlc. The error messages<br>are always the same.<br><br>Thanks in advance.
<br><br>Regards,<br> cstamas<br>--<br>CSILLAG Tamas (cstamas) - <a href="http://digitus.itk.ppke.hu/~cstamas">http://digitus.itk.ppke.hu/~cstamas</a><br><br>This is UNIX. Stop acting so helpless!<br> -- Daniel J. Bernstein
<br><br>_______________________________________________<br>vlc mailing list<br><a href="mailto:vlc@videolan.org">vlc@videolan.org</a><br><a href="http://mailman.videolan.org/listinfo/vlc">http://mailman.videolan.org/listinfo/vlc
</a><br></blockquote></div><br><br>It seems a ffmpeg problem with the MPEG-2 encoder. If you are sure your ffmpeg has this encoder enabled, try resetting the preferences and erasing the plugins cache:<br><br>rm -r ~/.vlc/
<br><br>Also, ffmpeg can give problems if you have an old version installed, try uninstalling old versions of ffmpeg if it is the case.<br><br>Good luck,<br clear="all"><br>-- <br>Alejandro Vazquez Fente