FAQ  •  Register  •  Login

Preferred online content quality question?

<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Tue Jan 12, 2016 11:58 pm

Re: Preferred online content quality question?

Here is an attempt to play a TuneIn station. It played for 0.5 seconds and after 30 seconds of silence, the TV tried the next station. Shortly later it failed with "File cannot be played".
Attachments
serviio-TuneIn.zip
(9.04 KiB) Downloaded 235 times
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Mon Jan 18, 2016 4:48 pm

Re: Preferred online content quality question?

Should I assume that these issues with these plugins and the Sony Bravia will simply die for lack of interest? Could a longer than 20 second timeout help if there's any way for me to do it (I've never programmed in Java)? Would installing Serviio on my wife's W7 laptop tell us anything, although I couldn't continue to use it?
  Code:
2016-01-12 18:40:13,593 DEBUG [AudioDeliveryEngine] Retrieving resource information for item 1000000240006658, format MP3 and profile Sony Bravia TV (2013/14)
2016-01-12 18:40:13,593 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://tuneinads.moodmedia.com/streams/tunein_new_age_with_ads.mp3
2016-01-12 18:40:13,593 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file http://tuneinads.moodmedia.com/streams/tunein_new_age_with_ads.mp3: MP3
2016-01-12 18:40:13,593 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000240006658 (online)
2016-01-12 18:40:13,593 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 24)
2016-01-12 18:40:13,625 DEBUG [TimeoutStreamDelegator] Scheduling stream stop to happen in 20 seconds if there is no traffic
2016-01-12 18:40:13,625 DEBUG [WebServer] I/O error: Software caused connection abort: socket write error
2016-01-12 18:40:13,625 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 24)
2016-01-12 18:40:13,625 DEBUG [AudioDeliveryEngine] Delivering item '1000000240006658' for client 'Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)'
2016-01-12 18:40:13,625 DEBUG [AudioDeliveryEngine] Delivering file 'http://tuneinads.moodmedia.com/streams/tunein_new_age_with_ads.mp3' using transcoding
2016-01-12 18:40:13,625 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)'
2016-01-12 18:40:13,625 DEBUG [StreamBasedTranscodingDeliveryStrategy] Already multiplexing stream output to client: Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)
2016-01-12 18:40:14,593 DEBUG [PipedOutputStreamMultiplexer] Caught exception: Read end dead
java.io.IOException: Read end dead
   at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:262)
   at java.io.PipedInputStream.awaitSpace(PipedInputStream.java:268)
   at java.io.PipedInputStream.receive(PipedInputStream.java:231)
   at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$3.call(PipedOutputStreamMultiplexer.java:87)
   at org.serviio.external.io.PipedOutputStreamMultiplexer$MultiplexCaller.multiplex(PipedOutputStreamMultiplexer.java:119)
   at org.serviio.external.io.PipedOutputStreamMultiplexer.write(PipedOutputStreamMultiplexer.java:89)
   at org.serviio.external.io.PipedOutputBytesReader.processOutput(PipedOutputBytesReader.java:58)
   at org.serviio.external.io.OutputReader.run(OutputReader.java:47)
2016-01-12 18:40:14,593 DEBUG [PipedOutputStreamMultiplexer] Removing client from multiplexer: Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jan 18, 2016 11:35 pm

Re: Preferred online content quality question?

Perhaps post again over in the "sony" thread. Those errors still look like a Sony TV problem to me. I'd suggest using a different tunein example because those two streams did not seem to play correctly for me using ffplay.
http://tuneinads.moodmedia.com/streams/ ... th_ads.mp3
http://stream5.eltelon.com/patagoniarad ... -music.aac
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Tue Jan 19, 2016 12:35 am

Re: Preferred online content quality question?

Thanks, I'll do that. Maybe just the CBS example? My problem is I REALLY don't know how those URLs are derived. I would have thought anything like *-ads.mp3 wouldn't even be used. Shortly after that example, that station started and streamed forever. All I knew was http://tunein.com/search/?query=new%20age . Problem with the plugins?

BTW: i just tried the same thing from my wife"s W7 laptop. The same inconsistent results.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jan 19, 2016 1:25 pm

Re: Preferred online content quality question?

then query "jazz" or your "location"
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Tue Jan 19, 2016 8:20 pm

Re: Preferred online content quality question?

