Hi 0X162 is wma pro which is not supported currently by FFmpeg!
you should let FFmpeg to detect the codec properties, you can not specify codec information by " ffmpeg -vcodec wmv3 -acodec wmav2 -ar 48000...." > Subject: [ffserver-user] Still fighting with 0x0162 audio to flv and > possible libmp3lame problem > To: ffserver-user@mplayerhq.hu > Cc: Eric Johnston <e...@pmcc.com> > Message-ID: <4a7379a3.2000...@pmcc.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I'm trying to find the right combination of codecs and syntax to convert > WMV files with 48000 audio to FLV using command line ffmpeg in a Ubuntu > environment. > > I have read lots of posts regarding problems with the libmp3lame codec > with audio greater than 44100. So the question is what is the best > practice for an intermediate file? Can any one provide an example that > works? > OR > Can anyone comment on whether or not it would work to use one codec to > decode and another to encode, such as I attempted to do here: > > My test file is Robotica_720.wmv from > http://download.microsoft.com/download/4/1/b/41b10a4f-f4f4-4692-aa44-a458d0047e91/Robotica_720.exe > > The container and general info for this file is as follows: > Windows Media: 15.5 MiB, 20s 778ms > 1 video stream: VC-1 (WMV3) > 1 audio stream: WMV3 > First video stream: en-us, 6 500 Kbps, 1280*720 (16/9), at 23.976 fps, > VC-1 (WMV3) (m...@hl) > First audio stream: en-us, 384 Kbps, 48.0 KHz, 6 channels, WMA3 (M1) > > # ffmpeg -vcodec wmv3 -acodec wmav2 -ar 48000 -i > '/home/eric/FFmpegTests/Robotica_720.wmv' -vcodec flv -acodec libmp3lame > -ar 44100 -ac 2 -ab 384000 > '/home/eric/FFmpegTests/commandlineresults/Robotica_720.wmv.flv' > FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al. > configuration: --enable-gpl --enable-pthreads --enable-libvorbis > --enable-libtheora --enable-libgsm --enable-libmp3lame --enable-libfaad > --enable-libfaac --enable-libxvid --enable-libdc1394 --disable-debug > --enable-shared --prefix=/usr > 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 > built on Jul 29 2009 17:20:39, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3) > > Seems stream 1 codec frame rate differs from container frame rate: > 1000.00 (1000/1) -> 23.98 (24000/1001) > Input #0, asf, from '/home/eric/FFmpegTests/Robotica_720.wmv': > Duration: 00:00:17.65, start: 3.000000, bitrate: 7354 kb/s > Stream #0.0: Audio: wmav2, 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, flv, to > '/home/eric/FFmpegTests/commandlineresults/Robotica_720.wmv.flv': > Stream #0.0: Video: flv, yuv420p, 1280x720, q=2-31, 200 kb/s, 90k > tbn, 23.98 tbc > Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 384 kb/s > Stream mapping: > Stream #0.1 -> #0.0 > Stream #0.0 -> #0.1 > Error while opening codec for output stream #0.1 - maybe incorrect > parameters such as bit_rate, rate, width or height > > Any direction, suggested direction would be much appreciated. > Thank you. -- ----------------------------------------------------------------------------------------- My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 Inspired by http://www.nextplayer.net. Your potential. Our passion. _______________________________________________ ffserver-user mailing list ffserver-user@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user