unexpected channel configuration error (mp4 to flv) and unknown encoder 'mp3'
Hi, I have installed the latest ffmpeg snapshot ( ffmpeg-export-2007-08-22 ). test:~# ffmpeg FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-zlib --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libxvid --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-pthreads --disable-debug libavutil version: 49.5.0 libavcodec version: 51.41.0 libavformat version: 51.12.2 built on Aug 23 2007 11:12:31, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Some libs where installed using binary packages (apt-get) and some (amrnb, amrwb, faac, faad2) were compiled in. Now when I try to convert an mp4 file to flv, I get Error while decoding stream #0.1 [mpeg4aac @ 0x85a3708]faac: frame decoding failed: Unexpected channel configuration change The resulting video is fine, but without any audio. Below is the command I used, # ffmpeg -i test.mp4 -ar 22050 -ab 32 -f flv -s 320x240 -b 200k -r 20 ~/test.flv Also, when I try to pass '-acodec mp3' it halts with Unknown encoder 'mp3' I tried compiling with '--enable-encoder=mp3', but it still gives me the same error. Any ideas ? Any help will be greatly appreciated. TIA -Arun
On date Thursday 2007-08-23 11:52:19 +0530, Arun G Nair encoded:
Hi,
I have installed the latest ffmpeg snapshot ( ffmpeg-export-2007-08-22 ).
test:~# ffmpeg FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-zlib --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libxvid --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-pthreads --disable-debug libavutil version: 49.5.0 libavcodec version: 51.41.0 libavformat version: 51.12.2 built on Aug 23 2007 11:12:31, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Some libs where installed using binary packages (apt-get) and some (amrnb, amrwb, faac, faad2) were compiled in.
Now when I try to convert an mp4 file to flv, I get
Error while decoding stream #0.1 [mpeg4aac @ 0x85a3708]faac: frame decoding failed: Unexpected channel configuration change
The resulting video is fine, but without any audio. Below is the command I used,
# ffmpeg -i test.mp4 -ar 22050 -ab 32 -f flv -s 320x240 -b 200k -r 20 ~/test.flv ^^^^^^
You meant here -ab 32k (see the tip at the bottom).
Also, when I try to pass '-acodec mp3' it halts with
Unknown encoder 'mp3'
It is what it says, it doesn't have an encoder named "mp3".
I tried compiling with '--enable-encoder=mp3', but it still gives me the same error.
Any ideas ? Any help will be greatly appreciated.
Since there is no native MP3 encoder, you might want to compile with --enable-libmp3lame then use -acodec libmp3lame. Cheers. -- ffmpeg-user random tip #1 the -b (bitrate) and -ab (audio bitrate) ffmpeg options take as argument a bitrate expressed in bits per second, and not in Kbits per second as in previous versions. Change your command lines accordingly.
On 8/23/07, Stefano Sabatini <stefano.sabatini-lala at poste.it> wrote:
On date Thursday 2007-08-23 11:52:19 +0530, Arun G Nair encoded:
Hi,
I have installed the latest ffmpeg snapshot ( ffmpeg-export-2007-08-22 ).
test:~# ffmpeg FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-zlib --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libxvid --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-pthreads --disable-debug libavutil version: 49.5.0 libavcodec version: 51.41.0 libavformat version: 51.12.2 built on Aug 23 2007 11:12:31, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Some libs where installed using binary packages (apt-get) and some (amrnb, amrwb, faac, faad2) were compiled in.
Now when I try to convert an mp4 file to flv, I get
Error while decoding stream #0.1 [mpeg4aac @ 0x85a3708]faac: frame decoding failed: Unexpected channel configuration change
The resulting video is fine, but without any audio. Below is the command I used,
# ffmpeg -i test.mp4 -ar 22050 -ab 32 -f flv -s 320x240 -b 200k -r 20 ~/test.flv ^^^^^^
You meant here -ab 32k (see the tip at the bottom).
Also, when I try to pass '-acodec mp3' it halts with
Unknown encoder 'mp3'
It is what it says, it doesn't have an encoder named "mp3".
I tried compiling with '--enable-encoder=mp3', but it still gives me the same error.
Any ideas ? Any help will be greatly appreciated.
Since there is no native MP3 encoder, you might want to compile with --enable-libmp3lame then use -acodec libmp3lame.
As you can see, I already have libmp3lame compiled in. And passing -acodec libmp3lame gives me the same 'unexpected channel config...' error. -Arun
On date Friday 2007-08-24 11:31:43 +0530, Arun G Nair encoded:
On 8/23/07, Stefano Sabatini <stefano.sabatini-lala at poste.it> wrote:
On date Thursday 2007-08-23 11:52:19 +0530, Arun G Nair encoded:
Hi,
I have installed the latest ffmpeg snapshot ( ffmpeg-export-2007-08-22 ).
test:~# ffmpeg FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-zlib --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libxvid --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-pthreads --disable-debug libavutil version: 49.5.0 libavcodec version: 51.41.0 libavformat version: 51.12.2 built on Aug 23 2007 11:12:31, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Some libs where installed using binary packages (apt-get) and some (amrnb, amrwb, faac, faad2) were compiled in.
Now when I try to convert an mp4 file to flv, I get
Error while decoding stream #0.1 [mpeg4aac @ 0x85a3708]faac: frame decoding failed: Unexpected channel configuration change
The resulting video is fine, but without any audio. Below is the command I used,
# ffmpeg -i test.mp4 -ar 22050 -ab 32 -f flv -s 320x240 -b 200k -r 20 ~/test.flv ^^^^^^
You meant here -ab 32k (see the tip at the bottom).
Also, when I try to pass '-acodec mp3' it halts with
Unknown encoder 'mp3'
It is what it says, it doesn't have an encoder named "mp3".
I tried compiling with '--enable-encoder=mp3', but it still gives me the same error.
Any ideas ? Any help will be greatly appreciated.
Since there is no native MP3 encoder, you might want to compile with --enable-libmp3lame then use -acodec libmp3lame.
As you can see, I already have libmp3lame compiled in. And passing -acodec libmp3lame gives me the same 'unexpected channel config...' error.
So it's a decoding problem. Did you try to play it with ffplay/mplayer/other players? If it's not a problem of the file then it's time to file a bugreport: http://ffmpeg.mplayerhq.hu/bugreports.html Have a good time solving the puzzle ;-), and thanks for reporting. Cheers. -- ffmpeg-user random tip #2 The -y option will force the overwrite of the output, without to prompt you for your confirmation. Example: ffmpeg -i movie.avi -y movie.mp4
On 8/24/07, Stefano Sabatini <stefano.sabatini-lala at poste.it> wrote:
On date Friday 2007-08-24 11:31:43 +0530, Arun G Nair encoded:
On 8/23/07, Stefano Sabatini <stefano.sabatini-lala at poste.it> wrote:
On date Thursday 2007-08-23 11:52:19 +0530, Arun G Nair encoded:
Hi,
I have installed the latest ffmpeg snapshot ( ffmpeg-export-2007-08-22 ).
test:~# ffmpeg FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-zlib --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libxvid --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-pthreads --disable-debug libavutil version: 49.5.0 libavcodec version: 51.41.0 libavformat version: 51.12.2 built on Aug 23 2007 11:12:31, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Some libs where installed using binary packages (apt-get) and some (amrnb, amrwb, faac, faad2) were compiled in.
Now when I try to convert an mp4 file to flv, I get
Error while decoding stream #0.1 [mpeg4aac @ 0x85a3708]faac: frame decoding failed: Unexpected channel configuration change
The resulting video is fine, but without any audio. Below is the command I used,
# ffmpeg -i test.mp4 -ar 22050 -ab 32 -f flv -s 320x240 -b 200k -r 20 ~/test.flv ^^^^^^
You meant here -ab 32k (see the tip at the bottom).
Also, when I try to pass '-acodec mp3' it halts with
Unknown encoder 'mp3'
It is what it says, it doesn't have an encoder named "mp3".
I tried compiling with '--enable-encoder=mp3', but it still gives me the same error.
Any ideas ? Any help will be greatly appreciated.
Since there is no native MP3 encoder, you might want to compile with --enable-libmp3lame then use -acodec libmp3lame.
As you can see, I already have libmp3lame compiled in. And passing -acodec libmp3lame gives me the same 'unexpected channel config...' error.
So it's a decoding problem. Did you try to play it with ffplay/mplayer/other players?
I tried it with vlc, and there's no sound. Didn't try any other players though. Will try it and get back to you.
If it's not a problem of the file then it's time to file a bugreport: http://ffmpeg.mplayerhq.hu/bugreports.html
Have a good time solving the puzzle ;-), and thanks for reporting.
No problem. :) -Arun
participants (2)
-
arungnair@gmail.com -
stefano.sabatini-lala@poste.it