Well, I've posted this viewtopic.php?f=11&t=21441 in the Sony thread. We'll see what happens. There are lots of failures in the logs to look at, but I can never predict the manner in which the failures will occur. Since Illico has stated before that he felt the problem must be an external server url that does not delivered a good rtmp stream format , I'm not going to hold my breath. I really like Serviio, but I would love to be able to get these streams going more than 10% to 30% of the time. Assuming this will not be resolved, is there any other software available that can handle these online feeds?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jan 19, 2016 9:10 pm

Re: Preferred online content quality question?

Check that the files that are failing on Serviio actually work on the original web pages. I found your Patagonia stream does not, which shows that illicos point that it could be a bad stream was correct.
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Tue Jan 19, 2016 9:42 pm

Re: Preferred online content quality question?

Geez, if Patagonia got in that log I REALLY don't know what I'm doing. In the log file you looked at, I used http://tunein.com/search/?query=new%20age as I recall. It had 9 stations, and to my recollection, I only attempted to stream "New Age Radio" http://tunein.com/radio/New-Age-Radio-s249939/ I must really be lost.
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Tue Jan 19, 2016 11:06 pm

Re: Preferred online content quality question?

I saw that link in the log, but I have no idea why. I never tried to play it.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jan 19, 2016 11:12 pm

Re: Preferred online content quality question?

Links play consecutively
TV tried the next station. Shortly later it failed with "File cannot be played".
seeline 680 on. Error looks the same as first station.
Is this happening on all 9 streams? and all other search urls or just these 2?
2016-01-12 18:40:46,531 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode audio file: http://stream5.eltelon.com/patagoniarad ... -music.aac
2016-01-12 18:40:46,531 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib\ffmpeg.exe -analyzeduration 10000000 -threads auto -i http://stream5.eltelon.com/patagoniarad ... -music.aac -y -threads auto -b:a 320k -id3v2_version 3 -ac 2 -c:v copy -f mp3 pipe:
2016-01-12 18:40:46,812 DEBUG [ServiioHttpService] Incoming request from /192.168.1.77:45722: POST /serviceControl HTTP/1.1, headers = [X-AV-Physical-Unit-Info: pa="BRAVIA KDL-48W600B";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-48W600B"; mv="1.7";,Host: 192.168.1.127:8895,User-Agent: UPnP/1.0 DLNADOC/1.50,Content-Length: 276,Content-Type: text/xml; charset="utf-8",SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"]]
2016-01-12 18:40:46,812 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.77
2016-01-12 18:40:46,812 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"' from 192.168.1.77
2016-01-12 18:40:46,812 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.77
2016-01-12 18:40:46,828 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2016-01-12 18:40:47,031 DEBUG [StreamBasedTranscodingDeliveryStrategy] Adding client to stream multiplexer: Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)
2016-01-12 18:40:47,843 DEBUG [StreamBasedTranscodingDeliveryStrategy] Already multiplexing stream output to client: Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)
2016-01-12 18:40:47,843 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file http://stream5.eltelon.com/patagoniarad ... -music.aac: MP3
2016-01-12 18:40:47,843 DEBUG [GETMethodProcessor] Stream entity has length: 900000000
2016-01-12 18:40:47,843 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2016-01-12 18:40:47,843 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: audio/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,contentFeatures.dlna.org: DLNA.ORG_PN=MP3;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,Date: Tue, 12 Jan 2016 23:40:47 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Windows XP, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2016-01-12 18:40:48,343 DEBUG [ServiioHttpService] Incoming request from /192.168.1.77:45723: GET /resource/1000000240007909/MEDIA_ITEM/MP3-0/ORIGINAL HTTP/1.1, headers = [getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-48W600B";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-48W600B"; mv="1.7";,Host: 192.168.1.127:8895]]
2016-01-12 18:40:48,343 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.77
2016-01-12 18:40:48,343 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.77
2016-01-12 18:40:48,343 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)'
2016-01-12 18:40:48,343 DEBUG [ResourceDeliveryProcessor] Request for resource 1000000240007909 and type 'MEDIA_ITEM' received
2016-01-12 18:40:48,343 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000240007909 (online)
2016-01-12 18:40:48,343 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 24)
2016-01-12 18:40:48,343 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 24)
2016-01-12 18:40:48,343 DEBUG [AudioDeliveryEngine] Retrieving resource information for item 1000000240007909, format MP3 and profile Sony Bravia TV (2013/14)
2016-01-12 18:40:48,343 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://stream5.eltelon.com/patagoniarad ... -music.aac
2016-01-12 18:40:48,343 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file http://stream5.eltelon.com/patagoniarad ... -music.aac: MP3
2016-01-12 18:40:48,343 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000240007909 (online)
2016-01-12 18:40:48,343 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 24)
2016-01-12 18:40:48,359 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 24)
2016-01-12 18:40:48,359 DEBUG [AudioDeliveryEngine] Delivering item '1000000240007909' for client 'Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)'
2016-01-12 18:40:48,359 DEBUG [AudioDeliveryEngine] Delivering file 'http://stream5.eltelon.com/patagoniaradiocl-cafe-music.aac' using transcoding
2016-01-12 18:40:48,359 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)'
2016-01-12 18:40:48,359 DEBUG [StreamBasedTranscodingDeliveryStrategy] Already multiplexing stream output to client: Identifier=192.168.1.77, Profile=Sony Bravia TV (2013/14)
2016-01-12 18:40:48,359 DEBUG [AudioDeliveryEngine] Found Format profile for transcoded file http://stream5.eltelon.com/patagoniarad ... -music.aac: MP3
2016-01-12 18:40:48,359 DEBUG [GETMethodProcessor] Stream entity has length: 900000000
2016-01-12 18:40:48,359 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2016-01-12 18:40:48,359 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: audio/mpeg,Accept-Ranges: none,Cache-control: no-cache,Connection: close,contentFeatures.dlna.org: DLNA.ORG_PN=MP3;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=8D500000000000000000000000000000,Date: Tue, 12 Jan 2016 23:40:48 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Windows XP, UPnP/1.0 DLNADOC/1.50, Serviio/1.5.2,transferMode.dlna.org: Streaming]]
2016-01-12 18:40:49,265 DEBUG [WebServer] I/O error: Pipe broken
2016-01-12 18:40:49,500 DEBUG [TimeoutStreamDelegator] Scheduling stream stop to happen in 20 seconds if there is no traffic
2016-01-12 18:40:49,500 DEBUG [WebServer] I/O error: Software caused connection abort: socket write error
2016-01-12 18:40:49,687 DEBUG [PipedOutputStreamMultiplexer] Caught exception: Read end dead
java.io.IOException: Read end dead
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Wed Jan 20, 2016 12:32 am

