FAQ  •  Register  •  Login

YouTube

<<

roaming

Serviio newbie

Posts: 18

Joined: Mon Jan 09, 2012 9:39 pm

Location: Porto, Portugal

Post Tue Jan 10, 2012 12:03 am

Re: YouTube plugin no longer works with 0.6.1

Everything was fine before upgrading to v0.6.1 ... Now, the YouTube links I used with v0.6.0.1, type

http://gdata.youtube.com/feeds/api/play ... be-profile

still show up on my Samsung TV index but inside there are no videos listed. Can anybody help? Is the new Serviio version the problem, the YouTube plugin or what?
---
Roaming, free the speech...
http://roaming.op351.net/
Porto * PORTUGAL

netRADIO | photoBLOG
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Jan 10, 2012 6:45 am

Re: YouTube

works perfect for my on samsung.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

sucka_punch

Streaming enthusiast

Posts: 21

Joined: Sun Mar 27, 2011 9:31 am

Location: Suedtirol

Post Tue Jan 10, 2012 7:58 am

Re: YouTube

Hi.

With the the quality setting on medium the audio/video quality is far below the medium-setting quality in the 6.0.1.
Its almost unwatchable with the 6.1 version.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Jan 10, 2012 8:16 am

Re: YouTube

sucka_punch wrote:Hi.

With the the quality setting on medium the audio/video quality is far below the medium-setting quality in the 6.0.1.
Its almost unwatchable with the 6.1 version.


on what device? look perfectly fine to me on the samsung C series
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

sucka_punch

Streaming enthusiast

Posts: 21

Joined: Sun Mar 27, 2011 9:31 am

Location: Suedtirol

Post Tue Jan 10, 2012 8:37 am

Re: YouTube

Cerberus wrote:
sucka_punch wrote:Hi.

With the the quality setting on medium the audio/video quality is far below the medium-setting quality in the 6.0.1.
Its almost unwatchable with the 6.1 version.


on what device? look perfectly fine to me on the samsung C series



With both clients Playstation 3 and Panasonic Viera TX.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Jan 10, 2012 9:08 am

Re: YouTube

again ps3 look fine quality wise to me but then will depend on the feed you pick.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

sucka_punch

Streaming enthusiast

Posts: 21

Joined: Sun Mar 27, 2011 9:31 am

Location: Suedtirol

Post Tue Jan 10, 2012 9:33 am

Re: YouTube

Cerberus wrote:again ps3 look fine quality wise to me but then will depend on the feed you pick.



I have 10 different feeds in the list. The problem is on every feed and video.
The video/audio qualitiy here with the medium-setting was far better in the previous version.
Last edited by sucka_punch on Tue Jan 10, 2012 9:46 am, edited 1 time in total.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 10, 2012 9:35 am

Re: YouTube

Will be fixed in 0.6.2 shortly
<<

roaming

Serviio newbie

Posts: 18

Joined: Mon Jan 09, 2012 9:39 pm

Location: Porto, Portugal

Post Tue Jan 10, 2012 9:41 am

Re: YouTube

What has quality to do with missing video-clips? Can anyone tell me an example of working Source URL for an Online RSS/Atom feed on Serviio v0.6.1? For me, on a Samsung C5**, even if I use a simple Source URL like

http://gdata.youtube.com/feeds/api/play ... 7C8FE8?v=2

I can get it on the TV index but no clips inside !! Will next version 0.6.2 fix this too? Online RSS/Atom feeds were working fine on previous version...
---
Roaming, free the speech...
http://roaming.op351.net/
Porto * PORTUGAL

netRADIO | photoBLOG
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 10, 2012 9:44 am

Re: YouTube

Some seetings have been changed in the plugin not to use certain youtube video formats. It's possible that this feed only uses the ones that have been removed. But generally it should work.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jan 10, 2012 5:51 pm

Re: YouTube

With the the quality setting on medium the audio/video quality is far below the medium-setting quality in the 6.0.1.
Its almost unwatchable with the 6.1 version.
The latest YT plug-in dated 5/1/2012 in the first post does not contain the correct medium quality index to match the corrected format list. It should be set at 2 instead if 5.

Here's the change I made to correct that:
  Code:
   //sortAvailableFormatUrls(availableFormats.getAt(5..availableFormats.size-1), allFormatUrlMap, formatUrlMap)
   // changed for revised list and to get 480 (format 35) for medium.
   sortAvailableFormatUrls(availableFormats.getAt(2..availableFormats.size-1), allFormatUrlMap, formatUrlMap)
               
