Skip to main content
Topic: Youtube won't encode to OGG (Read 4218 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Youtube won't encode to OGG

Hi. I've found that many videos on YouTube have OGG stream available. But I can't get it, uploading my own video to the service. Compare the available streams for random video from YouTube and for my video:



Why does it happen? How to force OGG and HQ WebM encoding???

Youtube won't encode to OGG

Reply #1
To my knowledge there isn't a way to force Youtube to encode to specific formats.  I do know they have changed their encoding standards many times,  so it's possible they had previously encoded to Ogg, but no longer use it for new uploads.

Also,  how long are you waiting after the upload before checking the formats that are available?  YouTube doesn't finish the encoding for all formats at the same time, some finish and become available before others.

Youtube won't encode to OGG

Reply #2
YouTube does not use Ogg at all. Vorbis is used in WebM.

A difference between the two videos is that the Dayton Football-video is available in VP9/Media Source Extensions, whereas Test 4Kff is not. That is also why only ”WebM 360p” (with VP8) is listed. Popular videos/channels are prioritised for VP9-encoding.
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000

Youtube won't encode to OGG

Reply #3
Popular videos/channels are prioritised for VP9-encoding.


So this takes place, well, thanks. But how much popular the channel have to be? Is there some documentation describing this terms?

I was going to test youtube audio encoding quality, and I found out that it uses something like FhG AAC for the audio stream. But then I was surprised that on other videos there are Vorbis streams also...

Youtube won't encode to OGG

Reply #4
So this takes place, well, thanks. But how much popular the channel have to be? Is there some documentation describing this terms?

I haven’t seen any such documentation, it is only what people have noticed when using YouTube, see for example Doom9.
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000

Youtube won't encode to OGG

Reply #5
Just published my test video on youtube. Will try to get >1000 views. I see that on my channel most of popular videos has VP9 streams, but there are few videos with >1000 views but without VP9. It's strange... Looks like here is some random factor or something we don't know...

Anyway, now I'm sure thet popularity of the channel isn't enough.

Youtube won't encode to OGG

Reply #6
Using youtube-dl, I got this list of available formats for https://www.youtube.com/watch?v=Z4C82eyhwgU

Code: [Select]
format code extension resolution  note 
171         webm      audio only  DASH audio , audio@ 48k (worst)
140         m4a       audio only  DASH audio , audio@128k
160         mp4       144p        DASH video , video only
242         webm      240p        DASH video , video only
133         mp4       240p        DASH video , video only
243         webm      360p        DASH video , video only
134         mp4       360p        DASH video , video only
244         webm      480p        DASH video , video only
135         mp4       480p        DASH video , video only
247         webm      720p        DASH video , video only
136         mp4       720p        DASH video , video only
248         webm      1080p       DASH video , video only
137         mp4       1080p       DASH video , video only
17          3gp       176x144    
36          3gp       320x240    
5           flv       400x240    
43          webm      640x360    
18          mp4       640x360    
22          mp4       1280x720    (best)


Using MKVToolNix, I created MKA-files from 171 and 43, and MediaInfo gives this information, identical for the two files:
Code: [Select]
File size                                : 2.22 MiB
Duration                                 : 2mn 26s
Overall bit rate mode                    : Variable
Overall bit rate                         : 127 Kbps

Exact sizes of the MKA-files:
43: 2 327 563 bytes
171: 2 327 575 bytes

Appears that identical settings were used for the two Vorbis-encodings.
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000

Youtube won't encode to OGG

Reply #7
Just published my test video on youtube.

Code: [Select]
[info] Available formats for aosAlAHd9Og:
format code extension resolution  note
139         m4a       audio only  DASH audio   49k , audio@ 48k (22050Hz), 381.48KiB (worst)
171         webm      audio only  DASH audio   84k , audio@128k (44100Hz), 481.60KiB
172         webm      audio only  DASH audio  120k , audio@256k (44100Hz), 766.22KiB
140         m4a       audio only  DASH audio  128k , audio@128k (44100Hz), 1012.68KiB
141         m4a       audio only  DASH audio  255k , audio@256k (44100Hz), 1.96MiB
278         webm      190x144     DASH video    3k , webm container, VP9, 15fps, video only, 27.23KiB
160         mp4       190x144     DASH video    4k , 15fps, video only, 25.12KiB
242         webm      316x240     DASH video    6k , 30fps, video only, 46.80KiB
133         mp4       316x240     DASH video    7k , 30fps, video only, 50.98KiB
243         webm      474x360     DASH video    7k , 30fps, video only, 56.18KiB
134         mp4       474x360     DASH video    9k , 30fps, video only, 64.76KiB
244         webm      632x480     DASH video   10k , 30fps, video only, 79.10KiB
135         mp4       632x480     DASH video   10k , 30fps, video only, 70.81KiB
247         webm      948x720     DASH video   11k , 30fps, video only, 84.23KiB
136         mp4       948x720     DASH video   13k , 30fps, video only, 93.16KiB
248         webm      1422x1080   DASH video   12k , 30fps, video only, 96.05KiB
137         mp4       1422x1080   DASH video   18k , 30fps, video only, 133.38KiB
271         webm      1896x1440   DASH video   13k , 30fps, video only, 99.35KiB
264         mp4       1896x1440   DASH video   26k , 30fps, video only, 198.02KiB
272         webm      2842x2160   DASH video   21k , 30fps, video only, 162.59KiB
138         mp4       4096x2160   DASH video   73k , 30fps, video only, 525.48KiB
17          3gp       176x144    
36          3gp       320x240    
5           flv       400x240    
43          webm      640x360    
18          mp4       640x360    
22          mp4       1280x720    (best)
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000

 

Youtube won't encode to OGG

Reply #8
YouTube has removed format 172 (Vorbis at 192 kbps).
Rhythmbox, Flac + Vorbis, Sennheiser HD650 + Sony MDR-XB1000

 
SimplePortal 1.0.0 RC1 © 2008-2020