[Ffmpeg-devel] ffmpeg - wmv3

Benjamin Larsson banan
Sun Aug 13 21:29:45 CEST 2006


Guillaume Grout wrote:

>>On Wed, Aug 02, 2006 at 06:23:20PM +0200, Diego Biurrun wrote:
>>    
>>
>>>Mike is enabling the WMV3 decoder for xine and reports that it is
>>>working great for his private samples collection.  So even though some
>>>of the samples in the official samples collection still cause problems
>>>it may be time enable WMV3 decoding within FFmpeg.
>>>
>>>I vote for enabling.  Kostya, what do you think?
>>>
>>>Diego
>>>
>>>      
>>>
>>OK, I'll enable it in a minute.
>>
>>@All: thanks for samples, I'll use them to fix remaining bugs.
>>    
>>
>
>
>Thank you for information,
>
>I tested last version of ffmeg with news about wmv3 format.
>I succeeded in reading wmv3 and converting it to avi format with the following vcodec : 
>    msmpeg4, mpeg4, mjpeg
>
>But I can't convert my wmv3 samples to 3gp format (h263 and h263p vodec).
>
>
>That is my ffmpeg error :
>
>./ffmpeg -i parodievirenque.wmv -acodec amr_nb -ar 8000 -ab 12 -vcodec h263 -s 176x144 -r 12 -b 30 -f 3gp parodiev.3gp
>FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
>  configuration:  --enable-memalign-hack --enable-amr_nb --enable-amr_nb-fixed
>  libavutil version: 49.0.0
>  libavcodec version: 51.11.0
>  libavformat version: 50.5.0
>  built on Aug  9 2006 13:52:08, gcc: 3.3.5 (Debian 1:3.3.5-13)
>[wmv3 @ 0x8436678]Header: 4FF90A01
>
>Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 30.00 (30/1)
>Input #0, asf, from 'parodievirenque.wmv':
>  Duration: 00:00:43.1, start: 3.000000, bitrate: 366 kb/s
>  Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 88 kb/s
>  Stream #0.1: Video: wmv3, yuv420p, 320x240, 30.00 fps(r)
>Output #0, 3gp, to 'parodiev.3gp':
>  Stream #0.0: Video: h263, yuv420p, 176x144, q=2-31, 30 kb/s, 12.00 fps(c)
>  Stream #0.1: Audio: amr_nb, 8000 Hz, stereo, 12 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
>
>
>Is it possible ? What is the problem and when it will be resolved ?  
>  
>
Ok, lets look, "Error while opening codec for output stream #0.1". Then
it looks like the parameters to the amr_nb codec is wrong, and yes they
are you can't have stereo in amr. So you need to add the -ac 1 parameter
to make it mono.

>
>
>Regards,
>
>Guillaume
>
MvH
Benjamin Larsson

-- 
new tiny signature





More information about the ffmpeg-devel mailing list