Page 1 of 1

VLC does not encode audio: ffmpeg encoder error

Posted: 16 Oct 2005 11:59
by Guest
Since I own a dreambox I would like to transcode the AC3 audio of a VOB file to MPEG Audio. For some reason I always get a ffmpeg encoder error. When I try to encode with ffmpeg via command line the encoder works perfect. Am I missing something?

VLC media player 0.8.2 Janus
Xlib: extension "XInputExtension" missing on display ":4.0".
Failed to get list of devices
[00000239] main interface error: option dvdnav-caching does not exist
[00000239] main interface error: option dvdnav-caching does not exist
[00000307] a52 packetizer: A/52 channels:6 samplerate:48000 bitrate:448000
[00000316] ffmpeg encoder error: cannot open encoder
[00000244] stream_out_transcode private error: cannot find encoder
[00000244] stream_out_transcode private error: cannot create audio chain
[00000307] main packetizer error: cannot create packetizer output

vlc configuration:
./configure --enable-ffmpeg --with-ffmpeg-mp3lame --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-dvdnav --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-alsa --disable-qt --enable-ncurses --with-ffmpeg-tree=/srv/stuff/ffmpeg-0.4.9-pre1 --with-ffmpeg-config-path=/srv/stuff/ffmpeg-0.4.9-pre1

ffmpeg configuration:
./configure --enable-a52 --enable-mp3lame --enable-pp --enable-gpl

Thank you!

Olli

Re: VLC does not encode audio: ffmpeg encoder error

Posted: 16 Oct 2005 16:50
by fkuehne
That's a known issue (see ticket #341). Updating your ffmpeg-version (note that 0.4.9-pre1 is pretty old) might help here.

Re: VLC does not encode audio: ffmpeg encoder error

Posted: 16 Oct 2005 19:06
by Guest
That's a known issue (see ticket #341). Updating your ffmpeg-version (note that 0.4.9-pre1 is pretty old) might help here.
Okay based on your reply, here is what I did:
- I did a checkout of the latest version from ffmpeg
- vlc did not compile due to a new libavutil in ffmpeg
- corrected the include path and libpath and added libavutil to vlc and was able to compile
- installed both new versions of vlc and ffmpeg
- still get the same error

[00000259] a52 packetizer: A/52 channels:6 samplerate:48000 bitrate:448000
[00000261] ffmpeg encoder error: cannot open encoder
[00000247] stream_out_transcode private error: cannot find encoder
[00000247] stream_out_transcode private error: cannot create audio chain
[00000259] main packetizer error: cannot create packetizer output
[00000241] main playlist: stopping playback

The same is now true for the windows version. All 0.8.x version fail to encode mpeg audio. When I go back to windows version 0.7.2 everything is fine.

Olli

Re: VLC does not encode audio: ffmpeg encoder error

Posted: 17 Oct 2005 21:27
by fkuehne
Well, encoding MPEG Audio works fine for me here on OSX. Just Video-encoding is problematically (-> broken in fact).
There is no solution for that issue atm, but we are working on it. Please just keep checking the ticket from time to time. Once it is closed, it will work again. We won't release 0.8.4 without having this fixed.

Posted: 17 Oct 2005 22:57
by Guest
Okay with the knowledge that this is a "real" bug I can stop compiling now. I just wanted to make sure that I didn't have a configuration problem.

Thank you!

Olli