Video compression ratios and transcoding

%3CLINGO-SUB%20id%3D%22lingo-sub-205523%22%20slang%3D%22en-US%22%3EVideo%20compression%20ratios%20and%20transcoding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205523%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20looking%20for%20information%20on%20the%20transcoding%20process%20and%20compression%20ratios%20of%20Microsoft%20Stream.%20I%20understand%20that%20when%20I%20upload%20a%20video%20that%20video%20will%20undergo%20a%20transcoding%20process%20that%20will%20convert%20into%20upto%203%20different%20compressions%20(1080%2C%20720%2C%20Lower)%20or%20the%20like.%20AND%20further%20to%20that%20the%20video%20that%20a%20viewer%20watches%20is%20dependent%20upon%20their%20bandwidth%2C%20high%20internet%20speeds%20(bandwidth)%20will%20allow%20the%20video%20to%20be%20watched%20at%20full%20res%20and%20data%20rate.%20If%20bandwidth%20is%20lower%20then%20a%20lower%20data%20rate%20or%20resolution%20version%20of%20the%20video%20will%20be%20played.%20AND%20that%20if%20the%20bandwidth%20increases%20then%20after%20each%20segment%20of%20video%20(%602-10%20seconds)%20the%20quality%20of%20the%20video%20played%20will%20also%20increase.%20My%20question%20is%20what%20is%20the%20compression%20ratios%20of%20microsoft%20stream%20and%20what%20is%20the%20transcoding%20process%3F%20How%20can%20I%20convince%20my%20employer%20that%20this%20platform%20will%20play%20our%20videos%20better%20then%20say%20Vimeo%3F%3F%3F%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-209427%22%20slang%3D%22en-US%22%3ERe%3A%20Video%20compression%20ratios%20and%20transcoding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-209427%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3BBrendan%2C%20hope%20that%20helped%20a%20bit%20even%20if%20it%20wasn't%20exactly%20the%20outcome%20you%20were%20looking%20for.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20it%20would%20be%20useful%20if%20the%20official%20documentation%20did%20go%20more%20in-depth%20on%20the%20sorts%20of%20technical%20details%20you%20mentioned.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205930%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Video%20compression%20ratios%20and%20transcoding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205930%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20sure%20you'll%20find%20what%20you're%20looking%20for.%26nbsp%3B%20The%20only%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fstream%2Foffice-365-video-feature-breakdown%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ecomparison%3C%2FA%3E%20I%20have%20seen%20is%20related%26nbsp%3Bto%20Office%20365%20Video%2C%20the%20more%20established%20video%20service%20that's%20being%20replaced%20by%20Stream%20later%20in%20the%20year.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20get%20a%20deep%20dive%20into%20the%20mechanics%20of%20Microsoft%20Stream%20in%20the%20presentation%20here%20-%20%3CA%20href%3D%22https%3A%2F%2Fstream.microsoft.com%2Fen-gb%2Fblog%2Flearn-how-microsoft-stream-was-built-using-azure%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ELearn%20how%20Microsoft%20Stream%20was%20built%20using%20Azure%3C%2FA%3E%26nbsp%3Band%20you%20could%20always%20check%20out%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Fmedia-services%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Media%20Services%3C%2FA%3E%20accordingly%2C%20which%20provides%20some%20of%20these%20related%20services%20that%20are%20mentioned.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESince%20every%20video%20is%20different%2C%20which%20you%20will%20know%20better%20than%20me%2C%20how%20it%20might%20be%20rendered%20and%20under%20what%20conditions%20it%20is%20played%20could%20vary%2C%20personally%2C%20I'd%20test%20Stream%20with%20sample%20content%20and%20do%20an%20analysis%2C%20as%20part%20of%20an%20evaluation.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20always%20sign%20up%20for%20a%20dev%20tenant%20-%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Foffice%2Fdev-program%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Foffice%2Fdev-program%3C%2FA%3E%20to%20help%20with%20this.%26nbsp%3B%20Also%2C%20you'll%20want%20to%20be%20aware%20of%20some%20of%20the%20current%20limitations%20like%20no%20public%20(anonymous)%20access%20to%20videos%2C%20API%20access%20etc.%2C%20if%20you%20don't%20know%20about%20these%20already.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205918%22%20slang%3D%22en-US%22%3ERE%3A%20Video%20compression%20ratios%20and%20transcoding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205918%22%20slang%3D%22en-US%22%3EThanks%20for%20your%20prompt%20reply.%20I%20have%20read%20the%20article%20you%20have%20provided.%20It%20does%20not%20actually%20give%20any%20statistics%2C%20instead%20it%20only%20gives%20a%20general%20overview.%20I%20need%20more%20information%20as%20my%20job%20is%20a%20video%20production%20specialist%20and%20my%20team%20needs%20a%20platform%20we%20can%20trust%20to%20share%20our%20videos.%20I%20know%20that%20people%20have%20done%20comparisons%20of%20videos%20shared%20via%20youttube%20and%20vimeo%20by%20uploading%20the%20same%20video%20to%20both%20platforms%20and%20then%20gathering%20data%20to%20decide%20which%20one%20is%20better%20for%20video%20quality.%20I%20wonder%20if%20anyone%20has%20done%20the%20same%20for%20microsoft%20stream%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205577%22%20slang%3D%22en-US%22%3ERe%3A%20Video%20compression%20ratios%20and%20transcoding%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205577%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3BBrendan%2C%20this%20is%20the%20most%20detailed%20information%20I%20have%20seen%20on%20this%20topic%2C%20though%20it's%20not%20that%20recent%26nbsp%3BI%20doubt%20much%20has%20changed%20since%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstream.microsoft.com%2Fen-us%2Fblog%2Fwhat-happens-to-your-videos-after-upload%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EUnder%20the%20hood%3A%20What%20happens%20to%20your%20videos%20after%20upload%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20choosing%26nbsp%3Bthe%26nbsp%3Bnumber%20of%20renditions%20or%20qualities%20that%20a%20video%20is%20encoded%20into%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22%3CEM%3EFor%20example%2C%20if%20the%20input%20video%20is%20at%20full%201080p%20HD%20resolution%20(1920x1080%20pixels)%2C%20then%20we%20would%20decide%20to%20use%206%20steps%2C%20starting%20from%201920x1080%2C%20down%20to%20320x180.%20If%20%3C%2FEM%3Einstead%3CEM%3E%20the%20input%20video%20is%20of%20standard%20definition%20resolution%20(eg.%20640x480%20pixels)%2C%20then%20we%20would%20pick%20just%203%20steps%2C%20from%20640x480%20down%20to%20240x180.%20Naturally%2C%20we%20would%20never%20exceed%20the%20resolution%20of%20the%20input%20video.%3C%2FEM%3E%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20selecting%20a%20bitrate%20and%20what%20goes%20into%20determining%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22%3CEM%3Ethe%20next%20stage%20is%20to%20determine%20the%20bitrate%20for%20each%20rendition.%20Naturally%2C%20higher%20the%20quality%20of%20the%20rendition%2C%20the%20more%20bits%20it%20requires%20-%20but%20not%20all%20videos%20are%20created%20equal.%20Different%20types%20of%20videos%20require%20different%20bitrates%20to%20achieve%20'high%20quality'%20-%20so%20we%20needed%20to%20be%20smart%20about%20choosing%20the%20bitrate.%20Here%20too%2C%20our%20experience%20with%20Office365%20Video%20came%20in%20handy.%20We've%20observed%2C%20for%20example%2C%20that%20marketing%20videos%20are%20delivered%20at%20high%20%3C%2FEM%3Ebitrates%2C%3CEM%3E%20since%20they%20were%20most%20often%20produced%20by%20professional%20agencies.%20We%20also%20receive%20a%20ton%20of%20PowerPoint%20presentations%20which%20are%20captured%20at%20full%201080p%20HD%20resolution%2C%20but%20at%20very%20low%20bitrates%20-%20the%20screen%20has%20mostly%20static%20text%20content.%3C%2FEM%3E%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20goes%20on%20to%20say%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22%3CEM%3EWe%20used%20all%20this%20information%20to%20come%20up%20with%20a%20simple%20yet%20elegant%20function%20that%20measures%20the%20characteristics%20of%20the%20input%20video%2C%20and%20comes%20up%20with%20a%20recommended%20bitrate%20for%20that%20rendition.%20In%20our%20tests%2C%20this%20function%20is%20holding%20up%20well%20-%20the%20marketing%20videos%20end%20up%20getting%20encoded%20at%20close%20to%206%20Mbps%20at%201080p%2C%20whereas%20a%20PowerPoint%20presentation%20would%20use%20just%20around%20500%20kbps.%3C%2FEM%3E%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20page%20has%20more%20general%20details%20on%20what%20happens%20-%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fstream%2Fupload-process-overview%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EUpload%20process%20overview%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I am looking for information on the transcoding process and compression ratios of Microsoft Stream. I understand that when I upload a video that video will undergo a transcoding process that will convert into upto 3 different compressions (1080, 720, Lower) or the like. AND further to that the video that a viewer watches is dependent upon their bandwidth, high internet speeds (bandwidth) will allow the video to be watched at full res and data rate. If bandwidth is lower then a lower data rate or resolution version of the video will be played. AND that if the bandwidth increases then after each segment of video (`2-10 seconds) the quality of the video played will also increase. My question is what is the compression ratios of microsoft stream and what is the transcoding process? How can I convince my employer that this platform will play our videos better then say Vimeo????

4 Replies
Highlighted

Hi Brendan, this is the most detailed information I have seen on this topic, though it's not that recent I doubt much has changed since:

 

Under the hood: What happens to your videos after upload

 

On choosing the number of renditions or qualities that a video is encoded into:

 

"For example, if the input video is at full 1080p HD resolution (1920x1080 pixels), then we would decide to use 6 steps, starting from 1920x1080, down to 320x180. If instead the input video is of standard definition resolution (eg. 640x480 pixels), then we would pick just 3 steps, from 640x480 down to 240x180. Naturally, we would never exceed the resolution of the input video."

 

On selecting a bitrate and what goes into determining this:

 

"the next stage is to determine the bitrate for each rendition. Naturally, higher the quality of the rendition, the more bits it requires - but not all videos are created equal. Different types of videos require different bitrates to achieve 'high quality' - so we needed to be smart about choosing the bitrate. Here too, our experience with Office365 Video came in handy. We've observed, for example, that marketing videos are delivered at high bitrates, since they were most often produced by professional agencies. We also receive a ton of PowerPoint presentations which are captured at full 1080p HD resolution, but at very low bitrates - the screen has mostly static text content."

 

This goes on to say:

 

"We used all this information to come up with a simple yet elegant function that measures the characteristics of the input video, and comes up with a recommended bitrate for that rendition. In our tests, this function is holding up well - the marketing videos end up getting encoded at close to 6 Mbps at 1080p, whereas a PowerPoint presentation would use just around 500 kbps."

 

This page has more general details on what happens - Upload process overview.

Highlighted
Thanks for your prompt reply. I have read the article you have provided. It does not actually give any statistics, instead it only gives a general overview. I need more information as my job is a video production specialist and my team needs a platform we can trust to share our videos. I know that people have done comparisons of videos shared via youttube and vimeo by uploading the same video to both platforms and then gathering data to decide which one is better for video quality. I wonder if anyone has done the same for microsoft stream?
Highlighted

Not sure you'll find what you're looking for.  The only comparison I have seen is related to Office 365 Video, the more established video service that's being replaced by Stream later in the year.

 

You can get a deep dive into the mechanics of Microsoft Stream in the presentation here - Learn how Microsoft Stream was built using Azure and you could always check out Azure Media Services accordingly, which provides some of these related services that are mentioned.

 

Since every video is different, which you will know better than me, how it might be rendered and under what conditions it is played could vary, personally, I'd test Stream with sample content and do an analysis, as part of an evaluation. 

 

You can always sign up for a dev tenant - https://developer.microsoft.com/en-us/office/dev-program to help with this.  Also, you'll want to be aware of some of the current limitations like no public (anonymous) access to videos, API access etc., if you don't know about these already.

Highlighted

Hi Brendan, hope that helped a bit even if it wasn't exactly the outcome you were looking for. 

 

I think it would be useful if the official documentation did go more in-depth on the sorts of technical details you mentioned.