FAQ  •  Register  •  Login

Online content DC

<<

Conic

Serviio newbie

Posts: 10

Joined: Sun Apr 08, 2012 1:41 am

Post Sun May 26, 2013 8:03 pm

Online content DC

Hi, in the first case i want apologize for my bad english. Now on the subject.

I have problem with online content. I install serviio 1.2.1 on my NAS QNAP TS-119, on my friend notebook and my PC. In all cases after some time (1-3 minutes), serviio is disconnected from my TV. I look in log and there wasnt anything. So i dont know where is problem. I tried it on Samsung UE32ES6800, UE40ES6300 and UE32ES5500, all time same result. I tried it with youtube plugin, live streams and TED. Can you help me with this? Thanks so much.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun May 26, 2013 8:05 pm

Re: Online content DC

Does this happen only with online content or local too?
<<

Conic

Serviio newbie

Posts: 10

Joined: Sun Apr 08, 2012 1:41 am

Post Sun May 26, 2013 8:19 pm

Re: Online content DC

Only online content. I tried serviio in my friend home, his pc, his tv and same think. Dunno why this is happening. :(
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun May 26, 2013 8:27 pm

Re: Online content DC

Are you wifi or wired? If wifi, try wires. Also might be a good idea to try a different router?
<<

Conic

Serviio newbie

Posts: 10

Joined: Sun Apr 08, 2012 1:41 am

Post Sun May 26, 2013 8:30 pm

Re: Online content DC

Like i said, i tried this in my friends home. So there was different router, different pc, different tv. He have UPC, i have ADSL. We both have wi-fi connected TV, ill try connet wire and i let you know. Thx for now. ;)

"i tried that now by wi-fi again" and it says in czech "zkontrolujte pripojeni k siti", probably "Check your network connection"
<<

Conic

Serviio newbie

Posts: 10

Joined: Sun Apr 08, 2012 1:41 am

Post Mon May 27, 2013 2:54 pm

Re: Online content DC

So, tv connected by wire doing same thing. I try it on Samsung UE32ES5500 and UE32ES6800. I use for both of them "samsung (c/d/e)" profile. I tried play online content on my Samsung Nexus S, with MX Player and same think, it just stop play before regular end. Have someone else problem with online content? Because i rly dont know, where is problem. Wierd is my friend have same problem and we have different TV, internet and i have serviio on nas and he on pc.

I tried change tmp location, change preferred quality and turn on and off "Produce the best video quality" in transcoding. Nothing helped.



EDIT: Someone with same problem like me here and here

EDIT2: For Czech speeking ppl here is same problem and it was on Serviio 0.6.2.

EDIT3: I think this info is very important for our problem, ill try that. Can you look at our profile Samsung C/D/E?

EDIT4: Sony AVReciever STR looks like working, i play four youtube videos in a row and finaly i see how long is video and it can be rewinded and fast forwarded, but MKV doesnt work and more... is it possible create new profile for C/D/E with setting for online transcoding from AVReciever STR?

EDIT5: After five videos Serviio was disconnected, but there was another error:
Device disconnected
Device name: Serviio

This error is now very often and some videos on youtube doesnt work, but i think it can be figured out. :D

EDIT6: I tried edit profiles.xml... i just copy <transcoding> part and <online transcoding> part from Sony AVReciever, delete original from Samsung C/D/E and now its littlebit working (rewind, fast forward, right lenght of video), sometimes shutdown... How is this possible? Coz i tried generic dlna profile and didnt work, but if i understand that right, in Sony AVReciever is nothing important and everything is "copied" from generic profile or not?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue May 28, 2013 11:47 am

Re: Online content DC

Can you enable detailed logging and stream the same video using the stock c/d/e profile and then the Sony profile? I want to compare the FFmpeg command being used.
<<

Conic

Serviio newbie

Posts: 10

Joined: Sun Apr 08, 2012 1:41 am

Post Wed May 29, 2013 2:39 pm

Re: Online content DC

Ill do it on weekend, hold on pls :)
<<

Vasa79

Serviio newbie

Posts: 8

Joined: Wed Dec 19, 2012 11:38 am

Post Wed Jun 12, 2013 11:36 am

Re: Online content DC

Hi, I have Samsung Smart TV too (UE32EH5300), and there is the same problem. I tried the same procedure Conic described with same result. Sony profile works perfect.

