Jump to content

Live TV plays on Roku, but not recordings


jkuch77

Recommended Posts

jkuch77

I have the latest dev server version 3.0.5549.20060 and latest version of NextPVR plugin installed.  I can stream LiveTV perfectly to the Roku client, but for some reason the recordings will play for about 3 sec and then stop.  The recordings will play through the web client on a PC and also through NextPVR client, so it seems to be an issue with the Roku client.  My Roku client app is version 1.87.  I have attached the logs for when I try to stream a recording to the Roku client.  Thank you for your assitance!server-63561763256.txttranscode-bc6a28ec-d10d-4fa4-8685-e049d8d53b99.txt

Link to comment
Share on other sites

jkuch77

So, I did some testing and I think I know what the issue is.  If I setup mediabrowser server on a separate computer from the nextpvr backend then I can steam recordings to the roku, but if nextpvr backend is on the same computer as mediabrowser server, it doesn't work.  I compared the transcode log files from each and it looks like the nextpvr plugin in mediabrowser server or mediabrowser server itself is using a http address to the recording, but not when they are on the same computer.  See below:

 

Nextpvr backend and mediabrowser server on same computer (first line of transcode log)(not working):

 

C:\Users\Administrator.KUCHARSKI\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150110\ffmpeg.exe -fflags +genpts -async 1 -vsync -1 -i file:"E:\Recording\The Following\The Following_20150316_21002200.ts" -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 18 -maxrate 15614449 -bufsize 31228898 -vsync vfr -profile:v high -level 41 -force_key_frames expr:gte(t,n_forced*6) -vf "yadif=0:-1:0,scale=trunc(min(iw\,1920)/2)*2:trunc(min((iw/dar)\,1080)/2)*2" -copyts -flags -global_header -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1000,volume=2" -f segment -segment_time 6 -segment_start_number 0 -segment_list "E:\Timeshifting\81e64eede8cc81a86d91cec7898177ea.m3u8" -y "E:\Timeshifting\81e64eede8cc81a86d91cec7898177ea%d.ts"

 

Nextpvr backend and mediabrowser server on different computers (first line of transcode log)(working):

 

C:\Users\Administrator.KUCHARSKI\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150110\ffmpeg.exe -fflags +genpts -async 1 -vsync -1 -i "http://192.168.1.4:8866/live?recording=959" -map_metadata -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 18 -maxrate 30000000 -bufsize 60000000 -vsync vfr -profile:v high -level 41 -force_key_frames expr:gte(t,n_forced*6) -vf "yadif=0:-1:0,scale=trunc(min(iw\,1920)/2)*2:trunc(min((iw/dar)\,1080)/2)*2" -sc_threshold 0 -codec:a:0 ac3 -ac 5 -ab 256000 -af "adelay=1,aresample=async=1000" -hls_time 6 -start_number 0 -hls_list_size 0 -hls_base_url "hls/dd6d3180be84a5b5d0ab9ecd610dafc0/" -y "E:\Timeshifting\dd6d3180be84a5b5d0ab9ecd610dafc0.m3u8"

 

Live TV points to http address in both situations and works in both situations.  Can you guys please look into this and fix?  I really would appreciate it :)

Link to comment
Share on other sites

Sven

So it's working with the http endpoint.

 

For the moment we check if we have a "file" available and we stream it from that one. 

If not we use the http endpoint.

 

What should be the best option? Something in the config to use the file or http endpoint....

Link to comment
Share on other sites

jkuch77

Yes, if I had an option in the config to use http endpoint instead of file, that would be great!  In my situation, I have to use http endpoint for it to transcode correctly for the Roku to play it, but in some cases with other people, file may work for them.  Thank you Sven!

Link to comment
Share on other sites

well, it would be more ideal if it could just work. Sven, I would just change it to always use the http url. if we encounter issues we can always re-assess.

Link to comment
Share on other sites

  • 2 weeks later...
jkuch77

Sorry for the delay on posting a reply here.  I ended up having other issues with NextPVR backend and my Hauppauge Colossus cards and decided to go another route.  I ended up going with Mediaportal backend and using the mediaportal live TV plugin instead, so unfortunately I cannot test this now.  Sorry again, but I'm sure the changes you made Sven will help out other users of Emby server.  Thank you again!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...