[Fixed]YouTube black screen problem

Requests, suggestions, support, and everything else python / plugin related.
Post Reply
User avatar
sahib12
Posts: 285
Joined: Wed Jan 02, 2013 3:13 pm
Location: Liberty City
Has thanked: 8 times
Been thanked: 16 times
Contact:

[Fixed]YouTube black screen problem

Post by sahib12 »

Hey whats up, i tried using youtube yesterday and the videos would not show their video, the audio plays fine but the screen is just black, i've tried it with various videos that have worked before, i also tried it on my other xbox and the same problem happened.

Here's the debug log... http://www.xbmclogs.com/show.php?id=71302
Last edited by sahib12 on Thu Oct 31, 2013 11:32 pm, edited 1 time in total.
Image
User avatar
sahib12
Posts: 285
Joined: Wed Jan 02, 2013 3:13 pm
Location: Liberty City
Has thanked: 8 times
Been thanked: 16 times
Contact:

Re: [Sort of fixed] YouTube black screen problem

Post by sahib12 »

I have sort of resolved this, on the plugin settings i changed it from SD only to 'ask' so now it asks me what quality i want it to be. Before on SD only it came up with a black screen, and on 360p i found out it dont work so now i always use 380p but it would of been better if i can just leave the option on SD only so i dont have to choose the quality all the time.
Image
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: YouTube black screen problem

Post by Dan Dar3 »

I'd say these are the interesting lines in the log, seems it wasn't able to find an available codec?! It probably went blank cause it was just trying to play the audio stream, which was able to identify (last line below confirms)

Code: Select all

13:43:06 M: 18333696   DEBUG: ffmpeg[22C]: [matroska,webm] parser not found for codec vorbis, packets or times may be invalid.
13:43:08 M: 11993088   DEBUG: ffmpeg[22C]: [matroska,webm] decoding for stream 0 failed
13:43:08 M: 11993088   DEBUG: ffmpeg[22C]: [matroska,webm] Could not find codec parameters (Video: unknown_codec, 640x352)
13:43:08 M: 12095488   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished

Code: Select all

13:43:08 M: 12095488    INFO: ffmpeg[22C]:     Stream #0:0: Video: unknown_codec, 640x352, SAR 1:1 DAR 20:11, 1k fps, 25 tbr, 1k tbn, 1k tbc (default)
13:43:08 M: 12095488    INFO: ffmpeg[22C]:     Stream #0:1: Audio: vorbis, 44100 Hz, stereo, s16 (default)
13:43:08 M: 12095488   DEBUG: CDVDInputStreamFile::SetReadRate - set cache throttle rate to 228242 bytes per second
13:43:08 M: 12095488  NOTICE: Opening video stream: 0 source: 256
13:43:08 M: 12095488  NOTICE: Creating video codec with codec id: 145
13:43:08 M: 12095488   DEBUG: FactoryCodec - Video:  - Opening
13:43:08 M: 12095488   DEBUG: CDVDVideoCodecFFmpeg::Open() Unable to find codec 145
13:43:08 M: 12095488   DEBUG: FactoryCodec - Video:  - Failed
13:43:08 M: 12095488   ERROR: Unsupported video codec
13:43:08 M: 12095488 WARNING: CDVDPlayer::OpenVideoStream - Unsupported stream 0. Stream disabled.
You could try looking at the log for same when it works from an "ask", see what's different.
That might help whoever is maintaining the YouTube plugin (see default.py for developer info).

It's possible that might YouTube might use a different video codec per resolution, that would explain why some work and others don't, or maybe the video doesn't actually support the particular size requested by the plugin and it will stream invalid data. From your log I would say this is the video: http://www.youtube.com/watch?v=8VWH13hJQWY
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: YouTube black screen problem

Post by BuZz »

probably was choosing a webm encoded video. settings -> video -> playback and set to "full codec support" for playback of webm currently. youtube should be left on ask anyway for the best choice of resolutions etc.
User avatar
sahib12
Posts: 285
Joined: Wed Jan 02, 2013 3:13 pm
Location: Liberty City
Has thanked: 8 times
Been thanked: 16 times
Contact:

Re: YouTube black screen problem

Post by sahib12 »

@Dan, Yes that is the video i attempted to play. I will get that other log up as soon as possible. The strange thing is that it always used to work before on 'SD only' but only recently it has stopped working.

@Buzz, i'll try that, cheers.
Image
User avatar
sahib12
Posts: 285
Joined: Wed Jan 02, 2013 3:13 pm
Location: Liberty City
Has thanked: 8 times
Been thanked: 16 times
Contact:

Re: [Fixed]YouTube black screen problem

Post by sahib12 »

It's all good now, i enabled the full codec support and now it works perfectly with SD only. I will leave it on 'ask' though to get the highest resolution. Thanks for the help. Maybe the full codec support option should be enabled manually for future builds?
Image
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: [Fixed]YouTube black screen problem

Post by BuZz »

It uses a lot more ram. Webm might be built into the smaller libs in the future though.
Post Reply