Samsung C/D/E profile log contains ffmpeg command: (youtube video GNR Don't cry)
  Code:
2013-06-12 13:06:36,214 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -fflags +genpts -threads auto -i http://r13---sn-2gb7ln7e.c.youtube.com/videoplayback?mt=1371015031&ipbits=8&upn=TZpmo-IhL4w&burst=40&cp=U0hWRlBOVV9IUENONl9ISFlDOklIZHBwM2hFMlRp&expire=1371037236&id=cd121b7fa26a90d7&fexp=912516,904831,900339,916626,900352,921047,924605,928201,901208,929117,929123,929121,929915,929906,929907,929125,925714,929919,929119,931202,928017,912512,912515,912518,912521,906906,904488,931910,931913,930807,919373,906836,933701,919008,900816,926403,912711,930618,930621,929606,910075&algorithm=throttle-factor&ms=au&sver=3&sparams=algorithm,burst,cp,factor,id,ip,ipbits,itag,source,upn,expire&source=youtube&mv=m&itag=35&newshard=yes&factor=1.25&key=yt1&ip=93.99.209.6&quality=large&signature=0B9F4A71F491B76EC43C889C08CA9ED1822C446C.171E47F185092FEED3D6F64571E46D325D2CAB1A -y -c:v copy -bsf:v h264_mp4toannexb -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-
1000000110015793-7-ORIGINAL.stf


Wrong time (289:21:06)
FF/REV: impossible
Error before video end: Check network conection (wired)

TV video information:
File format: video/mpeg
Audiokodek: AC3
Videokodek: H264


Sony AVReceiver STR log doesn't contain any ffmpeg command (or I did'n find any)

correct time
FF/REV: possible

TV video information:
File format: video/x-flv
Audiokodek: AAC
Videokodek: H264
<<

Vasa79

Serviio newbie

Posts: 8

Joined: Wed Dec 19, 2012 11:38 am

Post Fri Jun 14, 2013 10:27 am

Re: Online content DC

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 17, 2013 9:15 am

Re: Online content DC

