Compiling vlc 1.0.2 with ffmpeg

*nix specific usage questions
kirc05
New Cone
New Cone
Posts: 1
Joined: 30 Sep 2009 12:25

Compiling vlc 1.0.2 with ffmpeg

Postby kirc05 » 30 Sep 2009 12:33

Hi, guys!

I'm trying to compile vlc with ffmpeg, but so far i didn't have any luck.

I'm getting the following error:

Code: Select all

[0x9fdf330] avcodec encoder error: cannot open encoder [0x9fdf330] main encoder error: Streaming / Transcoding failed [0x9fdf330] main encoder error: VLC could not open the encoder. [0x9fdf330] main encoder warning: no encoder module matching "ffmpeg" could be loaded [0x9fdf330] main encoder debug: TIMER module_need() : 3.924 ms - Total 3.924 ms / 1 intvls (Avg 3.924 ms) [0x9fd8a18] stream_out_transcode stream out error: cannot find video encoder (module:ffmpeg fourcc:mp2v) [0x9fd9738] main decoder debug: removing module "rawvideo" [0x9fd8a18] stream_out_transcode stream out error: cannot create video chain [0x9fd73d8] stream_out_duplicate stream out debug: - failed for output 0 [0x9fd8bc8] main packetizer error: cannot create packetizer output (RV24)
Here's my info about ffmpeg and vlc :

Code: Select all

ffmpeg -version FFmpeg version SVN-r20091, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Sep 30 2009 05:39:20 with gcc 4.3.2 configuration: --enable-shared --disable-static libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.36. 0 / 52.36. 0 libavformat 52.39. 0 / 52.39. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 FFmpeg SVN-r20091 libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.36. 0 / 52.36. 0 libavformat 52.39. 0 / 52.39. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1

Code: Select all

libvlc was configured with ./configure '--enable-v4l' '--disable-nls' '--disable-mozilla' '--disable-a52' '--disable-glx' '--disable-qt4' '--disable-skins2' '--disable-remoteosd' '--enable-run-as-root' 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig'

Code: Select all

vlc -l | grep mpeg VLC media player 1.0.2 Goldeneye LibVLC has detected an unusable buggy GNU/libc version. Please update to version 2.8 or newer. avcodec FFmpeg audio/video decoder avcodec FFmpeg deinterlace video filter avcodec FFmpeg audio/video encoder mpeg_audio MPEG audio layer I/II/III decoder mpeg_audio MPEG audio layer I/II/III packetizer avformat FFmpeg demuxer avformat FFmpeg muxer packetizer_mpeg4video MPEG4 video packetizer packetizer_mpegvideo MPEG-I/II video packetizer packetizer_mpeg4audio MPEG4 audio packetizer
Seems everything is okay, but I keep getting this error and I don't know what to do

Could you help me with this ?

Thanks!

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: Compiling vlc 1.0.2 with ffmpeg

Postby xtophe » 30 Sep 2009 16:18

Did you compile FFmpeg yourself ? if yes did you do "make install" ? If no, are you sure vlc configure and vlc at runtime pick that version of FFmpeg ?
does ffmpeg -formats list mp2v for encoding ?


The debugs line before "cannot open encoder" could be interesting.

Also note for your commandline (that you don't provide btw) that the module is now called avcodec and not ffmpeg
Xtophe

Rémi Denis-Courmont
Developer
Developer
Posts: 15229
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Compiling vlc 1.0.2 with ffmpeg

Postby Rémi Denis-Courmont » 30 Sep 2009 17:26

It sounds like you are using a version of libavcodec that has been stripped of mpeg2 encoding support...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests