[MEncoder-users] encoding 3gp, mp4, wmv

dtra dtra at faceyoursfears.com
Wed Aug 3 10:34:50 CEST 2005


Michel Bardiaux wrote:

> dtra wrote:
>
>> Michel Bardiaux wrote:
>>
>>> dtra wrote:
>>>
>>>> hi all
>>>>
>>>> i'm after an rpm that we can use for video encoding 3gp, mp4 (for 
>>>> mobile devices), and wmv (for web)
>>>> i tried ffmpeg, but couldn't find an rpm that supported the amr_nb 
>>>> plugin, which i need to convert from and to 3gp
>>>>
>>>> i know ffmpeg will work if i can compile from src, cos i did use that, 
>>>
>>>
>>>
>>>
>>> And the wmv's produced work for M$ WMP? What command line do you use?
>>
>>
>>
>>
>> it would have been ffmpeg -i file.mp4  -b 80 -ar 8000 -ab 12  -vcodec 
>> wmv1 -acodec mp3 out.wmv
>>
> Wont work for me:
>
> ffmpeg -i utc_1434.mpg -b 80 -ar 8000 -ab 12  -vcodec wmv1 -acodec mp3 
> out.wmv
> ffmpeg version CVS, build 3211264, Copyright (c) 2000-2004 Fabrice 
> Bellard
>   configuration:  --enable-mp3lame --disable-strip --enable-amr_nb 
> --enable-a52 --enable-gpl --enable-amr_wb --disable-shared 
> --enable-libgsm
>   built on Aug  1 2005 10:51:57, gcc: 2.95.4 20011002 (Debian prerelease)
> Input #0, mpeg, from 'utc_1434.mpg':
>   Duration: 00:00:57.0, start: 92564.370489, bitrate: 668 kb/s
>   Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288, 25.00 fps, 
> 104857 kb/s
>   Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, mono, 32 kb/s
> Output #0, asf, to 'out.wmv':
>   Stream #0.0: Video: wmv1, yuv420p, 352x288, 25.00 fps, q=2-31, 80 kb/s
>   Stream #0.1: Audio: mp3, 8000 Hz, mono, 12 kb/s
> Stream mapping:
>   Stream #0.0 -> #0.0
>   Stream #0.1 -> #0.1
> [wmv1 @ 0x83c26d0]removing common factors from framerate
> Error while opening codec for output stream #0.1 - maybe incorrect 
> parameters such as bit_rate, rate, width or height
>
> Either you actuallu used another command line, or the problem is 
> different properties for your source mp4 and my source mpg. Could you 
> retry, and post the full output? TIA.
>
hi
unfortunately i can't help you out there
i haven't got a test server with ffmpeg installed from src
that would definitely be the command line i used
my source mp4 would be like the type you get from phones
but i was able to do it with any video i had

i really am a novice, but it's your output audio stream that is having 
the problem right?

dave




More information about the MEncoder-users mailing list