Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Convert .OGG to .MPEG or .SWF

From: Stefano Sabatini <stefano.sabatini-lala(at)poste.it>
Date: Wed Nov 14 2007 - 04:51:17 EST


On date Tuesday 2007-11-13 15:32:19 -0600, Alejandro Aguila Sáinz wrote:
> That worked for .mpg :) but any idea to convert to .avi or .swf? Thanks!
[...]

Please don't top post.

First you have to understand that Mpeg really means many different things, it may refer both to some standard that defines many multimedia *containers formats* (Mpeg-1, Mpeg-2:PS, Mpeg-2:TS, Mpeg-4:14) or many *media stream formats* (Mpeg-1:video, Mpeg-2:video, Mpeg-4:2, Mpeg-4:10 aka AVC aka H264).

Avi is a *container*, so you can put into it many different media streams, but not necessarily all (in this rgards the Ogg file format is far more restrictive).

ffmpeg is clever enough to figure out which multimedia formats to use when you only specify the extension of the output file (e.g. .avi -> use as container avi+mpeg1:video+MP2, .mpg-> use as container Mpeg 1+mpeg1:video + MP2) but you can specify the codec to use and the corresponding format to issue using the -acodec and -vcodec options (have a look at ffmpeg -formats).

Example:  

ffmpeg -i <input> -vcodec mpeg4 -acodec libmp3lame output.avi

For other examples (for example to get a FLV/SWF file) look at the FFmpeg documentation FAQ.

Do you need help?X

HTH, regards.

-- 
Stefano Sabatini
Linux user number 337176 (see 
http://counter.li.org)


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Nov 14 04:51:55 2007

This archive was generated by hypermail 2.1.8 : Mon Feb 25 2008 - 15:41:24 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library