Answered by:
Merging multiple video files

Question
-
Working with MediaCapture class and I'm trying to implement pause/resume video recording functionality.
I've got to a stage where on each pause and resume a new mp4 file is made, however when it comes to splicing the files back together I'm hitting a dead end.
What would be the recommended way to go about this?
Currently files are being saved in mp4 format and for single files I'm setting the video src as so:
Is there an easy way to concatenate them into a single mp4, merge the blobs or do I have to read the files as streams and merge them?var video = document.getElementById('resultVideo');
video.src = URL.createObjectURL(file, { oneTimeOnly: true});
Tuesday, January 21, 2014 7:04 PM
Answers
-
Hi,
There is no documentation about this in JavaScript. You can make Souce reader and Sink Writer into a C++ Windows Runtime component. And calling it from JavaScript or C#. See the link below:
http://msdn.microsoft.com/en-us/library/windows/apps/hh755833(v=vs.110).aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Proposed as answer by André KrämerMVP Thursday, January 23, 2014 4:06 PM
- Marked as answer by Anne Jing Monday, February 10, 2014 1:50 AM
Thursday, January 23, 2014 6:55 AM
All replies
-
Hi,
You can use Souce reader and Sink Writer to do that. They are supported in WinRT.
Source Reader:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd940436(v=vs.85).aspx
Sink Writer:
http://msdn.microsoft.com/en-us/library/windows/desktop/ff819461(v=vs.85).aspx
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.Wednesday, January 22, 2014 2:21 AM -
Is there any documentation anywhere to implement these in JavaScript?Wednesday, January 22, 2014 1:26 PM
-
Hi,
There is no documentation about this in JavaScript. You can make Souce reader and Sink Writer into a C++ Windows Runtime component. And calling it from JavaScript or C#. See the link below:
http://msdn.microsoft.com/en-us/library/windows/apps/hh755833(v=vs.110).aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Proposed as answer by André KrämerMVP Thursday, January 23, 2014 4:06 PM
- Marked as answer by Anne Jing Monday, February 10, 2014 1:50 AM
Thursday, January 23, 2014 6:55 AM