VLC does not encode audio: ffmpeg encoder error

*nix specific usage questions
Guest

VLC does not encode audio: ffmpeg encoder error

Postby Guest » 16 Oct 2005 11:59

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

fkuehne
Developer
Developer
Posts: 7275
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC does not encode audio: ffmpeg encoder error

Postby fkuehne » 16 Oct 2005 16:50

That's a known issue (see ticket #341). Updating your ffmpeg-version (note that 0.4.9-pre1 is pretty old) might help here.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Guest

Re: VLC does not encode audio: ffmpeg encoder error

Postby Guest » 16 Oct 2005 19:06

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

fkuehne
Developer
Developer
Posts: 7275
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC does not encode audio: ffmpeg encoder error

Postby fkuehne » 17 Oct 2005 21:27

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.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Guest

Postby Guest » 17 Oct 2005 22:57

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


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

Who is online

Users browsing this forum: No registered users and 59 guests