On Fri, Jun 22, 2007 at 07:08:45AM +1000, Alex Samad wrote:
> On Thu, Jun 21, 2007 at 11:19:31AM +0200, Maik Holtkamp wrote:
> > Hi,
> > 
> > 0n 07/06/[EMAIL PROTECTED]:20 Alex Samad told me:
> > 
> > > > I guess your only option would be, if you want to use transcode, -x
> > > > mplayer,mplayer. But that requires mplayer.
> > > > 
> > > mplayer handles the sound, but crashes on the video :)
> > > 
> > > same problem with mencoder.
> > > 
> > > But I am guessing I could use mencoder to pull out the audio and 
> > > transcode to 
> > > manage the video, then how to put it all together ?
> > 
> > avimerge 
> > 
> > I have a canon ixus, which records a rubbish close to yours (input
> > is 15 fps mjpeg). I use this script to convert the stuff to 25fps
> > mpeg4:
> 
> Thanks very much
> 
> > 
> > ---cut ixus21mpeg4.sh---
> > #!/bin/bash
> > 
> > transcode -i $1 -x auto,null -o /tmp/video_noSound.avi -F mpeg4 \
> >           -y ffmpeg,null - export_fps 25,3 -f 15,13 -J modfps
> > 
> > mplayer $1 -ao pcm:file=/tmp/sound.wav -vc dummy -vo null
> > 
> > sox /tmp/sound.wav -r 44100 /tmp/sound_44100.wav
> > 
> > lame /tmp/sound_44100.wav /tmp/sound.mp3
> > 
> > avimerge -o ./video.avi -i /tmp/video_noSound.avi -p /tmp/sound.mp3
> > 
> > rm /tmp/video_noSound.avi /tmp/sound.wav /tmp/sound_44100.wav \
> >    /tmp/sound.mp3
> > ---cut---

Hi

I have testing out the above script and it seems to do the job, but I would 
like to 

1) produce Divx output files - right now I need the ffdshow codec's for 
windows, i no under mencoder there is the -ffourccDX50 option, how do I the 
same with transcode

2) how do I make this a 2 pass encoding, I am presuming I can setup the 
transcode line to run twice. Could I then get ride of the avimerge and merge it 
with transcode ?



Thanks

> > 
> > HTH
> > 
> > -- 
> > bye maik
> 
> 


Attachment: signature.asc
Description: Digital signature

Reply via email to