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 »
New Install - Stream Failed Transcoder Exited

 
  • 0 Vote(s) - 0 Average
New Install - Stream Failed Transcoder Exited
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#11
2020-03-28, 02:47 PM (This post was last modified: 2020-03-28, 03:12 PM by mvallevand.)
To follow the install directions didn't you map your recording directories? The device line would be added the same way. The line you need again is


Code:
docker run -d \
    --volume /home/user/config:/config \                    
    --volume /home/user/videos:/recordings \
    --volume /home/user/videos:/buffer \
    --device /dev/dri:/dev/dri
    --publish 8866:8866 \
    nextpvr/nextpvr_amd64:latest

Martin
fire fuze
Offline

Junior Member

New Zealand
Posts: 7
Threads: 1
Joined: Mar 2020
#12
2020-03-31, 08:37 AM
Nope, Didn't do anything of the sort, there was no prompt or anything obvious asking for any command line inputs - everything was done through the Docker GUI. Couple clicks and it was up and running as such - I had tested a recording and it did work so directories must be there to some extent?

There is a terminal within the container when it's running, I tried those commands there to see if they work, they didn't return an error but still I can't open any streams.

Might try run it on a Windows VM instead, don't think performance would be great though but seems I can't configure what needs to be configured on the NAS?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#13
2020-04-01, 02:42 AM
In your logs, it looked like you have mapped a directory into the container as /buffer:
Quote:2020-03-27 23:48:07.324 [ERROR][14] Unexpected error creating TSWriter map: System.IO.DirectoryNotFoundException: Could not find a part of the path '/buffer/live-Three-1-1.ts.map'.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#14
2020-04-01, 02:43 AM
He didn't configure anything so that makes sense.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#15
2020-04-01, 02:49 AM
(2020-03-31, 08:37 AM)fire fuze Wrote: Nope, Didn't do anything of the sort, there was no prompt or anything obvious asking for any command line inputs - everything was done through the Docker GUI. Couple clicks and it was up and running as such - I had tested a recording and it did work so directories must be there to some extent?
You have to map in the various folders. It can all be done in the Docker UI. Below is the page I used to set it up on my Synology device.

