Why do most people use H264 instead of VP9 for Youtube?


#1

Isn’t VP9 more efficient, yielding better quality at a smaller size? Yet it still seems most people don’t use VP9. If this is the case, why? I know youtube re-encodes in VP9.

Does it matter if the content is 1080p vs 4k in terms of which codec you would choose to export with?


#2

Because…

https://support.google.com/youtube/troubleshooter/2888402?hl=en


#3

Thanks. I didn’t know you couldn’t export VP9 as an mp4 file. If I’m filming with a smartphone, the phone is likely compressing it with H264. Is it silly to export a project using that footage in ProRes or something better than the original? Or will that prevent double compression when I export in shotcut with H264?


#4

Well, you can’t export better than the original source. You either use a lossless codec or use the same as the source with the same compression ratio. You won’t get ‘double compression’, just re compression.


#5

So if I export with the same codec and the same bit rate as my source material, I shouldn’t have quality loss or added artifacts? I assumed every time you decompress and re-compress something you would lose some quality in the process due to entropy. Maybe I have that wrong.


#6

No, I did not imply any of your assumptions.


#7

“You won’t get ‘double compression’, just re compression.”. Is it likely that the re compression will cause quality loss? If I were to export with the same bit rate and same H264 codec as the original source.


#8

Yes. But barely noticeable if your source video is of high quality.

When you unpack (de-code) then re-pack (en-code) you will always get some wrinkles. The more often you do it, the more wrinkles and the easier it becomes to see them. Do it once and you’ll barely notice (given that you don’t try to en-code too tightly to get a tiny export!)


#9

I also always wondered why the link that Steve provided suggests H264, and not VP9. But, when I upload to YouTube, the video is not rendered to VP9 immediately; it is rendered to a video and audio codec other than VP9/AAC (don’t recall which at the moment), then after a variable period of time, the video is converted to VP9/AAC.

YouTube’s full recommended requirements list:
https://support.google.com/youtube/answer/1722171


#10

youtube is kinda funny in a way as it encodes in more than one codec to support devices

if you upload WebM VP9 Opus 1080p, youtube will encode it to 1080p, 720p, 480p and 360p in VP9, H264, MP3, AAC, Opus and Vorbis

in a few months AV1 will be added to that mix of codecs too, and i also think google will update requirements list too


#11

I’m excited for AV1, you think it’ll take months to integrate into youtube? I thought they just released it a week ago.


#12

av1 wasnt released, its still draft, it was simply a pr smokescreen for nab show for some stupid reason


#13

aww that’s a bummer