LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2010, 09:26 AM   #1
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Rep: Reputation: 16
Question ffmpeg encoding wmv3 audio+video to flv


Hi,

I'm trying to encode a wmv file to flv with ffmpeg. The video codec is WMV3 and the audio codec is wmap (Windows Media Audio Professional).

The command I use is:
Code:
/usr/bin/ffmpeg -i <input file>.wmv -s 640x350 -b 1024k -r 25 -ar 44100 -ac 2 -y <output file>.flv
Output:

Code:
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Apr 10 2009 23:20:33, gcc: 4.3.3
[wmv3 @ 0xb32c00]Extra data: 8 bits left, value: 0

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001)
Input #0, asf, from '<input file>.wmv':
  Duration: 00:02:31.02, start: 3.000000, bitrate: 9600 kb/s
    Stream #0.0: Video: wmv3, yuv420p, 1920x1080, 9000 kb/s, 29.97 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: 0x0162, 48000 Hz, 5.1, s16, 384 kb/s
Output #0, flv, to 'test.flv':
    Stream #0.0: Video: flv, yuv420p, 640x350, q=2-31, 1024 kb/s, 90k tbn, 25 tbc
    Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[wmv3 @ 0xb32c00]Extra data: 8 bits left, value: 0
Unsupported codec (id=86056) for input stream #0.1
As you can probably see the audio codec is not supported. Is there a way to encode WMV3+wmap with ffmpeg or any other tool in Linux?

Windows Media Encoder in Windows is able to encode such files to a supported codec. For example: WMV3+WMA2/WMV2+WMA2, I could then encode it in Linux. I'm trying to find a way to directly encode WMV3+wmap in Linux.

Thanks in advance,

FY
 
Old 02-19-2010, 09:34 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Maybe you don't have lame installed ?
 
Old 02-19-2010, 09:46 AM   #3
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Original Poster
Rep: Reputation: 16
lame is installed.

Code:
# ldd /usr/bin/ffmpeg
        linux-vdso.so.1 =>  (0x00007fff4dbff000)
        libavfilter.so.0 => /usr/lib/libavfilter.so.0 (0x00007fb663193000)
        libpostproc.so.51 => /usr/lib/libpostproc.so.51 (0x00007fb662f83000)
        libswscale.so.0 => /usr/lib/libswscale.so.0 (0x00007fb662d57000)
        libavdevice.so.52 => /usr/lib/libavdevice.so.52 (0x00007fb662b4d000)
        libavformat.so.52 => /usr/lib/libavformat.so.52 (0x00007fb662855000)
        libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0x00007fb661e99000)
        libavutil.so.49 => /usr/lib/libavutil.so.49 (0x00007fb661c8a000)
        libm.so.6 => /lib/libm.so.6 (0x00007fb661a05000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fb6617e9000)
        libc.so.6 => /lib/libc.so.6 (0x00007fb661477000)
        libdc1394.so.22 => /usr/lib/libdc1394.so.22 (0x00007fb661209000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fb660f29000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fb660c22000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fb660a10000)
        libz.so.1 => /lib/libz.so.1 (0x00007fb6607f8000)
        libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00007fb6605e6000)
        libfaad.so.0 => /usr/lib/libfaad.so.0 (0x00007fb6603a6000)
        libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007fb660199000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007fb65ff20000)
        libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00007fb65fcac000)
        libspeex.so.1 => /usr/lib/libspeex.so.1 (0x00007fb65fa92000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0x00007fb65f845000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007fb65f46b000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007fb65f23e000)
        libx264.so.65 => /usr/lib/libx264.so.65 (0x00007fb65efac000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007fb65ecbb000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb663398000)
        libraw1394.so.8 => /usr/lib/libraw1394.so.8 (0x00007fb65eab4000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fb65e8b0000)
        librt.so.1 => /lib/librt.so.1 (0x00007fb65e6a8000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fb65e48c000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fb65e289000)
        liboil-0.3.so.0 => /usr/lib/liboil-0.3.so.0 (0x00007fb65dffa000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007fb65ddf4000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fb65dbef000)
Code:
# ls -la /usr/lib/libmp3lame.so.0
lrwxrwxrwx 1 root root 19 2010-02-18 18:23 /usr/lib/libmp3lame.so.0 -> libmp3lame.so.0.0.0
WMAP is probably a closed source codec. I wonder if there are any binaries for Linux. For example: Real Media has binary codecs available for .rm video.

