[MPlayer-users] Sample command line? (iPod/iTunes)

Allen Fowler allen.fowler at yahoo.com
Thu Apr 10 06:49:16 CEST 2008


> > 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.

OK, I've tried this above command, as well as variations on the theme.  I can get a file out, but it it way too big and has some AV sync issues. (The original file is ~20MB and plays just fine.)

The source WMV is reported by Windows Media Player as:

Audio: Windows Media Audio 9.1 20 kbps, 22 kHz, mono (A/V) 1-pass CBR
Video: Windows Media Video V7
Total Bitrate: 64 Kbps  

So, my two questions are:

1) What is the correct version of MEncoder to use? (Currently using MEncoder 1.0rc2-4.2.1 from the download page.)

2) Given the above WMV file, what would be the correct command line to produce an iPod friendly x264/acc movie of about the same file size?  

Thank you,

PS. When encoding, I do see a lot of errors like:

Pos:   1.8s     21f ( 0%)  0.00fps Trem:   1min   9mb  A-V:0.167 [97:25]]
Skipping frame!
Pos:   2.9s     36f ( 0%)  0.00fps Trem:   2min  14mb  A-V:0.171 [94:23]]
Skipping frame!
Pos:   6.5s     80f ( 0%)  0.00fps Trem:   3min  24mb  A-V:0.169 [106:24]
Skipping frame!
Pos: 293.8s   3528f (10%) 107.55fps Trem:   4min  47mb  A-V:-0.168 [122:23]
1 duplicate frame(s)!
Pos: 307.7s   3694f (11%) 107.46fps Trem:   4min  47mb  A-V:-0.171 [122:23]
1 duplicate frame(s)!
Pos: 402.8s   4834f (14%) 107.14fps Trem:   4min  48mb  A-V:-0.172 [122:23]
1 duplicate frame(s)!
Pos: 483.9s   5807f (17%) 106.92fps Trem:   4min  48mb  A-V:-0.168 [124:23]
1 duplicate frame(s)!
Pos: 513.6s   6162f (18%) 106.38fps Trem:   4min  48mb  A-V:-0.168 [124:23]
1 duplicate frame(s)!
Pos: 516.4s   6195f (18%) 106.36fps Trem:   4min  49mb  A-V:-0.169 [124:23]
1 duplicate frame(s)!

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the MPlayer-users mailing list