Converting .ogg to .wmv or .mp4, .mpeg

komputes komputes at gmail.com
Wed Aug 5 04:29:34 UTC 2009


Ray Parrish wrote:
> komputes wrote:
>   
>> Ray Parrish wrote:
>>   
>>     
>>> Erich Jansen wrote:
>>>   
>>>     
>>>       
>>>> On Tue, 2009-08-04 at 13:17 -0700, Ray Parrish wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> Hello,
>>>>>
>>>>> I have several conversion programs already, but none of them will let me 
>>>>> convert to windows style video files for upload to YouTube. YouTube will 
>>>>> not take .ogg, and the .avi format I have been converting my .oggs to 
>>>>> loses detail and looks fuzzy and out of focus when used.
>>>>>
>>>>> Does anyone know what programs and plugisns I need to convert .ogg to 
>>>>> .wmv, .mp4, or. .mpeg?
>>>>>
>>>>> Thanks, Ray Parrish
>>>>>
>>>>> -- 
>>>>> The Furure of Technology
>>>>> http://www.rayslinks.com/The%20Future%20of%20Technology.html
>>>>> Ray's Links, a variety of links to usefull things, and articles by Ray.
>>>>> http://www.rayslinks.com
>>>>> Writings of "The" Schizophrenic, what it's like to be a schizo, and other
>>>>> things including my poetry.
>>>>> http://www.writingsoftheschizophrenic.com
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> sudo apt-get install avidemux
>>>>   
>>>>     
>>>>       
>>>>         
>>> I already have that, and it refuses to open .ogg files, claiming that 
>>> they cannot be opened. Any other ideas?
>>>
>>> Later, Ray Parrish
>>>
>>>   
>>>     
>>>       
>> Currently avidemux does not support ogv files. I use ffmpeg from the
>> command line. You need to make sure you have the ffmpeg package installed:
>>
>> $ sudo apt-get install ffmpeg
>>
>> Then to do the conversion:
>> $ ffmpeg -i input.ogv -b 5000k output.avi
>>
>> If you want a graphical utility to do the same I think winff should be
>> able to do it (I don't use it, I just know of it).
>>
>> Hope that helps,
>>
>> -komputes
>>   
>>     
> OK, your command there shows converting to .avi format, but is it also 
> possible to convert to .wmv or .mpg format as well with ffmpeg?
>
> Later, Ray Parrish
>
>   

Yes it converts it to mpeg already, avi is just the container (if I'm
not mistaking). ffmpeg cannot write wmv files as far as I know. If you
would like to specify the target format use the following option in your
command (taken from ffmpeg's man page):

       -target type
           Specify target file type ("vcd", "svcd", "dvd", "dv", "dv50",
"pal-vcd", "ntsc-svcd", ... ). All the format options (bitrate, codecs,
buffer sizes)
           are then set automatically. You can just type:

                   ffmpeg -i myfile.avi -target vcd /tmp/vcd.mpg


-komputes




More information about the ubuntu-users mailing list