Last edited by fylnq; 02-19-2010 at 09:50 AM.
 
Old 02-19-2010, 12:39 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
In that case you may be able to do it with mencoder.
 
Old 02-20-2010, 08:46 AM   #5
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Original Poster
Rep: Reputation: 16
Tried mencoder, it doesn't encode the audio.
 
Old 02-20-2010, 08:51 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
That's quite odd, is this video or a similar video available online somewhere so I can try converting it ? Does mplayer play this video, or other video player in Linux ?
 
Old 02-21-2010, 09:50 AM   #7
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Original Poster
Rep: Reputation: 16
Haven't tried to play it with mplayer, did try VLC. VLC only shows video, audio isn't available. There are samples available at http://www.microsoft.com/windows/win...tshowcase.aspx which use the wmap codec.

Code:
http://download.microsoft.com/download/4/1/b/41b10a4f-f4f4-4692-aa44-a458d0047e91/Robotica_720.exe

Last edited by fylnq; 02-21-2010 at 09:55 AM.
 
Old 02-21-2010, 11:40 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Ok, here's how to do it:

Code:
mplayer Robotica_720.wmv -novideo -ao pcm:file=output.wav
sox -r 48000 -f --bits 32 -c 6 output.wav -r 44100 -s --bits 16 -c 2 fixed.wav
lame -V2 fixed.wav output.mp3
ffmpeg -i Robotica_720.wmv -vcodec flv -b 260k -s 400x226 -r 29.917 -aspect 16:9 -g 300 -an noaudio.flv
ffmpeg -i noaudio.flv -i output.mp3 output.flv
Whew, now that was difficult, but there you go, it works.
 
1 members found this post helpful.
Old 02-21-2010, 04:37 PM   #9
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Original Poster
Rep: Reputation: 16
Thanks! I'll try that out tomorrow.
 
Old 02-22-2010, 04:44 AM   #10
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Original Poster
Rep: Reputation: 16
I get the following error when I try to convert with mplayer.

Code:
# mplayer <input file>.wmv -novideo -ao pcm:file=output.wav
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Xeon(R) CPU           E3110  @ 3.00GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing <input file>.wmv.
ASF file format detected.
[asfheader] Video stream found, -vid 1
[asfheader] Audio stream found, -aid 2
==========================================================================
Forced audio codec: mad
Requested audio codec family [wma9dmo] (afm=dmo) not available.
Enable it at compilation.
Requested audio codec family [wmadmo] (afm=dmo) not available.
Enable it at compilation.
Cannot find codec for audio format 0x162.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video


Exiting... (End of file)
The following codecs are available at /usr/lib/win32 .

Code:
acelpdec.ax
alf2cd.acm
aslcodec_dshow.dll
AvidQTAVUICodec.qtx
BeHereiVideo.qtx
CLRVIDDC.DLL
clrviddd.dll
cook.so
CtWbJpg.DLL
DECVW_32.DLL
drvc.so
dspr.so.6.0
iac25_32.ax
icmw_32.dll
ir41_32.dll
ir50_32.dll
ivvideo.dll
jp2avi.dll
LCMW2.dll
LCODCCMW2E.dll
lhacm.acm
lsvxdec.dll
m3jp2k32.dll
mi-sc4.acm
msh261.drv
msms001.vwp
msscds32.ax
nsrt2432.acm
qpeg32.dll
qtmlClient.dll
QuickTimeEssentials.qtx
QuickTimeInternetExtras.qtx
QuickTime.qts
README
rt32dcmp.dll
sipr.so
sipr.so.6.0
tokf.so.6.0
tokr.so.6.0
tvqdec.dll
VDODEC32.dll
vdowave.drv
vid_3ivX.xa
ViVD2.dll
vivog723.acm
voxmsdec.ax
vp4vfw.dll
vp6vfw.dll
vp7vfw.dll
vssh264core.dll
vssh264dec.dll
vssh264.dll
vsshdsd.dll
vsslight.dll
vsswlt.dll
wma9dmod.dll
wmadmod.dll
wmsdmod.dll
wmspdmod.dll
wmv9dmod.dll
wmvadvd.dll
wmvdmod.dll
wnvwinx.dll
wvc1dmod.dll
xanlib.dll
 
Old 02-22-2010, 05:01 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Hmm, looks like an old version of mplayer, and possibly the codecs can't be found or can't be used.

