[vlc] transcoding problem
Alex Vazquez
alexvazquezfente at gmail.com
Sat Aug 25 14:20:29 CEST 2007
2007/8/23, Csillag Tamas <cstamas at digitus.itk.ppke.hu>:
>
> hi,
>
> Please help me a bit.
> I am trying to transcode (record) a video from my webcam.
> But I do not succeed:
>
> 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"}'
>
> ...
> [00000510] main input debug: `v4l:///dev/video0' successfully opened
> [00000512] main stream output debug: adding a new input
> [00000512] main stream output debug: adding a new input
> [00000513] stream_out_transcode private debug: creating video transcoding
> from fcc=`I420' to fcc=`mp2v'
> [00000554] main decoder debug: looking for decoder module: 22 candidates
> [00000554] main decoder debug: using decoder module "rawvideo"
> [00000555] main encoder debug: looking for encoder module: 6 candidates
> [00000555] ffmpeg encoder debug: libavcodec initialized (interface 3352064
> )
> [00000555] ffmpeg encoder error: cannot find encoder MPEG-2 Video
> [00000513] stream_out_transcode private error: cannot find encoder
> ((null))
> ...
>
> What I am doing wrong? I tried the debian package 0.8.6c. Then from vlc's
> repository 9svn...
> Now I even compiled my own version of ffmpeg and vlc. The error messages
> are always the same.
>
> Thanks in advance.
>
> Regards,
> cstamas
> --
> CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas
>
> This is UNIX. Stop acting so helpless!
> -- Daniel J. Bernstein
>
> _______________________________________________
> vlc mailing list
> vlc at videolan.org
> http://mailman.videolan.org/listinfo/vlc
>
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:
rm -r ~/.vlc/
Also, ffmpeg can give problems if you have an old version installed, try
uninstalling old versions of ffmpeg if it is the case.
Good luck,
--
Alejandro Vazquez Fente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20070825/25a63af3/attachment.html>
More information about the vlc
mailing list