FAQ  •  Register  •  Login

YouTube

<<

jhb50

DLNA master

Posts: 2856

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: 2856

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: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Jan 27, 2012 6:07 pm

Re: YouTube

<<

jhb50

DLNA master

Posts: 2856

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 :(
<<

xtrapeque

Streaming enthusiast

Posts: 26

Joined: Thu Jan 19, 2012 10:51 pm

Post Sat Jan 28, 2012 12:14 am

Re: YouTube

Do I still channel the problem is?, Because in my samsung tv with the YouTube application, loading the channel is only 4 seconds and moves to the next video
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Jan 28, 2012 2:02 am

Re: YouTube

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

Please read the Serviio documentation and this thread for the information on how to setup quality.
Last edited by jhb50 on Sat Jan 28, 2012 4:44 pm, edited 1 time in total.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Jan 28, 2012 4:42 pm

Re: YouTube

xtrapeque wrote:Do I still channel the problem is?, Because in my samsung tv with the YouTube application, loading the channel is only 4 seconds and moves to the next video

I do not understand your question..explain what you have done and what does not work that you expected.
<<

Apo14

Serviio newbie

Posts: 4

Joined: Sat Jan 28, 2012 10:09 pm

Post Sat Jan 28, 2012 11:56 pm

Re: YouTube

Hey guys,

i have just integrated some youtube channels into serviio.

When testing the videos, i noticed that the sound is very wierd...
sounds like the frequencys or the sample rates are wrong.

can someone agree to this problem? does anyone experience the same?

how can i resolve this?

already played with quality settings but nothing helped.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Jan 29, 2012 12:32 am

Re: YouTube

Never had any YT problems. How did you "integrate" them? Did you use the links as described in the Wiki entry "How to Get YouTube Videos to Play in Serviio" ? http://wiki.serviio.org/doku.php?id=you_tube_videos
<<

Apo14

Serviio newbie

Posts: 4

Joined: Sat Jan 28, 2012 10:09 pm

Post Sun Jan 29, 2012 12:38 am

Re: YouTube

Ok sry...

found out this problem occured with the new ffmpeg.exe which i updated before.

i wanted to upgrade to 8.0 but seems to cause this problem.

now im back to the original serviio version.
<<

xtrapeque

Streaming enthusiast

Posts: 26

Joined: Thu Jan 19, 2012 10:51 pm

Post Sun Jan 29, 2012 11:52 am

Re: YouTube

jhb50 wrote:
xtrapeque wrote:Do I still channel the problem is?, Because in my samsung tv with the YouTube application, loading the channel is only 4 seconds and moves to the next video

I do not understand your question..explain what you have done and what does not work that you expected.



the problem is described in the previous page.

can not watch one channel live on youtube
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 30, 2012 1:20 am

Re: YouTube

Post the "one channel live " that you are trying to "watch on Serviio" and I will test it.
<<

xtrapeque

Streaming enthusiast

Posts: 26

Joined: Thu Jan 19, 2012 10:51 pm

Post Mon Jan 30, 2012 12:20 pm

Re: YouTube

jhb50 wrote:Post the "one channel live " that you are trying to "watch on Serviio" and I will test it.



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


This is the channel, thanks for test it.
<<

jhb50

DLNA master

Posts: 2856

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 30, 2012 3:57 pm

Re: YouTube

First, you have not read the documentation on how to get yt videos in Serviio.

Secondly, you have not read this thread to see that another user made the same error, and see the solution. When you do, you will also see that there is a problem with Serviio playing that yt stream.

see http://forum.serviio.org/viewtopic.php?f=20&t=3276&start=110#p35504
PreviousNext

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 1 guest

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