Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating streamable mp4 files



I've been doing exactly what you're describing with very good results.
Assuming you have a good aac file and good source video files, here are
the commands for ffmpeg, and mp4 creator.

#This part takes an avi file and puts it in mpeg4 codec (note avi
extension--can't be mp4)  

ffmpeg -i somefile.avi -vcodec mpeg4 -f avi -an -b 500 -deinterlace -hq
-s 352x240 dump.avi

#This part takes the avi file to the mp4 container
mp4creator -c dump.avi -hint output.mp4

#This part adds the sound track
mp4creator -c dump.aac -hint -interleave output.mp4

The resulting files stream very nicely.

Cheers,
Jim Elmborg


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.