2024-04-21, 04:33 PM
(This post was last modified: 2024-04-21, 04:39 PM by mvallevand.)
The extra looks ok, but there is no point testing the extra in NextPVR until the script works from bash.
To start your script is not going to send anything to NextPVR, NextPVR will just wait and fail
- you have incorrectly added sudo which will not work since you are running as nextpvr which isn't a sudo user and it probably is waiting for a password to be entered.
- you also need to use ffmpeg ffprobe was used see if you were getting data from command line testing.
Also I didn't give you the whole script, just the command line I used to help testing, I would try either removing the & or adding a wait after line in the script. This is all based on having my patch too.
So fix those errors in the script the run (keep ffmpeg in the script)
colossus2.sh | ffprope -i pipe:
until you are getting audio and video streams.
Here is what my output looks like
Martin
To start your script is not going to send anything to NextPVR, NextPVR will just wait and fail
- you have incorrectly added sudo which will not work since you are running as nextpvr which isn't a sudo user and it probably is waiting for a password to be entered.
- you also need to use ffmpeg ffprobe was used see if you were getting data from command line testing.
Also I didn't give you the whole script, just the command line I used to help testing, I would try either removing the & or adding a wait after line in the script. This is all based on having my patch too.
So fix those errors in the script the run (keep ffmpeg in the script)
colossus2.sh | ffprope -i pipe:
until you are getting audio and video streams.
Here is what my output looks like
Code:
2024-04-21T12:27:16.632207 CRIT <main> Logger.cpp:83 (setLogLevelFilter) Changing loglevel to NOTC
2024-04-21T12:27:16.632818 CRIT <main> hauppauge2.cpp:355 (main) Starting up
2024-04-21T12:27:16.651952 CRIT <main> hauppauge2.cpp:368 (main) Initializing [Bus: 1, Port: 1] E515-00-00AE3EB8
2024-04-21T12:27:23.700810 CRIT <main> hauppauge2.cpp:69 (evtWait) waiting
Input #0, mpegts, from 'pipe:':
Duration: N/A, start: 1.433367, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn
Stream #0:1[0x101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
Martin