Log in

View Full Version : linux command line tools to mux/demux avi


x4u
11th December 2005, 15:38
Hello,

I'm looking for linux command line tools to mux/demux avi files on a headless linux installation. I was searching the net and FAQs but had no luck so far. Do you have any idea wher to find something?

mic64
11th December 2005, 18:43
Hi

avidemux has a nice gui, but can also be used a cli.
http://fixounet.free.fr/avidemux/

mic64

KpeX
12th December 2005, 04:28
Demux: MP4Box -aviraw audio foo.avi
MP4Box -aviraw video foo.avi
mplayer -dumpaudio -dumpfile out.raw foo.avi
mplayer -dumpvideo -dumpfile out.raw foo.avi

Muxing: don't have any command lines for this off the top of my head, but take a look at ffmpeg, mencoder w/ -oac/-ovc copy, and avimerge (from transcode).

x4u
13th December 2005, 03:30
Thank you for your help. The demuxing works fine with MP4Box. Unfortunatly I don't get mplayer or avidemux compiled or installed from binaries as my system lacks a dozen of the required libraries.