If you need to use hardware transcoding, which requires adding --device /dev/dri:/dev/dri, then you need to create the container from an ssh shell. After this, the container will appear in the Synology Docker app, and you can just stop/start your container from the UI like you normally would. (this is a little more advanced though, so I'd just focus on getting the folders mapped in first)


Attached Files Thumbnail(s)
   
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#16
2020-04-01, 02:50 AM
(2020-04-01, 02:43 AM)mvallevand Wrote: He didn't configure anything so that makes sense.
Yep, I got that.
fire fuze
Offline

Junior Member

New Zealand
Posts: 7
Threads: 1
Joined: Mar 2020
#17
2020-04-01, 04:17 AM
(2020-04-01, 02:49 AM)sub Wrote:
(2020-03-31, 08:37 AM)fire fuze Wrote: Nope, Didn't do anything of the sort, there was no prompt or anything obvious asking for any command line inputs - everything was done through the Docker GUI. Couple clicks and it was up and running as such - I had tested a recording and it did work so directories must be there to some extent?
You have to map in the various folders. It can all be done in the Docker UI. Below is the page I used to set it up on my Synology device.

If you need to use hardware transcoding, which requires adding --device /dev/dri:/dev/dri, then you need to create the container from an ssh shell. After this, the container will appear in the Synology Docker app, and you can just stop/start your container from the UI like you normally would. (this is a little more advanced though, so I'd just focus on getting the folders mapped in first)

And just like that I now have working TV! That screenshot was exactly what I needed. Thanks

Will see how I go without HW transcode for now
caledoniangold
Offline

Junior Member

UK
Posts: 1
Threads: 0
Joined: Sep 2020
#18
2020-09-21, 08:02 PM (This post was last modified: 2020-09-21, 08:09 PM by caledoniangold.)
I'm trying to do the same thing here but am also entirely clueless. Any help would be appreciated. I have got nextpvr installed on the NAS (220+) but am stuck at that point. Thanks in advance!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#19
2020-09-21, 08:07 PM
Did you find adding --device /dev/dri:/dev/dri to the other things you need to configure that difficult? Not all devices will have /dev/dri

Martin
groenator
Offline

Junior Member

UK
Posts: 36
Threads: 7
Joined: Oct 2020
#20
2020-10-04, 01:41 PM
Hi Martin,

I can confirm I have the same problem. I configured the Docker container as it was described in the documentation. I mapped the /dev/dri devices and enable privileges mode. 

I have some logs where you can have a look. I tried different types of HW transcoding but none of them worked well. In my case, I think the issue is happening with AAC audio codec that cannot be converted. 

Logs from docker container:

Code:
nextpvr    | [67] [FFMPEG]: [h264 @ 0x558ce0796980] no frame!
nextpvr    | [67] [FFMPEG]: [h264 @ 0x558ce0796980] SPS unavailable in decode_picture_timing
nextpvr    | [30] [FFMPEG]: [h264 @ 0x558ce0796980] non-existing PPS 0 referenced
nextpvr    | [33] [FFMPEG]: [h264 @ 0x558ce0796980] SPS unavailable in decode_picture_timing
nextpvr    | [33] [FFMPEG]: [h264 @ 0x558ce0796980] non-existing PPS 0 referenced
nextpvr    | [33] [FFMPEG]: [h264 @ 0x558ce0796980] decode_slice_header error
nextpvr    | [33] [FFMPEG]: [h264 @ 0x558ce0796980] no frame!
nextpvr    | [67] [FFMPEG]: [h264 @ 0x558ce0796980] SPS unavailable in decode_picture_timing
nextpvr    | [67] [FFMPEG]: [h264 @ 0x558ce0796980] non-existing PPS 0 referenced
nextpvr    | [67] [FFMPEG]: [mpegts @ 0x558ce0787ae0] decoding for stream 0 failed
nextpvr    | [67] [FFMPEG]: [mpegts @ 0x558ce0787ae0] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
nextpvr    | [67] [FFMPEG]: Consider increasing the value for the 'analyzeduration' and 'probesize' options
nextpvr    | [67] [FFMPEG]: Input #0, mpegts, from 'http://127.0.0.1:8866/live?channeloid=7534&transcoder=94e83896-8d64-48f0-875a-91857bf8a85b&client=7c7d8eeb-15ce-47c0-87a4-d8762a8a1528':
nextpvr    | [67] [FFMPEG]:   Duration: N/A, start: 34770.005167, bitrate: N/A
nextpvr    | [67] [FFMPEG]:   Program 1
nextpvr    | [67] [FFMPEG]:     Metadata:
nextpvr    | [67] [FFMPEG]:       service_name    : Service01
nextpvr    | [67] [FFMPEG]:       service_provider: FFmpeg
nextpvr    | [67] [FFMPEG]:     Stream #0:0[0x100]: Video: h264 ([27][0][0][0] / 0x001B), none, 25 fps, 25 tbr, 90k tbn, 180k tbc
nextpvr    | [67] [FFMPEG]:     Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 194 kb/s
nextpvr    | [67] [FFMPEG]: [hls @ 0x558ce078ac60] dimensions not set
nextpvr    | [67] [FFMPEG]: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
nextpvr    | [67] [FFMPEG]: Stream mapping:
nextpvr    | [67] [FFMPEG]:   Stream #0:0 -> #0:0 (copy)
nextpvr    | [67] [FFMPEG]:   Stream #0:1 -> #0:1 (copy)
nextpvr    | [67] [FFMPEG]:     Last message repeated 1 times
nextpvr    | [82] Client has disconnected
nextpvr    | [95] Deleting web temp files

What I did found interesting is that I can play this channel when I use Kodi or Emby clients, but, I cannot play this channel when I use the web interface of nextPvr. 

Another issue that I have with is recordings, I recorded a show and the .ts file is broken. When I open the recorded file with VLC it doesn't work, I get a black screen. 

I tried multiple types of recording profile, like not keeping the original content, using 720/1080 pi. Same issue. I changed from CPU to VAAPI device but without any luck.
However, if I open the file with Emby or Kodi it stops a bit but eventually plays well. 
« 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
  Unable to live stream Atanoman 4 330 2025-01-04, 07:22 PM
Last Post: Atanoman
  "stream@2 got zero bytes" -- MarkyMark 12 798 2024-12-03, 12:34 AM
Last Post: mvallevand
  nextpvr Import failed. Not logged in. XM55 4 2,971 2023-08-08, 08:35 PM
Last Post: XM55
  IPTV only one stream can be recorded at a time rojerki 2 1,064 2022-05-22, 11:10 AM
Last Post: rojerki
  Docker Install Showing Version Version: 5.1.1.210328 pkscout 3 1,745 2021-05-06, 04:12 PM
Last Post: sub
  SOLVED: Unable to start HDHomerun Stream tredman 3 1,816 2021-01-18, 01:01 PM
Last Post: tredman
  LiveTv Channels - Streaming Failed (transcoder exited) groenator 22 6,901 2020-10-05, 10:40 AM
Last Post: Graham
  Help with Open Media Vault docker install. Me123 6 3,538 2020-06-02, 03:21 PM
Last Post: Me123
  From Synology, can stream but can't record seeker_ktf 2 1,854 2019-12-28, 02:39 PM
Last Post: seeker_ktf
  Trying to install on Libreelec 9.2 MrGenius1 11 3,788 2019-12-24, 07:52 AM
Last Post: MrGenius1

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

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

Linear Mode
Threaded Mode