I am trying to find info about MPEG-DASH segment m4s file.
Where can I fine documentation about MPEG-DASH m4s file format?
The m4s is a part of the ISO base media file format- you can find the spec here:
https://www.iso.org/standard/68960.html
Related
I am currently using aws mediaconvert to encode videos to hls and dash format. I believe that in the m3u8 (for hls) and mpd (for dash) file which is generated, these can be parsed to remove required subtitles. I am looking to parse the m3u8 and mpd file, create an updated manifest without required subtitles and save it back to s3. Has someone previously done something similar?
This could be done with a Lambda Function triggered by the arrival of the source manifest in a specified S3 bucket. A Lambda script could remove the captions line(s) and post a revised manifest to the different S3 bucket. The script should then copy the segments over to the new bucket as well in order to maintain a playable HLS or DASH file group.
Alternatively you can ingest the asset as-is into MediaPackage as a VOD asset, and use the '?aws.manifestfilter=subtitle_language:xxx' filter when asking for the VOD manifest. This feature of MediaPackage returns a customized (filtered) version of the source manifest on demand without you having to permanently alter it. Specifying a filter of 'subtitle_language:zzz' will return a manifest with no subtitles in it. You could also ask for only specified subtitle renditions to be included.
I'm using sox to convert some mp3 files to wav for a project. The problem is that the software that plays the files does not have the media name for the element it is playing. I can't seem to find a win32 cli tool to read the header of the wav file and write what I need to it.
Sox will read the header but it's not showing the title of the media element that was inserted with the old software I used. I just couldnt automate it or I would have used it instead.
I have determined the info is written in either CART CHUNK section or just to the file headers. I can't figure out to write my own data there.
The way I was able to do this was with this project: https://github.com/JamesHeinrich/getID3
I'm trying to rebuild a video file from a Smooth Streaming server. Smooth Streaming serves fMP4 files which are regular MP4 files without neither their FTYP nor their MOOV atoms.
All the informations stored in those atom are placed into a Manifest XML file, which I have.
Is there a way to programmatically rebuild the original MP4 file, either by:
rebuilding a new file straight from H264/AAC content located in MDAT
(and picture format infos); or
rebuilding FTYP and MOOV atoms
Or else, is there a tool which can merge fMP4?
Yes. It is completely possible.
You can do this with FFmpeg. Study the mov.c [MP4 demuxer] from libavformat.
You will need to complete the MP4 in memory with all data that is "missing" in the fMP4. In other words, when you need an atom that doesn't exist in fMP4 [almost all], you will have to input all information hard-coded (such information, most of them come from the manifest).
It's not easy... but for sure it's possible. I've done by myself. Unfortunately the code is not my property.
Good luck! ;-)
UPDATE: the PIFF format specification will be very useful (http://go.microsoft.com/?linkid=9682897) so one can understand what is already in the fMP4 and what is not!
It is simple to rebuild a mp4 file, if there are ism and ismc file which are related to fragmented mp4 files.
It is requested that you should know media type, codec type, codec specific data and time scale of each trak to rebuild a moov and ftyp atom.
these information can be retrieved from ism and ismc file.
you can retrieve a media type of each track from the ism file.
you can retrieve codec type, codec specific data and time scale of each track from the ismc file.
simply speaking, ism/ismc files are meta data for server and client so that you can rebuild meta data(ftyp, moov atom) for a mp4 file.
above in formation is cool for MP3 file can anybody have little idea about .aac format encoding style so i can get metadata information.
What programming language are you using? Do you just want a spec? http://www.danhinsley.com/metax/metax.html is this link the sort of utility you're looking for? mp4 is a common container for aac format content.
Java libraries for interacting with AAC (including tags) include:
http://www.fightingquaker.com/myid3/
http://jid3.blinkenlights.org/
http://www.jthink.net/jaudiotagger/
I tired this example:
http://wiki.monotouch.net/HowTo/Sound/How_to_record_sound_using_the_iPhone_microphone
But when I change the AudioFileType, from a compressed type (MP3) the file size is the same as WAVE.
Am I doing something wrong?
Thanks.
This is the list of encoders exposed by iOS:
http://developer.apple.com/library/ios/#qa/qa2008/qa1615.html
And it does not support MP3 encoding
This was previously discussed here:
iPhone - AVAudioRecorder - how can I record to an mp3?
The only alternative is for you to include your own MP3 encoder and negotiate directly with the MP3 patent holder the terms.