Well, here's another variant of the command that doesn't use mplayer:

Code:
ffmpeg -i Robotica_720.wmv -vn -acodec pcm_s16le out.wav
sox -r 48000 -c 6 out.wav -r 44100 -c 2 fixed.wav
lame -V2 fixed.wav output.mp3
ffmpeg -i Robotica_720.wmv -vcodec flv -b 260k -s 400x226 -r 29.917 -aspect 16:9 -g 300 -an noaudio.flv
ffmpeg -i noaudio.flv -i output.mp3 output.flv
Try that.
 
Old 02-22-2010, 06:17 AM   #12
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Original Poster
Rep: Reputation: 16
That won't work either. What are the configure options of your ffmpeg binary? Mine are:

Code:
 configuration: --enable-gpl --enable-postproc --enable-swscale 
--enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf 
--enable-libgsm --enable-libschroedinger 
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook 
--enable-libdc1394 --enable-shared --disable-static
And what do you get when you type:

Code:
ldd /usr/bin/ffmpeg
 
Old 02-22-2010, 06:43 AM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Code:
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libschroedinger --enable-libspeex --enable-hardcoded-tables --enable-memalign-hack --enable-pic --arch=x86_64
Code:
bash-3.1$ ldd /usr/bin/ffmpeg
	linux-vdso.so.1 =>  (0x00007fff36bff000)
	libavfilter.so.1 => /usr/lib64/libavfilter.so.1 (0x00007f3f934e7000)
	libpostproc.so.51 => /usr/lib64/libpostproc.so.51 (0x00007f3f932d8000)
	libavdevice.so.52 => /usr/lib64/libavdevice.so.52 (0x00007f3f930cf000)
	libavformat.so.52 => /usr/lib64/libavformat.so.52 (0x00007f3f92e13000)
	libavcodec.so.52 => /usr/lib64/libavcodec.so.52 (0x00007f3f921c0000)
	libavutil.so.50 => /usr/lib64/libavutil.so.50 (0x00007f3f91faf000)
	libswscale.so.0 => /usr/lib64/libswscale.so.0 (0x00007f3f91d7c000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f3f91af7000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3f918db000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f3f9156b000)
	libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f3f9128a000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f3f90f51000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f3f90d3f000)
	libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f3f90b3a000)
	libz.so.1 => /usr/lib64/libz.so.1 (0x00007f3f90926000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f3f90716000)
	libfaac.so.0 => /usr/lib64/libfaac.so.0 (0x00007f3f90505000)
	libfaad.so.2 => /usr/lib64/libfaad.so.2 (0x00007f3f902c4000)
	libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0 (0x00007f3f9004f000)
	libschroedinger-1.0.so.0 => /usr/lib64/libschroedinger-1.0.so.0 (0x00007f3f8fdcb000)
	libspeex.so.1 => /usr/lib64/libspeex.so.1 (0x00007f3f8fbb3000)
	libtheoraenc.so.1 => /usr/lib64/libtheoraenc.so.1 (0x00007f3f8f97e000)
	libtheoradec.so.1 => /usr/lib64/libtheoradec.so.1 (0x00007f3f8f765000)
	libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007f3f8f38a000)
	libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007f3f8f156000)
	libx264.so.83 => /usr/lib64/libx264.so.83 (0x00007f3f8eec2000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f3f936f0000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f3f8ecbe000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f3f8eab6000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f3f8e89b000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f3f8e699000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f3f8e494000)
	liboil-0.3.so.0 => /usr/lib64/liboil-0.3.so.0 (0x00007f3f8e205000)
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f3f8defe000)
	libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f3f8dce7000)
	libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007f3f8dae2000)
 
Old 02-22-2010, 08:29 AM   #14
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Original Poster
Rep: Reputation: 16
I've rebuilt ffmpeg from source (ffmpeg 0.5) with those configuration options. It still won't detect the audio codec for some reason.

Code:
# ffmpeg -i <input file>.wmv
Code:
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libschroedinger --enable-libspeex --enable-hardcoded-tables --enable-memalign-hack --arch=x86_64 --enable-libgsm --disable-stripping --enable-swscale --enable-libdc1394
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Feb 22 2010 14:28:50, gcc: 4.3.3

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 23.98 (24000/1001)
Input #0, asf, from '<input file>.wmv':
  Duration: 00:00:17.65, start: 3.000000, bitrate: 7354 kb/s
    Stream #0.0: Audio: 0x0162, 48000 Hz, 5.1, s16, 384 kb/s
    Stream #0.1: Video: wmv3, yuv420p, 1280x720, 6500 kb/s, 23.98 tbr, 1k tbn, 1k tbc
