Sign up here and you can log into the forum!

YoutubeHD fix (August 2011)

youtube/live365/pandora/flickr replacements & other web services

Re: YoutubeHD fix (August 2011)   

Postby RMerlin » Sat Aug 06, 2011 7:52 pm

jk2011 wrote:You Tube no longer offers 720p for most of the videos. So I suppose we will be stuck now.

The example video was not picked by search, but just using the Favourites menu.


I watched a lot of 720P videos recently, so I doubt that's the case.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider donating.
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: YoutubeHD fix (August 2011)   

Postby mad_ady » Sat Aug 06, 2011 11:23 pm

I managed to download all qualities from the above test video and tested them all on the wdtv. The flv format plays just fine, except for quality 5 (240P) which is encoded with Sorenson H263.

Here is how quality 35 looks like (480P):
Code: Select all
adrianp@stingray:/media/kits/wdtv-kits/test-video/youtube$ mediainfo large-quality35.flv
General
Complete name                    : large-quality35.flv
Format                           : Flash Video
File size                        : 14.4 MiB
Duration                         : 1mn 47s
Overall bit rate                 : 1 122 Kbps
httphostheader                   : o-o.preferred.rds-otp1.v15.lscache8.c.youtube.com

Video
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Main@L3.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Format settings, GOP             : M=1, N=17
Codec ID                         : 7
Duration                         : 1mn 47s
Bit rate                         : 986 Kbps
Width                            : 854 pixels
Height                           : 480 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.100
Stream size                      : 12.7 MiB (88%)

Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 10
Duration                         : 1mn 47s
Bit rate                         : 129 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 44.1 KHz
Compression mode                 : Lossy
Stream size                      : 1.66 MiB (11%)



Also, for reference, here's how the webm format looks like:
Code: Select all
adrianp@stingray:/media/kits/wdtv-kits/test-video/youtube$ mediainfo large-quality44.webm
General
Complete name                    : large-quality44.webm
Format                           : WebM
File size                        : 16.0 MiB
Duration                         : 1mn 47s
Overall bit rate                 : 1 246 Kbps
Writing application              : google
Writing library                  : google

Video
ID                               : 1
Format                           : VP8
Codec ID                         : V_VP8
Duration                         : 1mn 47s
Bit rate                         : 1 060 Kbps
Width                            : 854 pixels
Height                           : 480 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Compression mode                 : Lossy
Bits/(Pixel*Frame)               : 0.108
Stream size                      : 13.6 MiB (85%)
Language                         : English

Audio
ID                               : 2
Format                           : Vorbis
Format settings, Floor           : 1
Codec ID                         : A_VORBIS
Duration                         : 1mn 47s
Bit rate                         : 128 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 44.1 KHz
Compression mode                 : Lossy
Stream size                      : 1.65 MiB (10%)
Language                         : English


Google added webm support for these qualities:
Code: Select all
adrianp@stingray:/media/kits/wdtv-kits/test-video/youtube$ ls *.webm
hd720-quality45.webm  large-quality44.webm  medium-quality43.webm

... and from what I've seen they're slightly larger (5-10%) than their flv/mp4 counterparts.

It is possible that newer videos have a different flv encoding, but I doubt it - why change it if it works and if you're planning to ditch flash anyway?
User avatar
mad_ady
Developer
 
Posts: 4552
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: YoutubeHD fix (August 2011)   

Postby jk2011 » Sun Aug 07, 2011 2:16 am

Watched few random videos and all seem to be working fine.

Thanks guys for quick action!
jk2011
Donor
 
Posts: 32
Joined: Sat Jul 16, 2011 2:40 am

Re: YoutubeHD fix (August 2011)   

Postby RMerlin » Sun Aug 07, 2011 10:17 am

jefbuan wrote:same here i cant get my youtube HD work,,i already set it to 720P
here's my log message:
Jan 1 00:09:05 WDLXTV-8f727 user.notice YoutubeHD: Requesting list: /feeds/api/videos?v=2&format=5&q=jlo&start-index=1&max-results=5&orderby=relevance
Jan 1 00:09:06 WDLXTV-8f727 user.notice YoutubeHD: Requesting list: /feeds/api/videos?v=2&format=5&q=jlo&start-index=6&max-results=1&orderby=relevance
Jan 1 00:09:10 WDLXTV-8f727 user.notice YoutubeHD: Requesting video ID t4H_Zoh7G5A
Jan 1 00:09:10 WDLXTV-8f727 user.notice YoutubeHD: No fmt_map found - falling back to basic playback


That video plays fine for me. You probably aren't using the new proxy.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider donating.
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: YoutubeHD fix (August 2011)   

Postby davron94 » Sun Aug 07, 2011 6:19 pm

RMerlin wrote:Youtube did quite a few changes to their website, which broke YoutubeHD.

I rewrote the scraper to deal with the new format. To get the new proxy code on your WDTV:

WDLXTV 0.4.7.3 and newer:
Try rebooting your WDTV, and see if YoutubeHD works again. If not, you need to force the download of the updated proxies. To do so, create (or modify if you already have one) /conf/S99user-script, so it contains:

Code: Select all
#!/bin/sh

# any existing content

/usr/bin/getproxies


Then reboot.

WDLXTV below 0.4.7.3:
Upgrade to 0.4.7.3, or fix it yourself - it's not trivial, but there are posts on the forums showing you how to patch it.





How do I know if YouTube is working in HD? The screen shows the "HD" watermark, but all of the videos that i have chosen to watch are in SD. Is there an HD video that i can view to confirm that my YouTube is working in HD?
davron94
DLX'er
 
Posts: 182
Joined: Tue Aug 10, 2010 10:26 am

Re: YoutubeHD fix (August 2011)   

Postby mad_ady » Sun Aug 07, 2011 9:39 pm

Make sure the YOUTUBE_QUALITY parameter is set to 720P or 1080P to get hd content. You can check/set this parameter via the web interface.
From what you post it seems everything is working fine for the quality you selected.
User avatar
mad_ady
Developer
 
Posts: 4552
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: YoutubeHD fix (August 2011)   

Postby RMerlin » Mon Aug 08, 2011 5:59 am

davron94 wrote:How do I know if YouTube is working in HD? The screen shows the "HD" watermark, but all of the videos that i have chosen to watch are in SD. Is there an HD video that i can view to confirm that my YouTube is working in HD?


i always use the nVidia Purevideo 1080 HD video (search it on Youtube) for my tests.

While it's playing, looking at /tmp/messages.txt will tell you which quality is currently being played. The explanation for each Quality values can be found on Wikipedia's Youtube page - there's a table there listing qualities.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider donating.
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: YoutubeHD fix (August 2011)   

Postby davron94 » Mon Aug 08, 2011 11:22 am

RMerlin wrote:
davron94 wrote:How do I know if YouTube is working in HD? The screen shows the "HD" watermark, but all of the videos that i have chosen to watch are in SD. Is there an HD video that i can view to confirm that my YouTube is working in HD?


i always use the nVidia Purevideo 1080 HD video (search it on Youtube) for my tests.

While it's playing, looking at /tmp/messages.txt will tell you which quality is currently being played. The explanation for each Quality values can be found on Wikipedia's Youtube page - there's a table there listing qualities.



Thanks for the info! would I be looking at this /tmp/messages.txt through the WEC on the computer while the video is running on the TV?
davron94
DLX'er
 
Posts: 182
Joined: Tue Aug 10, 2010 10:26 am

Re: YoutubeHD fix (August 2011)   

Postby KAD » Mon Aug 08, 2011 11:38 am

I think what you're looking for will be in dmaosd.log

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: YoutubeHD fix (August 2011)   

Postby webazoid » Mon Aug 08, 2011 11:38 am

Thanks! Rebooted and YT HD works again!
webazoid
n00b
 
Posts: 14
Joined: Sat Apr 16, 2011 1:44 pm

PreviousNext

Return to WDTVL Proxy Project

Who is online

Users browsing this forum: No registered users and 2 guests