NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 … 4 5 6 7 8 9 Next »
LiveTv Channels - Streaming Failed (transcoder exited)

 
  • 0 Vote(s) - 0 Average
LiveTv Channels - Streaming Failed (transcoder exited)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#11
2020-10-04, 08:40 PM
Quote:Is there a way to tweak the FFmpeg settings?
There is, but it's not advised that users do it themselves.

Quote:Emby and Kodi seem to play well this type of content, are you able to tweak FFmpeg settings like Emby or Kodi?
You could see if unticking 'Avoid transcoding where possible' helps.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#12
2020-10-04, 08:42 PM
It's not transcoding though, the logs show it copying and it might be an issue with the parameters

2020-10-04 17:12:48.387 [DEBUG][74] [FFMPEG]: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

I suspect it could just be the old ffmpeg in the Docker having trouble with -c:v:0? NextPVR is sending.

The Emby ffmpeg log above has the same output as the NextPVR log but it does use vaapi to scale and it just sends -c:v:0

Martin
groenator
Offline

Junior Member

UK
Posts: 36
Threads: 7
Joined: Oct 2020
#13
2020-10-04, 09:02 PM
(2020-10-04, 08:42 PM)mvallevand Wrote: It's not transcoding though, the logs show it copying and it might be an issue with the parameters

2020-10-04 17:12:48.387 [DEBUG][74] [FFMPEG]: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

I suspect it could just be the old ffmpeg in the Docker having trouble with -c:v:0? NextPVR is sending.

The Emby ffmpeg log above has the same output as the NextPVR log but it does use vaapi to scale and it just sends -c:v:0

Martin

I tried using vaapi with nexPVR but it didn't work. Are you going to update the FFmpeg on the image or find another solution? 

BTW, I PM you the channel URL to test it out.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#14
2020-10-04, 09:07 PM
(2020-10-04, 09:02 PM)groenator Wrote: BTW, I PM you the channel URL to test it out.
I gave the URL a quick check on my Windows install of NextPVR, and it's working fine there. My build is a little later than yours.

As suggested above, it may come down to the version of ffmpeg used in the container. I'm not sure what I'll do about that.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#15
2020-10-04, 09:16 PM (This post was last modified: 2020-10-04, 09:17 PM by mvallevand.)
If you can  edit config.xml to change <TranscodeHLS>default</TranscodeHLS> to

Code:
<TranscodeHLS>-y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:[AUDIO_STREAM] -map -0:s -vcodec copy -acodec copy -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]</TranscodeHLS>

It will better match what Emby is doing.

Martin
groenator
Offline

Junior Member

UK
Posts: 36
Threads: 7
Joined: Oct 2020
#16
2020-10-04, 09:23 PM
(2020-10-04, 09:16 PM)mvallevand Wrote: If you can  edit config.xml to change <TranscodeHLS>default</TranscodeHLS> to

Code:
<TranscodeHLS>-y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:[AUDIO_STREAM] -map -0:s -vcodec copy -acodec copy -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]</TranscodeHLS>

It will better match what Emby is doing.

Martin

Sure, I will do that - thanks!
groenator
Offline

Junior Member

UK
Posts: 36
Threads: 7
Joined: Oct 2020
#17
2020-10-04, 09:30 PM
(2020-10-04, 09:16 PM)mvallevand Wrote: If you can  edit config.xml to change <TranscodeHLS>default</TranscodeHLS> to

Code:
<TranscodeHLS>-y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:[AUDIO_STREAM] -map -0:s -vcodec copy -acodec copy -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]</TranscodeHLS>

It will better match what Emby is doing.

Martin

I did what you said and it is working fine. 

Thanks for your help again. I will keep testing other channels, I think I wouldn't have issues thou. 

Do you think the new change will also fix the recording issue? Remember, I said that the files are semi-broken. 

Regards,
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#18
2020-10-04, 09:34 PM
Recordings should be just like streaming to Kodi or Emby and should just be streamed to disk. I already explained the test I wanted to see.

Martin
groenator
Offline

Junior Member

UK
Posts: 36
Threads: 7
Joined: Oct 2020
#19
2020-10-04, 09:51 PM
(2020-10-04, 09:34 PM)mvallevand Wrote: Recordings should be just like streaming to Kodi or Emby and should just be streamed to disk.  I already explained the test I wanted to see.

Martin

I will open a new thread if I have any issues. 

Thanks for your help again.
keith72
Offline

Junior Member

United Kingdom
Posts: 7
Threads: 1
Joined: Oct 2020
#20
2020-10-04, 10:08 PM
Hi Guys,        I am new to the forums here but not to NextPVR, I have been using the old setups for a couple of years now, I decided to update to the very lastest V5, all went well as I had decided to uninstall the old one V4 and start afresh, it records fine through a TBS 6284 card and when I click on the recording it plays, however I am unable now to play live tv either through the web app or the desktop app, on the web one I get "Streaming Failed Transcode Terminated" and on the desktop one just a blank screen.

I am running Win 10 Pro fully updated and use a AMD Radeon R9 200 Series 2GB GPU other than no live TV everything is fine.

Is there anything I need to do?

Regards

Keith
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Live streaming starts but then fails with access denied TheFonz 7 270 2025-05-14, 12:39 PM
Last Post: mvallevand
  Channels stop working overnight aTF6i 68 3,606 2024-11-21, 03:22 PM
Last Post: mvallevand
  Schedules Direct Only downloading 25 channels for epg matt77303 5 703 2024-08-11, 04:49 PM
Last Post: mvallevand
  IPTV streaming uses 100% CPU callumjk 2 991 2024-04-18, 05:11 PM
Last Post: sub
  NPVR Synology Docker with Octopus SAT/IP finds no channels Thoschi 92 15,546 2024-01-19, 08:07 PM
Last Post: mvallevand
  [HDHomerRun] Stuck scanning for channels QuiteConfused 9 1,578 2023-12-05, 01:16 AM
Last Post: mvallevand
  Some channels importing as VOD wapkaplet 17 2,231 2023-11-09, 06:36 PM
Last Post: mvallevand
  Unable to Scan for New Channels pkscout 5 922 2023-08-11, 01:24 AM
Last Post: mvallevand
  nextpvr Import failed. Not logged in. XM55 4 3,006 2023-08-08, 08:35 PM
Last Post: XM55
  Container fails to scan channels - Native succeeds Velero 4 1,166 2022-02-08, 06:47 PM
Last Post: Velero

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode