Kodi Community Forum

Full Version: YouTube Plug-in Thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2017-01-03, 18:52)axlt2002 Wrote: [ -> ]Hi All,

I Am actually new to this addo-on (sorry for having discovered it so late...Blush).

I'm writing since I'm not able to watch a video at 1080p; what Kodi plays is the 720p version of it. So I'm wondering where I'm making a mistake. These are the relevant settings I'm using:

(2017-01-03, 18:52)axlt2002 Wrote: [ -> ]YouTube addo-on
Video Quality -> 720p
Always ask for the video quality -> Disabled
Use MPEG-DASH -> Enabled

Video Quality is an old function and really only deals with live video and old format. It doesn't control mdash.

(2017-01-03, 18:52)axlt2002 Wrote: [ -> ]InputStream Adaptive
Min. Bandwidth -> 11000000
Max. Bandwidth -> 20000000
Max. Resolution -> 1080p
Stream Selection -> Manual (I have tried also "Auto")
Media -> All

The "guilty" video is this one and under Firefox it plays without any issue at 1080p resolution.

In order to help, you can find the log at this link.

Is there any way to "force" the use of 1080p instead of having the adaptive approach calculation based on the minimum bandwidth (4 Mbit/s as default; 11 Mbit/s in my case)?

Thanks for your support and the amazing effort your are putting in your work. Please let me know if you need further information.

EDIT: Helps if i read the whole thing first... i'm not really sure about why you have to input the information. That might be a question for the inputstream guys.

jeff
Thanks Jeff for your answer.

(2017-01-04, 03:05)jdf76 Wrote: [ -> ]Video Quality is an old function and really only deals with live video and old format. It doesn't control mdash.

Sorry if I make a stupid question but what does "old format" mean?

(2017-01-04, 03:05)jdf76 Wrote: [ -> ]That might be a question for the inputstream guys.

Is there an official thread related to it? I haven't found it.

EDIT: I have opened a new issue directly on github.
(2017-01-04, 15:03)axlt2002 Wrote: [ -> ]Thanks Jeff for your answer.

(2017-01-04, 03:05)jdf76 Wrote: [ -> ]Video Quality is an old function and really only deals with live video and old format. It doesn't control mdash.

Sorry if I make a stupid question but what does "old format" mean?

Not a stupid question at all.

Before mdash was introduced, which basically is the seperation of video/audio formats, youtube used to do it all in 1 format.

I'll give you an example...

format code extension resolution note
249 webm audio only DASH audio 52k , opus @ 50k (48000Hz), 1.76MiB
250 webm audio only DASH audio 71k , opus @ 70k (48000Hz), 2.25MiB
171 webm audio only DASH audio 112k , vorbis@128k (44100Hz), 3.54MiB
140 m4a audio only DASH audio 128k , m4a_dash container, mp4a.40.2@128k (44100Hz), 4.49MiB
251 webm audio only DASH audio 138k , opus @160k (48000Hz), 4.44MiB
278 webm 256x144 DASH video 112k , webm container, vp9, 30fps, video only, 3.20MiB
160 mp4 256x144 DASH video 113k , avc1.4d400c, 30fps, video only, 3.92MiB
133 mp4 426x240 DASH video 248k , avc1.4d4015, 30fps, video only, 8.66MiB
242 webm 426x240 DASH video 253k , vp9, 30fps, video only, 5.46MiB
243 webm 640x360 DASH video 458k , vp9, 30fps, video only, 9.73MiB
134 mp4 640x360 DASH video 586k , avc1.4d401e, 30fps, video only, 9.74MiB
244 webm 854x480 DASH video 825k , vp9, 30fps, video only, 16.31MiB
135 mp4 854x480 DASH video 1131k , avc1.4d401f, 30fps, video only, 19.45MiB
247 webm 1280x720 DASH video 1617k , vp9, 30fps, video only, 32.70MiB
136 mp4 1280x720 DASH video 2065k , avc1.4d401f, 30fps, video only, 37.45MiB
248 webm 1920x1080 DASH video 2962k , vp9, 30fps, video only, 63.60MiB
137 mp4 1920x1080 DASH video 3651k , avc1.640028, 30fps, video only, 70.94MiB
17 3gp 176x144 small , mp4v.20.3, mp4a.40.2@ 24k
36 3gp 320x180 small , mp4v.20.3, mp4a.40.2
43 webm 640x360 medium , vp8.0, vorbis@128k
18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k
22 mp4 1280x720 hd720 , avc1.64001F, mp4a.40.2@192k (best)


if you look at these codes spitted out from youtube-dl it shows you all the available video formats. I put the older formats in bold to show you what they look like

Those are the ones that the Video Quality function means.

I hope this helps.

Jeff
(2016-12-14, 18:45)jdf76 Wrote: [ -> ]
(2016-12-14, 18:03)UncleDirtNap Wrote: [ -> ]I've been using the Youtube addon in Openelec for awhile to search for and watch TMZ TV clips. Suddenly last week the option to hide watched clips stopped working. I tried uninstalling and reinstalling the addon to no avail. It's there in the left side panel but when I try to tick the radio button it just does nothing.
I think what you are trying to do is something that was removed as a part of the new set up. I know they are working on fixing the views for the skins, but for now i'm suggesting you download the unofficial version and disable auto-updates. I think this will temporarily give you what you want. Keep an eye on the thread and you should see when they have the views updated.

I ran into this issue as well. I am currently on Kodi 16.1 (OpenELEC 7.0.0). I deleted .kodi/addons/plugin.video.youtube and unpacked plugin.video.youtube.unofficial-5.3.5.zip in its place, but trying to enable "Hide wached" does not activate the radio-button. Any other ideas I can try?

EDIT: After uninstalling the plugin the right way and then installing plugin.video.youtube.unofficial-5.3.5.zip from the menu, it seems to work! Smile
@axlt2002 I don't know the exact reason but some videos are not (yet?) playable with dash. I guess it is a YouTube DRM thing
(2017-01-04, 15:56)jdf76 Wrote: [ -> ]
(2017-01-04, 15:03)axlt2002 Wrote: [ -> ]Thanks Jeff for your answer.

(2017-01-04, 03:05)jdf76 Wrote: [ -> ]Video Quality is an old function and really only deals with live video and old format. It doesn't control mdash.

Sorry if I make a stupid question but what does "old format" mean?

Not a stupid question at all.

Before mdash was introduced, which basically is the seperation of video/audio formats, youtube used to do it all in 1 format.

I'll give you an example...

format code extension resolution note
249 webm audio only DASH audio 52k , opus @ 50k (48000Hz), 1.76MiB
250 webm audio only DASH audio 71k , opus @ 70k (48000Hz), 2.25MiB
171 webm audio only DASH audio 112k , vorbis@128k (44100Hz), 3.54MiB
140 m4a audio only DASH audio 128k , m4a_dash container, mp4a.40.2@128k (44100Hz), 4.49MiB
251 webm audio only DASH audio 138k , opus @160k (48000Hz), 4.44MiB
278 webm 256x144 DASH video 112k , webm container, vp9, 30fps, video only, 3.20MiB
160 mp4 256x144 DASH video 113k , avc1.4d400c, 30fps, video only, 3.92MiB
133 mp4 426x240 DASH video 248k , avc1.4d4015, 30fps, video only, 8.66MiB
242 webm 426x240 DASH video 253k , vp9, 30fps, video only, 5.46MiB
243 webm 640x360 DASH video 458k , vp9, 30fps, video only, 9.73MiB
134 mp4 640x360 DASH video 586k , avc1.4d401e, 30fps, video only, 9.74MiB
244 webm 854x480 DASH video 825k , vp9, 30fps, video only, 16.31MiB
135 mp4 854x480 DASH video 1131k , avc1.4d401f, 30fps, video only, 19.45MiB
247 webm 1280x720 DASH video 1617k , vp9, 30fps, video only, 32.70MiB
136 mp4 1280x720 DASH video 2065k , avc1.4d401f, 30fps, video only, 37.45MiB
248 webm 1920x1080 DASH video 2962k , vp9, 30fps, video only, 63.60MiB
137 mp4 1920x1080 DASH video 3651k , avc1.640028, 30fps, video only, 70.94MiB
17 3gp 176x144 small , mp4v.20.3, mp4a.40.2@ 24k
36 3gp 320x180 small , mp4v.20.3, mp4a.40.2
43 webm 640x360 medium , vp8.0, vorbis@128k
18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k
22 mp4 1280x720 hd720 , avc1.64001F, mp4a.40.2@192k (best)


if you look at these codes spitted out from youtube-dl it shows you all the available video formats. I put the older formats in bold to show you what they look like

Those are the ones that the Video Quality function means.

I hope this helps.

Jeff

Wow! This is making everything really clear! Thanks a lot Jeff for your kind support and explaination.

Anyway, if I will have some news from the developers of the inputstream about the "issue" I have reported in my previous post, I will report here.

Have a great day!
(2017-01-05, 00:14)grey14 Wrote: [ -> ]@axlt2002 I don't know the exact reason but some videos are not (yet?) playable with dash. I guess it is a YouTube DRM thing

Mmmmmm...I'm not so sure about that...why put the DRM only on the highest resolution? DRM should be related to the content and not to its format.

Anyway, using a Firefox plugin to download YouTube videos, this is what it shows as download links options:

Image

Image

So, if I select the MP4 1080p video-only (first picture, 6th option), the plugin download also the audio-only (second picture, last option) and merge them at the end. As you can see from the first picture, there is also an "old format" at 720p that includes an AAC audio (1st option)...it seems that this is the one that is played in Kody.

@Jeff, according to your explaination, do you think that is possible that YouTube add-on is "wrongly" choosing the "old format" instead of demanding the DASH managment to the inputstream.adaptive?
(2017-01-05, 12:53)axlt2002 Wrote: [ -> ]@Jeff, according to your explaination, do you think that is possible that YouTube add-on is "wrongly" choosing the "old format" instead of demanding the DASH managment to the inputstream.adaptive?

You've probably done this already but if you could do me a favor and send me a debug log (wiki). basically I need it from when you have mdash enabled and when you select that video.

Thanks
Jeff
(2017-01-05, 15:07)jdf76 Wrote: [ -> ]
(2017-01-05, 12:53)axlt2002 Wrote: [ -> ]@Jeff, according to your explaination, do you think that is possible that YouTube add-on is "wrongly" choosing the "old format" instead of demanding the DASH managment to the inputstream.adaptive?

You've probably done this already but if you could do me a favor and send me a debug log (wiki). basically I need it from when you have mdash enabled and when you select that video.

Thanks
Jeff

Thanks Jeff for your answer. Please find the debug log at the following link.

Let me know if you need further information.

Cheers! Smile
(2017-01-05, 16:02)axlt2002 Wrote: [ -> ]Thanks Jeff for your answer. Please find the debug log at the following link.

Let me know if you need further information.

Cheers! Smile

Are these Livestream videos?

jeff
(2017-01-05, 21:07)jdf76 Wrote: [ -> ]
(2017-01-05, 16:02)axlt2002 Wrote: [ -> ]Thanks Jeff for your answer. Please find the debug log at the following link.

Let me know if you need further information.

Cheers! Smile

Are these Livestream videos?

jeff

Hi Jeff!

It is a live concert...but not a live stream Blush You can watch it following this link. Check it...under YouTube add-on you can find it by searching "retinal circus"...Does your pc reproduce it at 720p or 1080p?
Nah no problem. I just wanted to make sure it wasn't a live stream content.
Hi there. I need a few volunteers to test out an update for Windows and linux (not libreElec).

Test version here

Basically i've tested it with LibreElec and it works fine, so i need windows to test it and someone on a linux based platform like ubuntu or something. I lack a windows machine to test this.

I need you to test the mpeg-dash function and play videos.

If you guys could get back to me tomorrow or Saturday that would be great so i could push this out.

Thanks
Jeff
Running kodi 17 RC on android TV (Shield TV) and STILL NO DASH.
(2017-01-06, 18:21)[Ad0] Wrote: [ -> ]Running kodi 17 RC on android TV (Shield TV) and STILL NO DASH.


With the test version?

Jeff


Sent from my iPhone