What is the file format for MP4 files - mp4

I would like to create a MP4 file from images.
Where could I find the documentation on MP4 binary file format.
similar to this: http://soundfile.sapp.org/doc/WaveFormat/
but for .MP4 files.

Related

Automatically convert pdf file to gif

In TYPO3 7.6 version i have made one extension in which i have one field to upload pdf, image. But when i upload PDF file it is automatically convert into gif format in backend.
so, is it possible to convert that file into jpg format?

How to programmatically output fragmented mp4 file using libavformat?

I want to use mp4 file format for live streaming, which is not possible with an unfragmented mp4 file, as the moov atom is generally written at the end of the file. I need to generate a fragmented mp4 file to transfer it over a network for live streaming. I am using libavformat. The problem is, I can write unfragmented mp4 files easily with libavformat, but I don't know how to write a fragmented mp4 file. So, how to write a fragmented mp4 file using libavformat?
I don't think you are looking for fragmented mp4 (FYI a fragmented mp4 is usually called .ismv) ISMV requires a media server and specialized client to stream.
I think what you are looking for is faststart. This simply moves the moov atom to the start of the file. ffmpeg comes with a qt-faststart utility that will do this for you. Check you distrobution.
You can use Bento4 library to do this easily. Download from here http://www.bento4.com/downloads/ and use the binary mp4fragment.
mp4fragment sourcefile destinatiofile

How to trim audio file in iPhone?

I have sound files in my document directory folder and i want to trim that sound file.
How to do that?
you can use Extended Audio File Services. have a look at the reference for ExtAudioFileRead & ExtAudioFileWrite (they have sample code) then you can open one audio file read it, trim it and then write the new one.go here http://developer.apple.com/library/ios/#documentation/MusicAudio/Reference/ExtendedAudioFileServicesReference/Reference/reference.html

How to parse epub file content after unzipping it

I am developing an Ebook for iPhone that loads ePUB file. I have unzipped the epub file. Now I want to view the content in the unzipped epub file. how would I proceed from here?
Have a read of the ePUB file format (from wikipedia - http://en.wikipedia.org/wiki/EPUB)
This points out the files that are the starting points of the book i.e. the container.xml file will tell you where the main opf files are etc.
ePub files include HTML files, have you tried viewing them in UIWebView, or creating a parser?
Please look at this thread Reading ePub format which describes detail steps(From Euan) and sample project (From Sreelal).

Can .DOC and .XLS files be converted to PDF on the iPhone?

How can I convert .DOC and .XLS files to PDF?
You could make a detour. If you can copy the files to your PC from iphone, use PrimoPDF. It installs as a printer in your system (Windows Platform) and gives the output file as PDF.
Whatever be the type of document, it will get converted to PDF if it can be printed.
Then re-transfer the files to your iphone.
Best of Luck!!