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.
Process:
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.
hoyty
13 Posts
HOWTO: ISMV to MP4
May 22, 2011 03:06 PM|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 1.4.24.
MP4Box from GPAC latest version 0.4.6-rev2735.
Process:
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.
Nicolas.Drou...
43 Posts
Re: HOWTO: ISMV to MP4
Jun 22, 2011 03:07 AM|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.
-Nick