<<

sucka_punch

Streaming enthusiast

Posts: 21

Joined: Sun Mar 27, 2011 9:31 am

Location: Suedtirol

Post Wed Jan 11, 2012 2:51 pm

Re: YouTube

jhb50 wrote:
With the the quality setting on medium the audio/video quality is far below the medium-setting quality in the 6.0.1.
Its almost unwatchable with the 6.1 version.
The latest YT plug-in dated 5/1/2012 in the first post does not contain the correct medium quality index to match the corrected format list. It should be set at 2 instead if 5.

Here's the change I made to correct that:
  Code:
   //sortAvailableFormatUrls(availableFormats.getAt(5..availableFormats.size-1), allFormatUrlMap, formatUrlMap)
   // changed for revised list and to get 480 (format 35) for medium.
   sortAvailableFormatUrls(availableFormats.getAt(2..availableFormats.size-1), allFormatUrlMap, formatUrlMap)
               



Thanks a lot. With this change made the quality is audio/video quality is good again.
<<

jctoad

User avatar

Streaming enthusiast

Posts: 42

Joined: Sat Dec 24, 2011 8:41 am

Location: Michigan, USA

Post Wed Jan 11, 2012 9:04 pm

Re: YouTube

I tested the link that was posted for the movie trailers right after you posted it. I'm just getting around to posting my results. I saw no difference either between medium and high using a smp-n100 box, so it's definitely something that affects multiple hardware platforms.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Jan 20, 2012 5:30 pm

Re: YouTube

This is all documented in the wiki. Just search for your video code.
<<

xtrapeque

Streaming enthusiast

Posts: 26

Joined: Thu Jan 19, 2012 10:51 pm

Post Thu Jan 26, 2012 7:35 pm

Re: YouTube

Hello, I have a problem / curiosity with this application, the problem is that I can see a live video, the problem is that it does not, I put the user rss but this "live video" not be.

  Code:
http://www.youtube.com/watch?v=One2Jbph-Po&list=PL6593C96E99C466E7&feature=mh_lolz


Is there any way?

sorry google translator
<<

jctoad

User avatar

Streaming enthusiast

Posts: 42

Joined: Sat Dec 24, 2011 8:41 am

Location: Michigan, USA

Post Fri Jan 27, 2012 3:56 am

Re: YouTube

Hi xtrapeque,
Did you get the youtube.groovy plugin? You need that first.
Next you need to modify the link.

http://www.youtube.com/watch?v=One2Jbph-Po&list=PL6593C96E99C466E7&feature=mh_lolz
becomes
http://gdata.youtube.com/feeds/api/playlists/6593C96E99C466E7?v=2
I thought this would work, but I can not make it work. I have never used a live feed from youtube.
It does not work when selecting an online rss feed or live stream.
This is basically how to change the link for all playlists, but there may be a problem with Serviio or it might be that I don't know what I am doing when it is a live stream. Some one else should be able to help you soon. I would like to know how to make it work also. :?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Jan 27, 2012 6:07 pm

Re: YouTube

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Jan 27, 2012 7:34 pm

Re: YouTube

It appears there is a bug in Serviio that prevents this file from playing:

