html5 - how youtube produce different quality video for one uploaded video -
i developing video sharing website. things 1 question in mind.
example: upload video of 720p youtube. issue is:
youtube shows different quality videos in player 360p 480p etc
question: encode video while uploading different types?
or
question: there ability of flash/html5 player provide different resolution having different size same uploaded video?
br
they transcode video. need before user wants it, e.g. video uploaded, transcode (into different qualities , formats - might choose 360p, 480p, 1080p, 1440p , 4k in mp4, webm , ogg each), visitor loads page, , assessing hardware , network, choose right format them.
a way use aws's elastic transcoder service , store videos in s3 - you'll need lot of storage quite quickly.
aws's elastic transcoder deals setting up, , it's pretty reasonsable:
"pay use. there no minimum fee. pricing depends on duration , resolution of content output."
it looks charge $0.15 turn 10 minutes of video sd format, , double hd.
the formats allow transcode are:
you should plan multiple resolutions of multiple formats, depending on how old browsers/mobile devices want support.
Comments
Post a Comment