-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

0n 08/11/[EMAIL PROTECTED]:27 Andrew told me:
> > On Fri, Oct 31, 2008 at 12:29:03PM +0100, Maik Holtkamp wrote:

[Preserving ac3 of a bunch of vobs]

> My *input* files are *.vob's.  I would use mencoder if mencoder
> took multiple *.vob files as input. AFAICT, it doesn't (am i
> wrong?)
>
> Are you suggesting that I dump the AC3 audio for each VOB, piece
> together the AC3 segments,  and mux the resulting full ac3 into
> the avi file?
> 
> Not sure, off the top of my head, how to do this, and whether i'll
> have to watch out for a/v sync problems, but i might give it a
> try, failing an easier route.

I was thinking of (did not try it, beware of [typ|brain]os):

for i in *.vob; do
        transcode -i $i -[WhatYouLike] -y foo,null -o `basename $i .vob`.video
        mplayer -dumpaudio -dumfile `basename $i .vob`.ac3 $i
        avimerge -o $i.avi -i $i.video -p $i.ac3
        rm $i.video $i.ac3
done

avimerge -o MyCollection.avi -i *.avi

Dunno about a/v sync issues either :(.

- -- 
bye maik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJDrQ10Bn175Anq4gRAqvLAJ9COLZTOrjBgAjAS6Ne6sFp+xgU4gCeONwA
A+z85TOVU4mbI/rLy6WLoSU=
=SqDt
-----END PGP SIGNATURE-----

Reply via email to