[FFmpeg-devel] [PATCH] add uuid box to MP4 to make h.264 play on iPod

Augie Fackler durin42
Sun Mar 2 04:26:48 CET 2008


On Mar 1, 2008, at 6:28 AM, Mark Himsley wrote:

> Augie Fackler wrote:
>> I've been converting things for my iPhone using ffmpeg and have  
>> been  making mp4's without this UUID and iTunes has transferred  
>> them fine  and the phone's media player has played them all without  
>> a hitch.
>
> What size and codec of video have you been putting into the .MP4?
>
> If its MPEG4 part 2 (aka DIVX) then that does not need the UUID.
> If its H.264 then it *might be* that the video needs to be over a set
> size before it requires the UUID.
>
> If you could post your working command line...

I actually have a script that does the conversion  - the sizes have  
been variable, but my most recent batch were 480x268 in size. The  
command line used would have been something along the lines of this:
ffmpeg -i $input -y -threads 4 -s 480x268 -vcodec libx264 -g 300 - 
aspect 480:268 -qmin 27 -b 614400 -level 13 -loop 1 -sc_threshold 40 - 
partp4x4 1 -rc_eq blurCplx^(1-qComp) -refs 3 -qmax 51 -maxrate 716800 - 
acodec libfaac -ar 44100 -ac 2 -ab 131072 $output
(quality here not being a goal at this point, getting the process  
ironed out has been. That said, the files appear to look fine on an  
iPhone-size screen)

>
>
> -- 
> Mark
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel





More information about the ffmpeg-devel mailing list