On Wed, May 09, 2007 at 03:40:21PM -0700, Phil Ehrens wrote:
> Alex Samad wrote:
> > On Wed, May 09, 2007 at 02:54:21PM +0200, Maik Holtkamp wrote:
> > > Hi,
> > > 
> > > 0n 07/05/[EMAIL PROTECTED]:37 Alex Samad told me:
> > > 
> > > > If I run the mencoder that I used above I can't see how to get the 
> > > > fixed sound
> > > > into it
> > > 
> > > man avimerge
> > 
> > thanks, so my last stupid question for this thread.
> > 
> > I can do the mencode to re encode the video - just leave off the sounds, do 
> > the 
> > stuff with sox and then avimerge them together
> 
> I wasn't paying attention, and just wanted to make sure that
> you are not intending to mux raw pcm audio into your avi's.
> The sox command I provided was just the "canonical" example.
> You should probably use mp3 output if you intend to mux the
> sox output. Muxing raw pcm would make your file huge.
> 
> BTW, the point of going through the seemingly insane steps
> of using mplayer just to get PCM, and sox afterwards is
> actually a way of leveraging all the error handling and 
> correcting resources of mplayer and sox. There are broken
> streams all over the place, and you want to avoid having
> to bang your head against them if at all possible. There
> are similar tricks for handling broken video. Video can
> be broken in more ways than audio, however.

Cool, I have attached my little script, but basically this is what it does

does a 2 pass mencoder (just copy the audio stream)
then I pull out the audio work with sox

and then use mencoder to put the audio back into the avi (or .divx)


on my reading up on this I found that divx allows for dolby digital (ac3 ?), 
could I use the wav file and change it to ac3 and then use mencoder to merge it 
back in ? I am presuming its not worth the effort because of the original 
source is only mp3 

comments ?

Alex


> 
> Phil
> 
> 

Attachment: convertToCarVideo.sh
Description: Bourne shell script

Attachment: signature.asc
Description: Digital signature

Reply via email to