Is there a documentation for reading Quicktime MOV file without using Quicktime SDK?
Apple has released a QuickTime File Format Specification.
Wotsit.org has 4 documents about the MOV file format.
If you are particularly industrious, and are looking to rewrite quicktime, you can read the specification from Apple.
Or, you can just put a wrapper around an existing library such as Libavcodec like mPlayer does.
Have a look at the source for mplayer, ffmpeg, vlc.
Should be some kind of documentation there.
Related
iOS8 just released beta version, I'm very interested in Video directly Encoding / Decoding.
Video Toolbox Framework
The Video Toolbox framework (VideoToolbox.framework) includes direct
access to hardware video encoding and decoding.
but I can not find any tutorial documents for this right now
as I know it's a private framework before, and some people already using it in some JB apps
so does anyone can share a very simple tutorial code for this ?
Try this link: https://github.com/davidliu/VideoTimeLine (the video which I loaded seems to be broken, but you can get a feel how to use it).
Write in XCode: import VideoToolbox and CMVideoFormatDescriptionCreateFromH264ParameterSets and Cmd+click on it to display documentation :)
Take a look at this video from WWDC: https://developer.apple.com/videos/wwdc/2014/#513
Check out this code: https://github.com/manishganvir/iOS-h264Hw-Toolbox
Check out this code: https://github.com/McZonk/VideoToolboxPlus
You might also want to see a detailed description on how to decompress H264 using VideoToolbox: How to use VideoToolbox to decompress H.264 video stream
Hope that helps :)
Import the framework and look at the headers, they're all documented.
Apple also released a sample using VTDecompressionSession
How to modify the example "openRTSP" of Live555 to display a RTSP stream in a iOS App ?
You can look at dropcam https://github.com
Personally I find it harder to use than some other frameworks including the ones we use, but the dropcam example should give yo what you need.
You can use MobileVLCKit which use live555 internally.
You can find more information here: https://stackoverflow.com/a/48340854/2003734
So I want to make an app for the iPhone that will play live mms:// video streams.
I have look around, and everywhere says that I'll need FFmpeg in order to accomplish it. So I successfully compiled the FFmpeg libraries, but now
Do I have to convert the mms:// link to a .m3u8 link? Or I can just use apples AV Foundation Framework ?
Thanks!
You need libmms as well as the ffmpeg libs ,however as think the latest versions of ffmpeg has the code built in so you may not need libmms mms is just a streaming protocol so the actual format is likely some mpeg variant, mp4, h264.
Once you have that you extract the frames , and use ffmpeg avcodec_decode_video2 to decode to an avFrame. Just like any other video.
Does anyone know if it is possible to convert a sound file in the Documents directory from within an app? I have a recorded sound file that will be available in iTunes File Sharing that I need to convert. Is afconvert available from within iOS?
Thanks
I'm not sure from what format to what format you want to convert to, but converting audio during runtime is not as simple as the command-line afconvert tool.
Check out Apple's sample projects iPhoneACFileConvertTest or ConvertFile. I think these would be good starting points if you want to convert audio in your app.
For what it's worth, afconvert is just a handy command-line interface to the features of the ExtAudioFile API which you can find in -- Using this API you can convert from any supported file format/audio format combination TO any supported file format/audio format combination.
I am looking for a good gem/plugin to convert user-uploaded audio files to different formats. One format in particular that I am interested in is converting to Apple .caf with ima4 compression for inclusion in an iPhone app.
I have been using afconvert on my mac for this so far, but I need to do it on my linux box, server-side. Ideally, I would be able to work into paperclip.
As an additional solution, ffmpeg could work, but I have not seen any .caf options for it. Anybody know of one?
The Sound eXchange project supports lots of audio file conversions. I've used this in the past to convert aiff files output by the OS X "say" program to ulaw files for Asterisk. This yields rather nice text-to-speech. For my purposes, I also found a Ruby extension on github called sox-ruby that wraps the libsox functions directly.