Re: Convert .OGG to .MPEG or .SWF



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.

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Converting 3gp to avi
    ... Winff is a frontend for FFMPEG. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... I use aac codec to convert from avi to 3gp. ...
    (Debian-User)
  • Re: Free SWF to AVI converter for Sarge
    ... Take a look at ffmpeg. ... I regularly use it to convert clips to a format ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Free SWF to AVI converter for Sarge
    ... > Is there any Free SWF to AVI converter for Debian Sarge Linux? ... It seems ffmpeg does not support the SWF format. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Converting 3gp to avi
    ... Does anyone know if there is a tool to convert 3gp format to avi? ... Canonical answer: ffmpeg. ... Or mencoder, but I prefer ffmpeg because its ...
    (Debian-User)
  • Converting 3gp to avi
    ... Does anyone know if there is a tool to convert 3gp format to avi? ... I haven't been able to find any particular working solution. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)