At least one output file must be specified
As you can see the audio codec is shown as 0x0162.

Code:
# ffmpeg -i <input file>.wmv -vn -acodec pcm_s16le out.wav
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libschroedinger --enable-libspeex --enable-hardcoded-tables --enable-memalign-hack --arch=x86_64 --enable-libgsm --disable-stripping --enable-swscale --enable-libdc1394
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Feb 22 2010 14:28:50, gcc: 4.3.3

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 23.98 (24000/1001)
Input #0, asf, from '<input file>.wmv':
  Duration: 00:00:17.65, start: 3.000000, bitrate: 7354 kb/s
    Stream #0.0: Audio: 0x0162, 48000 Hz, 5.1, s16, 384 kb/s
    Stream #0.1: Video: wmv3, yuv420p, 1280x720, 6500 kb/s, 23.98 tbr, 1k tbn, 1k tbc
Output #0, wav, to 'out.wav':
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 5.1, s16, 4608 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Unsupported codec (id=86056) for input stream #0.0
Code:
 linux-vdso.so.1 =>  (0x00007fffe5712000)
        libavfilter.so.0 => /usr/lib/libavfilter.so.0 (0x00007fe66a6bc000)
        libpostproc.so.51 => /usr/lib/libpostproc.so.51 (0x00007fe66a4ac000)
        libswscale.so.0 => /usr/lib/libswscale.so.0 (0x00007fe66a280000)
        libavdevice.so.52 => /usr/lib/libavdevice.so.52 (0x00007fe66a076000)
        libavformat.so.52 => /usr/lib/libavformat.so.52 (0x00007fe669d7e000)
        libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0x00007fe6693c5000)
        libavutil.so.49 => /usr/lib/libavutil.so.49 (0x00007fe6691b6000)
        libm.so.6 => /lib/libm.so.6 (0x00007fe668f31000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe668d15000)
        libc.so.6 => /lib/libc.so.6 (0x00007fe6689a3000)
        libdc1394_control.so.13 => /usr/lib/libdc1394_control.so.13 (0x00007fe668793000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fe6684b3000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fe6681ac000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fe667f9a000)
        libz.so.1 => /lib/libz.so.1 (0x00007fe667d82000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fe667b7e000)
        libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00007fe66796c000)
        libfaad.so.0 => /usr/lib/libfaad.so.0 (0x00007fe66772c000)
        libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007fe66751f000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007fe6672a6000)
        libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00007fe667032000)
        libspeex.so.1 => /usr/lib/libspeex.so.1 (0x00007fe666e18000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0x00007fe666bcb000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007fe6667f1000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007fe6665c4000)
        libx264.so.65 => /usr/lib/libx264.so.65 (0x00007fe666332000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007fe666041000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe66a8c1000)
        libraw1394.so.8 => /usr/lib/libraw1394.so.8 (0x00007fe665e3a000)
        librt.so.1 => /lib/librt.so.1 (0x00007fe665c32000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fe665a16000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fe665813000)
        liboil-0.3.so.0 => /usr/lib/liboil-0.3.so.0 (0x00007fe665584000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007fe66537e000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fe665179000)

Last edited by fylnq; 02-22-2010 at 08:31 AM.
 
Old 02-22-2010, 12:11 PM   #15
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Yeah, try rebuilding mplayer and use that, it should be able to dump the audio if it can play the audio. I use the svn mplayer, and make sure to compile it with the right '--codecsdir=' option.
 
  


Reply

Tags
ffmpeg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy-mode extract of audio from youtube flv video moob8 Linux - Desktop 18 10-05-2013 08:44 AM
ffmpeg - flv Unsupported audio codec JavaNinja Linux - Software 15 06-02-2011 02:08 AM
Linux option for encoding wmv3/VC1 (PITA) damgar Linux - Software 7 01-21-2010 08:28 AM
Converting flv to Mpg with Audio and ffmpeg btbx Linux - Software 7 06-12-2008 02:41 PM
MPlayer -- Audio-Video desynchronized in FLV files gregorian Linux - Software 2 04-25-2007 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration