streamlinevideo / streamline

A reference system for end to end live streaming video. Capture, encode, package, uplink, origin, CDN, and player.
MIT License
748 stars 87 forks source link

Question: Significance of yuv420p #18

Closed vaage closed 5 years ago

vaage commented 5 years ago

In many of the ffmpeg commands format=yuv420p is used. What does this mean? Is it the input resolution? If so, why create 720p output from 420p input?

e3z8 commented 5 years ago

Thats just ensuring that the color space is yuv4:2:0. its not changing the resolution.

colleenkhenry commented 5 years ago

Yes that makes sure the video is 4.2.0 8 bit color.

On Fri, Dec 14, 2018, 3:47 PM e3z8 <notifications@github.com wrote:

Thats just ensuring that the color space is yuv4:2:0. its not changing the resolution.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/streamlinevideo/streamline/issues/18#issuecomment-447512067, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdZaWQuVzIaNoQx3ccBVWFbmTl6tEiMks5u5Dh2gaJpZM4ZUPhd .

vaage commented 5 years ago

Thanks @e3z8 and @colleenkhenry.