[MPlayer-users] Sample command line? (iPod/iTunes)
Allen Fowler
allen.fowler at yahoo.com
Tue Mar 25 15:36:14 CET 2008
> > I've been fussing with MEncoder trying to convert a WMV file to iPod
> compatible MP4+ACC (mono).
> >
> > Can someone help me figure out the correct method?
>
>
> So, what was your command again?
>
> For me it should be (I don't have iPod/iTunes but I've done some script
> to convert to GSM MP4 file and I've done manual conversion to PS3
> playable MP4):
>
> mkfifo /tmp/audio.fifo
>
> mplayer "/path/to/file/file.wmv" -really-quiet -a52drc 0 -noskip -vo
> null -ao pcm:waveheader:file=/tmp/audio.fifo &
>
> faac -q 75 -w -o /tmp/audio.m4a /tmp/audio.fifo
>
> rm -f /tmp/audio.fifo
>
> mkfifo /tmp/video.fifo
>
> mencoder -really-quiet "/path/to/file/file.wmv" -o /tmp/video.fifo -of
> rawvideo -demuxer lavf, -nosound -noskip -sws 10 -vf-add
> scale=640:-3,expand=:480,format=i420,harddup -ovc raw &
>
> x264 --keyint 25 --crf 24 --qcomp 0.8 --deblock -1:-1 --trellis 2
> --no-fast-pskip --no-dct-decimate --sar 1:1 --level 31 --progress -o
> /tmp/video.mp4 /tmp/video.fifo
>
> MP4Box -new "/path/to/your/new/file.mp4" -keepsys -mp4 -add
> /tmp/video.mp4 -add /tmp/audio.m4a
>
> rm -f /tmp/video.fifo
> rm -f /tmp/audio.m4a
> rm -f /tmp/video.m4a
>
>
> If you can't use MP4Box and named fifo then:
>
> mencoder "/path/to/file/file.wmv" -o /path/to/your/new/file.mp4" -a52drc
> 0 -noskip -demuxer lavf, -sws 10 -vf-add
> scale=640:-3,expand=:480,harddup -of lavf -lavfopts format=mp4 -oac lavc
> -ovc lavc -lavcopts
> aglobal=1:vglobal=1:acodec=libfaac:abitrate=112:vcodec=libx264:vqscale=24:keyint=25:mbd=1:vqcomp=0.8:vstrict=1:lumi_mask=0.3:dark_mask=0.3:tcplx_mask=0.3:border_mask=0.3:trell:level=31
>
Thank you... I'll give this a try later today, and report back.
I should also mention that I'm doing this on a Windows XP machine, so I guess fifo's are not going to work.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
More information about the MPlayer-users
mailing list