Lifesize® UVC Video CenterTM, How to download content, edit it and upload it back, keeping the layout function active.

Document created by fbazan Employee on Apr 16, 2015
Version 1Show Document
  • View in full screen mode

Many customers are interested to know which third party solution would allow them to edit videos previously recorded in video center and after some post production, be able to upload them again keeping the possibility for the viewer to switch in between the different available layouts.

In order to achieve a successful edition and perfect synchronization between the different feeds there are a couple of suggestions before start. Third party software should let the editor work with a timeline and as many channels as video feeds were recorded by Lifesize® UVC Video CenterTM. There are in the market many software solutions accomplishing this requirements but it worth to mention that this suggestions would make the job much easier and accurate than working with software that only count with a master channel.

After download the video from Lifesize® UVC Video CenterTM. we would get a file named recording.tar, this file contains all video feeds recorded in different bitrates and resolutions in the way that the system administrator would have previously configured. In addition we will find a file called metadata.json and README.TXT, which will be a masterpiece for the purpose of this tutorial. Apart of that we should find some .jpeg files, chat log if it was previously configured and a main feed log, which are not so important for this tutorial.

Once the edition is finished and assuming that all streams have the same duration in time and all postproduction effects have been applied in the same way to all feeds, is time to check into the metadata.json file what encoding settings our feeds previously had. We could use different bitrates if we needed it only taking care that the metadata.json file has the right information.

Here is how this file looks like:

{
"feeds": [

{
"composition_mode": "dual",
"timeline": "0 543",
"media_file": "mainfeed_dual_320.mp4", "resolution": "480x270",
"type": 1,
"bitrate": 314

}, {

"type": 1, "bitrate": 778

 

 

"composition_mode": "dual",
"timeline": "0 543",
"media_file": "mainfeed_dual_768.mp4", "resolution": "1280x720",

 

 

}, {

"type": 3,

"bitrate": 297 },

{
"composition_mode": "pip",
"timeline": "0 543",
"media_file": "mainfeed_pip_768.mp4", "resolution": "1280x720",
"type": 3,
"bitrate": 758

}, {

"type": 2,

"bitrate": 256 }

],
"description": "768kbs Demo recordings from CEE Team", "duration_seconds": 543,
"title": "CEE Team 768kbs - 23 October 2014", "viewer_groups": "CEE_Team",
"bitrate": 1034,
"tags": "CEE Demo",
"rec_captions": {},
"chapters": [],
"pres_video": "presentation-1.mp4",
"main_timeline": "0 543",
"author": "CEE_master",
"is_public": false,
"pres_timeline": "0 3 80 476 544",
"viewers": "CEE_master,CEE_guest",
"main_video": "mainfeed_dual_768.mp4",
"channel": "CEE_Team",
"size": 144

}

Into the file README.TXT there is an explanation about certain parameters that it worth to check out before start changing things.

 

 

"composition_mode": "pip",
"timeline": "0 543",
"media_file": "mainfeed_pip_320.mp4", "resolution": "480x270",

 

 

"composition_mode": "dual", "timeline": "0 3 80 476 544", "media_file": "presentation-1.mp4", "resolution": "1764x992",

 

 

Once we are about to start rendering; the following steps need to be taken into consideration:

1.- Keep the same names for all files.

2.- Video center is compatible with .mov and .mp4 using H.264 for video files and AAC-LC for audio.

3.- Taking as an example the first part of the json file:

{
"feeds": [

{
"composition_mode": "dual", "timeline": "0 543",

"media_file": "mainfeed_dual_320.mp4", "resolution": "480x270",

"type": 1,

"bitrate": 314 //** Video center uses 96Kbps for audio and the rest for video **//

},

4.- Once all feeds are rendered its time to backup the original file and paste the new .mov or .mp4 files into the folder replacing the old ones.

5.- Please make sure that you change the parameters into the metadata.json file for all videos following the information given in the point three of this tutorial.

6.- Some additional tags should be changed at the end of the json file as well:

"description": "768kbs Demo recordings from CEE Team", "duration_seconds": 543, //** Here new duration in seconds **// "title": "CEE Team 768kbs - 23 October 2014",
"viewer_groups": "CEE_Team",
"bitrate": 778,

"tags": "CEE Demo",
"rec_captions": {},
"chapters": [],
"pres_video": "presentation-1.mp4",
"main_timeline": "0 543",
//** Here, new duration in seconds keeping the “0” **//

"author": "CEE_master", "is_public": false,
"pres_timeline": "0 3 80 476 544",

 

 

//** this value must be changed to the current

 

 

duration in seconds after the edition. In this case the original file was 543

 

 

seconds long**//

 

 

//**Keep name and format **//

 

 

//** Adjust the rendering resolution to this

 

 

values during the rendering adjustments process in the third party software **//

 

 

//** In case the bitrate was changed here would come the bitrate

 

 

from the mainfeed_dual_768.mp4 **//

 

 

//** This is a timeline explaining when the

 

 

main events during the video are happening into the mainfeed_pip_768.mp4, in

 

 

this case from the third second until the 80th there was a presentation in the

 

 

main view with PIP view of the participants. From the 81th second till the 476th

 

 

there was just video and after that there was presentation again until the end.

 

 

**//

 

 

"viewers": "CEE_master,CEE_guest",
"main_video": "mainfeed_dual_768.mp4",
"channel": "CEE_Team",
"size": 144
//**This value must be changed as well to the new size**//

In case you have doubts about the syntax after edition or possible errors, here is a tool to evaluate the file:

http://jsonlint.com/

Once the file is correct, please save it into the folder and create a compressed .tar file called recording.tar with your compression tool.

After completion the last step would be uploading the video to Video Center.

If everything went fine we would be able once the first configuration page is saved to visualize the new video and change in between layouts.

In case you need some assistance please do not hesitate to come back to me. My E-mail address is fbazan@lifesize.com.

 

Attachments

    Outcomes