I plan to develop an IPhone app but I am newbie to Iphone development and wonder if it can be done or not before I get my hands on it.
The will be a kind of special browser which can run any site but it will be activated on those site which plays audio/video somehow. Let’s say they open up MyVideoSite.com in my app. The website has many flash videos and can app download the video without knowing URL or anything? Say the object on the page is youtube embedded code or if not youtube but similar.
I just need to make sure if the app can act as a sandbox for audio/video sites so it can download audio/videos from websites anyhow?
I understand that you want to scan the page for video content and download those videos.
Here is one way to do it:
ffmpeg -y -i http://url-to-the-video-stream -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -s 432x240 -vcodec libx264 -b 512k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 0 -refs 0 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 512k -bufsize 512k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 30 -qmax 51 -qdiff 4 -level 30 -aspect 432:240 -g 30 -async 2 result-iphone.tsFFMPEG uses the GPL license but as long as the binary is not combined into your program you don’t have to distribute your source. See http://www.gnu.org/licenses/gpl-faq.html#GPLInProprietarySystem