10-05-2015 09:29 PM
Hi all,
I download video file via Mediasense API, I found one file(mp4 format) has 2 videos. I can play on VLC player. How to separate this file or play this file on web browser?
Thank you.
Solved! Go to Solution.
10-06-2015 10:11 AM
Hi,
Thanks for reaching MediaSense team for your query.
The video sessions recorded on MediaSense due to a call between 2 video-enabled endpoints contains 2 videos (with 2 tracks: 1 for audio and 1 for video each, resulting to total 4 tracks) due to being a 2-way video.
Now for the need of separating the videos of this video-call-session, you may use the getSessions or getSessionBySessionId APIs of MediaSense and look for the parameter "downloadUrl" under each of the 4 individual tracks in the JSON Response. This parameter contains the url for the RAW content of individual tracks of the session. The downloadUrl of TRACK0 & TRACK1 would belong to the 1st side video and TRACK2 & TRACK3 would belong to the 2nd side video.
You may use the required downloadUrl's to export the RAW files and use some specialized tool to convert the RAW into MP4 by combining 2 exported RAWs at a time.
As for the playing of this video on web-browser is concerned, currently, in MediaSense 11.0 release, the HTML5 inline-player of Search & Play page does not support playing of video sessions.
However, the video can be played using JNLP player from the same Search & Play page which plays out both the videos in a single window, stitched side-by-side.
Please revert in case of any further queries.
Thanks & Regards
Ivan Mandal
(MediaSense Team)
10-06-2015 10:11 AM
Hi,
Thanks for reaching MediaSense team for your query.
The video sessions recorded on MediaSense due to a call between 2 video-enabled endpoints contains 2 videos (with 2 tracks: 1 for audio and 1 for video each, resulting to total 4 tracks) due to being a 2-way video.
Now for the need of separating the videos of this video-call-session, you may use the getSessions or getSessionBySessionId APIs of MediaSense and look for the parameter "downloadUrl" under each of the 4 individual tracks in the JSON Response. This parameter contains the url for the RAW content of individual tracks of the session. The downloadUrl of TRACK0 & TRACK1 would belong to the 1st side video and TRACK2 & TRACK3 would belong to the 2nd side video.
You may use the required downloadUrl's to export the RAW files and use some specialized tool to convert the RAW into MP4 by combining 2 exported RAWs at a time.
As for the playing of this video on web-browser is concerned, currently, in MediaSense 11.0 release, the HTML5 inline-player of Search & Play page does not support playing of video sessions.
However, the video can be played using JNLP player from the same Search & Play page which plays out both the videos in a single window, stitched side-by-side.
Please revert in case of any further queries.
Thanks & Regards
Ivan Mandal
(MediaSense Team)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide