Hi vlc team !
First of all, thanks for your great job !!
Here's my problem :
I am trying to use vlc under linux ( RedHat 8.0 ).
Since all the rpms that I could find are for RH 7 or 9, I decided to complile vlc. So I went to your source download page and downloaded all the files. I compiled everything.
Then, I tried to transcode a mpeg file to mp4 but I got this error :
[root /]# vlc
VLC media player 0.8.1 Janus
Remote control interface initialized, `h' for help
trying to add /record/try.mpg :sout=#transcode{vcodec=mp4v,vb=128,scale=0.25,acodec=mp4a,ab=64}:duplicate{dst=std{access=file,mux=mp4,url=/record/test.mp4}} to playlist
add: returned 0 (no error)
[00000433] mpeg_audio packetizer: MPGA channels:2 samplerate:48000 bitrate:256
[00000445] ffmpeg encoder error: cannot find encoder MPEG AAC Audio
[00000393] stream_out_transcode private error: cannot find encoder
[00000393] stream_out_transcode private error: cannot create audio chain
[00000433] main packetizer error: cannot create packetizer output
[msmpeg4 @ 0x85356e8]only YUV420 is supported
[00000452] ffmpeg encoder error: cannot open encoder
[00000393] stream_out_transcode private error: cannot find encoder
[00000393] stream_out_transcode private error: cannot create video chain
[00000422] main packetizer error: cannot create packetizer output
So I thought that ffmpeg wasn't properly linked to vlc. I looked around and found that I forgot to include configure option with vlc. I included the codecs in the config. params (i.e. --enable-faac). Recompiled everything again ... didn't work
Then I found that I could do the same but with ffmpeg, and use --with-ffmpeg-faac in the vlc config. Another config to do!! just to be sure, I did a big 'make clean'... in case that would help me...
No... not at all ... I still get the same ffmpeg error !!!
Can someone help me please ?
Thanks !
Notes :
1) I know this command is working because I tested it using a windows version of VLC. I used the same mpg file in both tests.
2) I don't have any xWindows in linux, so I compiled vlc without xwin support.
3) Here's the configure options I am using for vlc and ffmpeg :
ffmpeg :
./configure --prefix=$INST --enable-pp --enable-gpl --enable-libogg --enable-vorbis --enable-faad --enable-faac --enable-a52 --enable-mp3lame --enable-shared
vlc :
./configure --prefix=$INST \
--enable-debug \
--disable-x11 \
--disable-wxwindows \
--disable-gtk \
--disable-kde \
--disable-qt \
--disable-skins \
--disable-skins2 \
--disable-sdl \
--enable-ffmpeg \
--with-ffmpeg-ogg \
--with-ffmpeg-vorbis \
--with-ffmpeg-faad \
--with-ffmpeg-faac \
--with-ffmpeg-a52 \
--with-ffmpeg-mp3lame \
--enable-mad \
--enable-libdvbpsi \
--enable-libmpeg2 \
--enable-dts \
--enable-mkv \
--enable-freetype \
--enable-fribidi \
--enable-speex \
--enable-flac \
--enable-caca \
--enable-livedotcom \
--enable-dvd \
--enable-dvdnav \
--enable-dvdread \
--disable-libcdio \
--disable-libcddb \
--disable-vcdx \
--disable-vcd \
--disable-ncurses \
--enable-id3tag \
--with-libcdio-tree=../libcdio-0.70 \
--with-ffmpeg-tree=../ffmpeg-20041113 \
--with-freetype-config-path=../freetype-2.1.4 \
--with-xml2-config-path=../libxml2-2.6.4 \
--with-dvdnav-config-path=../libdvdnav-0.1.10 \
--with-libmpeg2-tree=../mpeg2dec-0.4.0 \
--with-livedotcom-tree=../live \
--with-dvbpsi-tree=../libdvbpsi-20041028 \
--with-dvdread-tree=../libdvdread-20041028 \
--with-mad-tree=../libmad-0.15.1b