Re: Preferred online content quality question?

ALL TUneIn stations normally fail to start on the 1st 2nd or 3rd try, but I'll try all these 9 New Age stations now and let you know tomorrow. Almost time for NCIS. :)
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Wed Jan 20, 2016 2:36 pm

Re: Preferred online content quality question?

The TV sees 7 of those 9 stations, including Patagonia that I Never noticed because I Never played it. All stations played after 2 to 10 attempts to kick-start them, except Patagonia that resulted in "... access prohibited by server". Those stations, except for Patagonia, all play in Firefox.

Illico has replied to my post at viewtopic.php?f=11&t=21441&p=106378#p106378 with some requests that are WAY over my head at this point. Can you help me understand what he's asking for, from the command line, and what to expect? Also, what is a "ffmpeg log" and where is it found?

Thanks.
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Wed Jan 20, 2016 5:07 pm

Re: Preferred online content quality question?

To followup on my previous post, the commands he's talking about aren't valid CMD (DOS) Commands. Is it assumed I have some other Terminal Emulator installed? What kind of environment am I expected to learn to program in to help find these problems?
<<

fidmas

Serviio lover

Posts: 96

Joined: Thu Dec 17, 2015 8:29 pm

Post Wed Jan 20, 2016 6:07 pm

Re: Preferred online content quality question?

I just replied to Illico with this:

Can you help me get the info you need? This is all new to me.

One thing at a time. Lets pick TuneIn audio.

1) What do I look for in the log? I assume 'debug log'?
2) The commands you're asking me to "Paste" into a TERMINAL session are not valid CMD (DOS) commands. Do I need another Terminal Emulator or can I just run ffmpeg in CMD? If so, please give me instructions (input, output, switches)?

If I can get the hang of this, I'll try to get info on CBS.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jan 20, 2016 6:27 pm

Re: Preferred online content quality question?

Moved to the Support forum.
Previous

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 42 guests

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