public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Boyd Stephen Smith Jr." <bss03@volumehost.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ot - video encoding
Date: Sat, 24 Feb 2007 05:17:02 -0600	[thread overview]
Message-ID: <200702240517.02818.bss03@volumehost.net> (raw)
In-Reply-To: <1008458262-1172313968-cardhu_decombobulator_blackberry.rim.net-413537209-@bxe011-cell00.bisx.prodap.on.blackberry>

[-- Attachment #1: Type: text/plain, Size: 3250 bytes --]

On Saturday 24 February 2007, Kellystewart00@yahoo.com.au wrote 
about '[gentoo-user] ot - video encoding':
> Hi List im looking for a program to encode from avi to divx does anyone
> know of a program to do this?

Short answer: mencoder

Longer answer:
(1) Avi is not a format -- or at least it's not a video format.  It's 
a "wrapper" format that can hold various video formats with various audio 
formats interleaved.  AVI = Audio/Video Interleave

(2) Mplayer and Xine are the big a/v decoders, with ffmpeg being used by 
both projects (IIRC); vlc is a very useful third place, and gstreamer does 
have some "native" codecs although it can (and IIRC, still generally does) 
call out to the xine, mplayer, or ffmpeg libraries for some formats.

(3) Encoders are much more fragmented, although ffmpeg provides many 
encoders, and mplayer can use the ffmpeg encoders as well as any native 
ones it might have, plus it understands the libraries (or interfaces via 
system() calls) with some others.  Xine, vlc, and gstreamer are, AFAIK not 
oriented towards encoding.

(4) Divx is just an video format and if you intend to combine it with 
audio, you'll have to choose a format for that.  I prefer vorbis; with 
speex for those cases where is audio is literally just a voice-over.  
However, vorbis and speex decoders generally aren't shipped with 
proprietary OSes such as OS X or Windows and are playable on relatively 
few portable devices.  MP3 is fine for mono or stereo audio, but AFAIK it 
doesn't support more channels.  AC3 is IME larger for the same quality, 
but does support 5.1 and other formats with more channels.

(5) Again, divx is just a video format, so you'll need a container format 
if you want to combine it with other media, like subtitles or audio.  I 
prefer Matroska or ogg.  Neither is shipped with proprietary OSes and both 
have poor support on portables, although ogg has marginally better support 
than Matroska.  I don't believe divx is can be shipped in the standard mp4 
container, but I could be wrong.  It's normally shipped in, oddly enough 
in your case, AVI format.

So, you have a couple more high-level decisions to make before you 
transcode.  Once you decide on them, you'll still need to determine 
encoder-specific parameters, bitrates, and whotnot, although sane defaults 
are generally provided by most tools when possible.  However, the shear 
number of options may be a little bit overwhelming.  Tip: doesn't change 
any settings you don't have to the first time, you can play with all 
the "knobs" once you get base functionality.

Mencoder is probably is most featureful transcoding tool, but you may be 
able to find a GUI that the features you need and is user-friendly.  I 
don't do enough transcoding to have any recommendations other than 
mencoder, because I got familiar enough with it to do what I needed and 
stopped looking for anything else.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

           reply	other threads:[~2007-02-24 11:23 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1008458262-1172313968-cardhu_decombobulator_blackberry.rim.net-413537209-@bxe011-cell00.bisx.prodap.on.blackberry>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200702240517.02818.bss03@volumehost.net \
    --to=bss03@volumehost.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox