Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: FFMPEG Tutorial
View Single Post
Old 02-05-2010, 08:42 AM   #6 (permalink)
michelle
Registered Member
 
Join Date: Apr 2009
Location: michigan
Posts: 197
michelle is on a distinguished road
Default

No ,

You still have a lot of work and I am not sure how you are going to do it, I do have some ideas. But

If you are going to use ffmpeg

You still need to build the libraries.

You still need libavcodec and llibavformat(if you are doing audio).

Where it differs from playing video is that you have to get your jpegs into somekind of stream.

The way they do this outside the iphone is using something like mencoder or mp4creator not usually ffmpeg.

FFmpeg does have some merging capability though.

So assume you can get your images into somekind of stream, if your merging video with images for instance, you are going to have to find the index of the frames in the video where you want to do the insert (probably on an iB frame) than run through an encoding loop , most likely on a seperate thread, than continue adding the original video were you left off.
Final result will be a new stream with the video.

if this is h264 for you can feed it back to the iphone movieplayer you probably are going to need libx264, this is not convered under the lgpl license so you are like going to have to alter any build script you use.
If you are going to include audio, you are going to have to interleave that with the video. You most likely need libaac for that. Lame won't give you output playable on the iphone.

Sounds like a fun project , good luck.

Remember any mods that you do to ffmpeg have to be published, and to comply with the lgpl license you have to publish all your natual objects. refer to the ffmpeg lgl page for guidelines.
michelle is offline   Reply With Quote
 

» Advertisements
» Online Users: 531
11 members and 520 guests
Domele, Hassasin, headkaze, ilmman, jbro, jeiry, linetteqi95, nebulabox, Newbie123, sangsom, smithms
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,446
Threads: 94,031
Posts: 402,604
Top Poster: BrianSlick (7,978)
Welcome to our newest member, larueta13
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:14 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.