ok, can you try to play it again (the above URL has already expired), look at the log again, find the Samsung FFmeg command and run ffmpeg -i for the url (for the above URL it'd look like this):

  Code:
ffmpeg -i "http://r13---sn-2gb7ln7e.c.youtube.com/videoplayback?mt=1371015031&ipbits=8&upn=TZpmo-IhL4w&burst=40&cp=U0hWRlBOVV9IUENONl9ISFlDOklIZHBwM2hFMlRp&expire=1371037236&id=cd121b7fa26a90d7&fexp=912516,904831,900339,916626,900352,921047,924605,928201,901208,929117,929123,929121,929915,929906,929907,929125,925714,929919,929119,931202,928017,912512,912515,912518,912521,906906,904488,931910,931913,930807,919373,906836,933701,919008,900816,926403,912711,930618,930621,929606,910075&algorithm=throttle-factor&ms=au&sver=3&sparams=algorithm,burst,cp,factor,id,ip,ipbits,itag,source,upn,expire&source=youtube&mv=m&itag=35&newshard=yes&factor=1.25&key=yt1&ip=93.99.209.6&quality=large&signature=0B9F4A71F491B76EC43C889C08CA9ED1822C446C.171E47F185092FEED3D6F64571E46D325D2CAB1A"


Don't forget the quotes around the URL. Then post the result here.
<<

Vasa79

Serviio newbie

Posts: 8

Joined: Wed Dec 19, 2012 11:38 am

Post Mon Jun 17, 2013 8:42 pm

Re: Online content DC

Other Youtube GNR video.

Samsung profile ffmpeg command:

  Code:
ffmpeg -analyzeduration 10000000 -fflags +genpts -threads auto -i http://r17---sn-2gb7ln7k.c.youtube.com/videoplayback?key=yt1&ip=93.99.209.6&expire=1371521165&algorithm=throttle-factor&upn=JVdkU8hClu8&mt=1371496113&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&source=youtube&ipbits=8&factor=1.25&gcr=cz&itag=34&id=3fe01802fd08a162&ms=au&mv=m&newshard=yes&cp=U0hWRlVNT19LT0NONl9NR1NCOldUTjlwX1dOWHp0&fexp=900352%2C921047%2C924605%2C928201%2C901208%2C929123%2C929121%2C929915%2C929906%2C929907%2C929125%2C925714%2C929919%2C931202%2C928017%2C912512%2C912515%2C912521%2C906906%2C904488%2C931910%2C931913%2C932227%2C904830%2C919373%2C933701%2C904122%2C900816%2C912711%2C930618%2C930621%2C929606%2C910075&sver=3&burst=40&signature=C67B17B4CF51DEDE68484F79EA5B04E24D1CFC12.8D9F2BA08566E36E4A4FD6FBD01C6264FF2BE508 -y -c:v copy -bsf:v h264_mp4toannexb -c:a ac3 -b:a 384k -ac 1 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/


ffmpeg -i result:

  Code:
ffmpeg -i "http://r17---sn-2gb7ln7k.c.youtube.com/videoplayback?key=yt1&ip=93.99.209.6&expire=1371521165&algorithm=throttle-factor&upn=JVdkU8hClu8&mt=1371496113&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&source=youtube&ipbits=8&factor=1.25&gcr=cz&itag=34&id=3fe01802fd08a162&ms=au&mv=m&newshard=yes&cp=U0hWRlVNT19LT0NONl9NR1NCOldUTjlwX1dOWHp0&fexp=900352%2C921047%2C924605%2C928201%2C901208%2C929123%2C929121%2C929915%2C929906%2C929907%2C929125%2C925714%2C929919%2C931202%2C928017%2C912512%2C912515%2C912521%2C906906%2C904488%2C931910%2C931913%2C932227%2C904830%2C919373%2C933701%2C904122%2C900816%2C912711%2C930618%2C930621%2C929606%2C910075&sver=3&burst=40&signature=C67B17B4CF51DEDE68484F79EA5B04E24D1CFC12.8D9F2BA08566E36E4A4FD6FBD01C6264FF2BE508"
ffmpeg version 1.1.4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  5 2013 12:09:16 with gcc 4.7.2 (GCC)
  configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopus --disable-libopencv --enable-libopenjpeg --enable-libtwolame --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, flv, from 'http://r17---sn-2gb7ln7k.c.youtube.com/videoplayback?key=yt1&ip=93.99.209.6&expire=1371521165&algorithm=throttle-factor&upn=JVdkU8hClu8&mt=1371496113&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&source=youtube&ipbits=8&factor=1.25&gcr=cz&itag=34&id=3fe01802fd08a162&ms=au&mv=m&newshard=yes&cp=U0hWRlVNT19LT0NONl9NR1NCOldUTjlwX1dOWHp0&fexp=900352%2C921047%2C924605%2C928201%2C901208%2C929123%2C929121%2C929915%2C929906%2C929907%2C929125%2C925714%2C929919%2C931202%2C928017%2C912512%2C912515%2C912521%2C906906%2C904488%2C931910%2C931913%2C932227%2C904830%2C919373%2C933701%2C904122%2C900816%2C912711%2C930618%2C930621%2C929606%2C910075&sver=3&burst=40&signature=C67B17B4CF51DEDE68484F79EA5B04E24D1CFC12.8D9F2BA08566E36E4A4FD6FBD01C6264FF2BE508':
  Metadata:
    starttime       : 0
    totalduration   : 316
    totaldatarate   : 397
    bytelength      : 15686212
    canseekontime   : true
    sourcedata      : BADC20AC5HH1371501611448716
    purl            :
    pmsg            :
  Duration: 00:05:15.55, start: 0.000000, bitrate: 397 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p, 320x240, 299 kb/s, 29.97 tbr, 1k tbn, 59.94 tbc
    Stream #0:1: Audio: aac, 44100 Hz, mono, fltp, 99 kb/s
At least one output file must be specified

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jun 20, 2013 11:31 am

Re: Online content DC

Try to remove this line from the C/D/E profile:

  Code:
<Matches container="flv" vCodec="h264"/>
<<

Vasa79

Serviio newbie

Posts: 8

Joined: Wed Dec 19, 2012 11:38 am

Post Sun Jun 23, 2013 8:03 pm

Re: Online content DC

Great it works!

But, (there is always some but) some online streams (Adult content) is unsupported now. :-(

Ffmpeg command result is almost same.

conteiner: flv
audio: aac
video: h264

Stream: "rtmp://live190.la3.origin.filmon.com:1935/live/247.high.stream"
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 24, 2013 1:01 pm

Re: Online content DC

Yep, that's because rtmp protocol is only supported via FFmpeg, while http (the youtube example) can be accessed by Serviio natively. So you can have one or the other.
<<

Vasa79

Serviio newbie

Posts: 8

Joined: Wed Dec 19, 2012 11:38 am

Post Mon Jun 24, 2013 7:50 pm

Re: Online content DC

And now what are the priorities? :D

Return to Samsung

Who is online

Users browsing this forum: No registered users and 12 guests

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