The feed is successfully added to Serviio per the following log.
While the log reports the icon could not be retrieved, a test of that link yields a grey icon. The log also says that the transcoded file cannot be retrieved yet after the message is issued, the file does begin to transcode. Accessing the raw youtube file url as shown in the log shows it is a 1.99 gig liveplay file and accessing the transcode .stf as an .mpg shows it is an AVC/mp3 formatted file.
2012-01-27 14:02:56,692 DEBUG [OnlineLibraryManager] Resource http://gdata.youtube.com/feeds/api/vide ... ne2Jbph-Po not in cache yet, loading it
2012-01-27 14:02:56,692 DEBUG [FeedParser] Parsing feed 'http://gdata.youtube.com/feeds/api/videos?v=2&q=One2Jbph-Po'
2012-01-27 14:02:57,131 DEBUG [FeedParser] Found matching url extractor (YouTube) for resource http://gdata.youtube.com/feeds/api/vide ... ne2Jbph-Po
2012-01-27 14:02:57,168 DEBUG [FeedItemUrlExtractor] YouTube: Starting extraction of url for item: ONDA CADIZ TELEVISION
2012-01-27 14:02:57,549 DEBUG [FeedItemUrlExtractor] YouTube: Finished extraction of url: ContentURLContainer [fileType=VIDEO, contentUrl=http://o-o.preferred.yyz06s01.v20.lscache3.c.youtube.com/liveplay?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Csource%2Cns%2Calgorithm%2Cburst%2Cfactor%2Ccp&fexp=918100%2C913601%2C914102&algorithm=throttle-factor&itag=34&ipbits=8&burst=40&sver=3&signature=4AF90CD8090D5C95E5024F13D26028BBAF6ED62A.2B97AD3D5229CDADFD966607860BF9D1852CD946&source=youtube&expire=1327717509&key=yt1&ip=173.0.0.0&cp=U0hRTFdMVV9FU0NOMV9PRllGOmJ3MDRaYU5mVGlS&factor=1.25&ns=yt-live&id=One2Jbph-Po, thumbnailUrl=http://i4.ytimg.com/vi/One2Jbph-Po/default.jpg, live=false, expiresOn=Fri Jan 27 21:25:09 EST 2012, expiresImmediately=false, cacheKey=http://www.youtube.com/watch?v=One2Jbph-Po&feature=youtube_gdata_34]
2012-01-27 14:02:57,549 DEBUG [FeedParser] Added feed item 1: 'ONDA CADIZ TELEVISION' (http://o-o.preferred.yyz06s01.v20.lscac ... ne2Jbph-Po)
2012-01-27 14:02:57,549 DEBUG [OnlineContentCacheDecorator] Stored online content 'http://gdata.youtube.com/feeds/api/videos?v=2&q=One2Jbph-Po' in the cache (online_feeds), returning it
2012-01-27 14:02:57,549 DEBUG [OnlineLibraryManager] Feed http://gdata.youtube.com/feeds/api/vide ... ne2Jbph-Po will expire in the cache on Sat Jan 28 14:02:57 EST 2012
2012-01-27 14:02:57,549 DEBUG [FeedUpdaterThread] Retrieving file size from the URL connection
2012-01-27 14:02:58,208 DEBUG [FeedUpdaterThread] Retrieving information about the video stream 'ONDA CADIZ TELEVISION'
2012-01-27 14:03:47,702 DEBUG [TechnicalMetadataCacheDecorator] Stored technical metadata for online item 'http://www.youtube.com/watch?v=One2Jbph-Po&feature=youtube_gdata_34' in the cache (online_technical_metadata), returning it
2012-01-27 14:03:47,703 DEBUG [OnlineLibraryManager] Thumbnail http://i4.ytimg.com/vi/One2Jbph-Po/default.jpg not in cache yet, loading it
2012-01-27 14:03:48,300 WARN [FeedUpdaterThread] An error occured while retrieving thumbnail, will remove it from the item the and will continue
org.serviio.library.online.CannotRetrieveThumbnailException: Failed to download thumbnail http://i4.ytimg.com/vi/One2Jbph-Po/default.jpg.
at org.serviio.library.online.OnlineLibraryManager.findThumbnail(OnlineLibraryManager.java:264)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:106)
Caused by: java.io.FileNotFoundException: http://i4.ytimg.com/vi/One2Jbph-Po/default.jpg
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.serviio.util.HttpClient.retrieveBinaryFileFromURL(HttpClient.java:73)
at org.serviio.library.online.OnlineLibraryManager.findThumbnail(OnlineLibraryManager.java:256)
... 1 more
2012-01-27 14:04:48,301 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2012-01-27 14:05:12,403 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\windows\TEMP\Serviio\transcoding-temp-1000000000570001-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\windows\TEMP\Serviio\transcoding-temp-1000000000570001-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
<<

WhizzWr

Serviio newbie

Posts: 6

Joined: Fri Jan 27, 2012 8:12 pm

Post Fri Jan 27, 2012 8:33 pm

Re: YouTube

Anyone able to get Youtube Top 100 Music this week on Servioo?
Youtube API doesn't provide API for that purpose AFAIK.

So I made a plugin request.
http://forum.serviio.org/viewtopic.php?f=21&t=5053
<<

sam_1421

Serviio newbie

Posts: 16

Joined: Tue Aug 23, 2011 3:44 am

Location: Québec

Post Fri Jan 27, 2012 9:12 pm

Re: YouTube

Is there a way to play HD videos via Serviio? Because the default quality is really bad :(
PreviousNext

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 54 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.