NextPVR Forums

Full Version: Colossus 2 and nextpvr
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Here is an example from another extra you could use as a template https://forums.nextpvr.com/showthread.ph...#pid533637 use the full path. I keep mine in the scripts folder under data,

Martin
I messed around with it a lot last night and was not able to get it working. as long as i output it to a .ts location (i.e. /tmp/video.ts) i get picture when the file is opened but no audio. When output to pipe there is nothing at all. 

trying to read through ffmpeg documentation today to see if i am missing something. 

I have no /dev/video sources, i got into thinking maybe a v4l2loopback but not sure that would solve my issue.
This driver is not a v4l2 driver so no surprise there, that is only for the HDPVR 1212

You never answered my question on what type of audio you are trying to decode but I suspect your switches are wrong.

What makes you think that the extra isn't working? If you are simply testing with the browser that is not a good test, it won't play streams with no audio.

BTW the only reason I added ffmpeg into my extra is FireTV devices don't like the stream that Hauppauge creates and it is really only remuxing the input stream so not much to read up on.

Martin
i have nextpvr set up through kodi on a headless server box. ive added in the channel, made the .sh file with output to pipe and try opening it in kodi and it errors out with no input avail, but the .ts output has video but no audio
as for audio, im trying aac, and ac3. neither are working with the output to .ts . kodi shows it as aac or ac3, but with 0 channels avail.
Did you remember to chmod +x the sh file and use your device ID not mine? If so zip you extra and sh files up, you probably will need my patch though.

Don't both with ac3 until you get aac working with the defaults. Don't use pass through from the original source and for ac3 whatever splitter you use needs to support 5:1 so 7:1 is not supported.

Martin
2024-04-21 11:21:18.670 [DEBUG][43] Got request [127.0.0.1]: /service (channel.stream.info)
2024-04-21 11:21:18.670 [DEBUG][43] method=channel.stream.info
2024-04-21 11:21:18.670 [DEBUG][43] parameters:
2024-04-21 11:21:18.670 [DEBUG][43] method: channel.stream.info
2024-04-21 11:21:18.670 [DEBUG][43] sid: 2f45a2bcf5f041dbae0ebe373ea75192
2024-04-21 11:21:18.670 [DEBUG][43] client_ip: 127.0.0.1
2024-04-21 11:21:18.670 [DEBUG][43] user_agent: Kodi/21.0 (X11; Linux x86_64) Arch Linux/rolling App_Bitness/64 Version/21.0-(21.0.0)-Git:20240408-nogitfound
2024-04-21 11:21:18.670 [DEBUG][43] host_callback: ...
2024-04-21 11:21:18.670 [DEBUG][43] <map>
<stream_length>0</stream_length>
<stream_duration>0</stream_duration>
<live>true</live>
<complete>false</complete>
<files>
<file>
<filename>/tmp/live-{Colossus}-15.ts</filename>
<offset>0</offset>
<start_ms>0</start_ms>
<end_ms>0</end_ms>
</file>
</files>
</map>

2024-04-21 11:21:18.670 [DEBUG][43] <map>
<stream_length>0</stream_length>
<stream_duration>0</stream_duration>
<live>true</live>
<complete>false</complete>
<files>
<file>
<filename>/tmp/live-{Colossus}-15.ts</filename>
<offset>0</offset>
<start_ms>0</start_ms>
<end_ms>0</end_ms>
</file>
</files>
</map>

2024-04-21 11:21:18.670 [DEBUG][43] Got request [127.0.0.1]: /service (channel.stream.stop)
2024-04-21 11:21:18.670 [DEBUG][43] method=channel.stream.stop
2024-04-21 11:21:18.670 [DEBUG][43] parameters:
2024-04-21 11:21:18.670 [DEBUG][43] method: channel.stream.stop
2024-04-21 11:21:18.670 [DEBUG][43] sid: 2f45a2bcf5f041dbae0ebe373ea75192
2024-04-21 11:21:18.670 [DEBUG][43] client_ip: 127.0.0.1
2024-04-21 11:21:18.670 [DEBUG][43] user_agent: Kodi/21.0 (X11; Linux x86_64) Arch Linux/rolling App_Bitness/64 Version/21.0-(21.0.0)-Git:20240408-nogitfound
2024-04-21 11:21:18.670 [DEBUG][43] host_callback: ...
2024-04-21 11:21:18.670 [DEBUG][43] RollingFile.Open(/tmp/live-{Colossus}-15.ts) ..
2024-04-21 11:21:18.670 [VERBOSE][43] Got maphelper linux
2024-04-21 11:21:18.670 [DEBUG][43] File is in live mode
2024-04-21 11:21:18.670 [VERBOSE][43] <map><stream_length>0</stream_length><stream_duration>0</stream_duration><live>true</live><complete>false</complete><files><file><filename>/tmp/live-{Colossus}-15.ts</filename><offset>0</offset><start_ms>0</start_ms><end_ms>0</end_ms></file></files></map>
2024-04-21 11:21:18.670 [DEBUG][43] StopStream handle: 10
2024-04-21 11:21:18.670 [DEBUG][43] Closing TSWriter....: LIVE&/tmp/live-{Colossus}-15.ts
2024-04-21 11:21:18.671 [ERROR][43] writer.Close() did not complete in a timely fashion
2024-04-21 11:21:18.671 [DEBUG][43] Close@2
2024-04-21 11:21:18.671 [DEBUG][43] Closing mapAccessor
2024-04-21 11:21:18.671 [DEBUG][43] Closing mapMMF
2024-04-21 11:21:18.671 [DEBUG][43] Closing mapFileStream
2024-04-21 11:21:18.671 [DEBUG][43] deleting /tmp/live-{Colossus}-15.ts.map
2024-04-21 11:21:18.671 [DEBUG][43] Close@exit
2024-04-21 11:21:18.671 [DEBUG][43] StopStream@exit
2024-04-21 11:21:18.671 [DEBUG][43] Closing extras standard-out
2024-04-21 11:21:18.675 [DEBUG][43] stopped live stream for timeshift
2024-04-21 11:21:18.675 [VERBOSE][43] RollingFile.Close()
2024-04-21 11:21:18.675 [VERBOSE][43] RollingFile.Close()
2024-04-21 11:21:18.676 [VERBOSE][43] - deleting: /tmp/live-{Colossus}-15.ts
2024-04-21 11:21:18.676 [DEBUG][43] <?xml version="1.0" encoding="utf-8" ?>


here are my logs, it seems like it's seeing the rolling .ts, but not seeing more than 0 secs of it and closing
That snippet is useless and at the wrong time so it doesn't show anything. Logs need to be zipped. Just use the zip file NextPVR creates from you and please answer some of the questions I have asked if you want further assistance.

Martin
forgive me.
yes, i replaced your device ID with mine, and i chmod +x the .sh to be able to run. Pass thru is not enabled. not using both at the same time, trying one, and then the other.
here's my .sh and xml
the device attached is my tablet just for testing purposes. its being run through a cheap hdmi splitter, which only supports 5.1. it's got video as a file output for sure.

I'll be in and out all day, lots to do. no rush but would like to see if we can get it going.
Pages: 1 2 3 4 5