IIS 7 and Above
HOWTO: ISMV to MP4
Last post Aug 26, 2013 09:13 PM by Jbutson
May 22, 2011 04:06 PM|hoyty|LINK
Some explination and background on why I did this first. For fun I setup a live stream of a web cam recording a robin's nest to my server for others to watch. I was using EE4 Pro and after some false starts got H.264 for silverlight / iOS devices working.
One thing that I could never get working was a good dual encoding of an archive version of the stream. I tried a couple of different things but couldn't get EE to output simultaneously to a usable format. As a result I ended up relying upon the IIS Media
Archive ISMV files. These included 3-4 video streams (I tweaked it a few times due to load on encoder) and an audio stream. I knew the ISMV files had what I needed in them but I had a lot of trouble finding out how to get them into useful format (for editing
and merging). I finally figured out a workflow I think and I wanted to share it with others in case they get stuck in the same way.
Tools I used:
MP4Split from Code Shop latest version
MP4Box from GPAC latest version
MP4Split.exe -o output.mov input.ismv - This will give you a file with all audio and video streams combined. You can view this with
VLC to verify which streams are available.
MP4Box.exe -add output.mov#video -add output.mov#audio output.mp4 - This will pull out the first found audio and video streams. In my case this was always the higest resolution version which is what I wanted. If you want to you can use MP4Box -info to
list tracks and then #trackID=ID in place of #video above to select a different track.
At the end I had a clean H.264 / AAC LC MP4 file that I could use with almost any editor. The benefit of the two above tools is they are fairly quick since they aren't doing any re-encoding just muxing.
Hopefully this saves someone else some time in the future. I am sure if I could have been better with EE in the beginning I might have been able to save myself some of this work on the backend.
Jun 22, 2011 04:07 AM|nicolas.drouin|LINK
You should have been able to go directly to .mp4 with CodeShop's mp4split:
-o outputFile.mp4 inputFile.ism
We use it, in fact, I am the one who made the feature request to CodeShop.
The mp4 should play in QuickTime, VLC, Windows Media Player and back in Silverlight as plain mp4's.
If that's not the case, send me an email/private message.
Aug 26, 2013 03:17 PM|devendra_sipl|LINK
I am trying to create MP4 from ISML/CMS. I have full access of Fragmented MP4.
I am working on an Smooth streaming project and I want to create MP4 file from the CSM (http://blogs.iis.net/vsood/archive/2010/01/22/composite-manifest-support-for-rough-cut-editing-scenarios-in-ssme.aspx).
I'm using Expression Encoder API to encode my media and it's storing on Windows Azure Virtual Machine. So have the full access of archive path. Can you please guide me how I can do this? How FFmpeg help me? Awaiting your response.
I found this helpful: http://stackoverflow.com/questions/11899247/rebuilding-mp4-file-from-fragmented-mp4-mdat-atom/12143537#12143537
Aug 26, 2013 09:13 PM|Jbutson|LINK
Sounds pretty technical...i am in college for medical admin. specialist, so I am just learning!