NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 7 8 9 10 11 … 34 Next »
Request for supporting Ceton devices on Linux

 
  • 0 Vote(s) - 0 Average
Request for supporting Ceton devices on Linux
dapharsyde
Offline

Junior Member

Posts: 24
Threads: 1
Joined: Dec 2019
#11
2019-12-16, 02:26 AM
(2019-12-16, 02:17 AM)mvallevand Wrote: No I missed he post but I now see that it is mpegts so that is good.  Eventually I suggest trying the other options if your streams are clean from the Ceton, it saves a remux in OpenDCT.

Next step is to capture the PROPERTIES option output to a file and post it here.

Martin

I restarted with RawSageTVConsumerImpl, and the ffprobe results are the same as before, where the extension of .ts or .mpg determines the format.

Since they both produce the same output, which is the preferred option that will save the remux?

Here is the PROPERTIES output.

Code:
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 6\""</args>
  </channel>
</extras>
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 4\""</args>
  </channel>
</extras>
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 5\""</args>
  </channel>
</extras>
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 2\""</args>
  </channel>
</extras>
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 3\""</args>
  </channel>
</extras>
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 1\""</args>
  </channel>
</extras>
'
There was also some output to console not captured here, do you need that at all?  The lines all start with "mmc/encoders/-2044032763"
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#12
2019-12-16, 02:33 AM (This post was last modified: 2019-12-16, 06:29 PM by mvallevand.)
Great,

RawSage is better if the streams are good quality

I just needed the template for each of the extras files,

- For now copy the one for tuner 2 and put that in /var/opt/nextpvr/extras-Ceton-2.xml

Code:
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 2\""</args>
  </channel>
</extras>


- Move the python file you have been testing to /var/opt/nextpvr/scripts/

- in /var/opt/nextpvr/scripts/ create opendct.sh as follows

Code:
opendct=/var/opt/nextpvr/scripts/opendct.py                                                                                                                    
python3 $opendct STOP "$2"                                                      
python3 $opendct START "$2" $1 2>/dev/null

(Edit: In the original email I had shown the windows version of file)

and make it executable with chmod


Martin
dapharsyde
Offline

Junior Member

Posts: 24
Threads: 1
Joined: Dec 2019
#13
2019-12-16, 02:49 AM
(2019-12-16, 02:33 AM)mvallevand Wrote: Great,

RawSage is better if the streams are good quality

I just needed the template for each of the extras files,

- For now copy the one for tuner 2 and put that in /var/opt/nextpvr/extras-Ceton-2.xml

Code:
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/opendct.sh {channel} \"DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 2\""</args>
  </channel>
</extras>


- Move the python file you have been testing to /var/opt/nextpvr/scripts/

- in  /var/opt/nextpvr/scripts/  create opendct.sh as follows

Code:
set opendct=/var/opt/nextpvr/scripts/opendct.py                                                                                                                                 
python3 %opendct% "STOP" %2                                                     
python3 %opendct% "START" %2 %1  2> /dev/null

and make it executable with chmod


Martin

Ok, great - I see the tuner now as an "Extras Recorder" device.

Now to map the channels?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#14
2019-12-16, 02:50 AM
Yes, you are moving on to these steps # 6

https://forums.nextpvr.com/showthread.ph...#pid530793

Martin
dapharsyde
Offline

Junior Member

Posts: 24
Threads: 1
Joined: Dec 2019
#15
2019-12-16, 03:06 AM
(2019-12-16, 02:50 AM)mvallevand Wrote: Yes, you are moving on to these steps # 6

https://forums.nextpvr.com/showthread.ph...#pid530793

Martin

Ok, I mapped the channels from Schedules Direct, and tried to play video from the guide.

First is this message,

"Starting Device...Please Wait..."

Then this:

"Streaming Failed (transcoder exited)"

My best guess is that the video file is not being created in the correct location, but I do not know how to verify this.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#16
2019-12-16, 03:10 AM
Did you restart the server in step 9? If so could you upload your logs.

Martin
dapharsyde
Offline

Junior Member

Posts: 24
Threads: 1
Joined: Dec 2019
#17
2019-12-16, 03:12 AM
Possibly an issue with the opendct.sh file above? It doesn't appear to specify a file to be created.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#18
2019-12-16, 03:14 AM
This protocol supports direct streaming no file needed

Logs?

Martin
dapharsyde
Offline

Junior Member

Posts: 24
Threads: 1
Joined: Dec 2019
#19
2019-12-16, 03:23 AM (This post was last modified: 2019-12-16, 03:25 AM by dapharsyde.)
(2019-12-16, 03:14 AM)mvallevand Wrote: This protocol supports direct streaming no file needed

Logs?

Martin

Logs attached.

Looking in my ~/recordings directory, I'll temporarily see files like these, then they get deleted:

-rw-rw-r-- 1 nextpvr nextpvr    0 Dec 15 19:21 live-KNTVDT-4565-1.ts
-rw-rw-r-- 1 nextpvr nextpvr 8192 Dec 15 19:21 live-KNTVDT-4565-1.ts.map


Attached Files
.zip   logs-20191215-1921.zip (Size: 216.23 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#20
2019-12-16, 03:35 AM (This post was last modified: 2019-12-16, 03:38 AM by mvallevand.)
That is normal for livetv. NextPVR seems to be running the command ok. If you run

/var/opt/nextpvr/scripts/opendct.sh 703 "DCT-Ceton InfiniTV Ethernet (00-80-8d-8a) Tuner 2" /tmp/somefile.ts

Does the file still get created?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (29): « Previous 1 2 3 4 5 … 29 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux Command Line To Initiate SchedulesDirect EPG Update LinuxDVR 1 152 2025-04-13, 06:35 PM
Last Post: mvallevand
  Linux install failed -- permission denied? FrogFan 4 391 2025-03-26, 12:39 AM
Last Post: FrogFan
  Is there a 'recommended' version/release of Linux? Bobthegoldfish 1 353 2024-12-24, 12:28 AM
Last Post: mvallevand
  Downgrade on Linux eriberg 3 417 2024-09-04, 08:46 PM
Last Post: mvallevand
  Pi5 / Firefox 128.0 - ctrl key in devices screen does not work TheRealRoland 4 596 2024-08-02, 07:26 PM
Last Post: TheRealRoland
  linux mint 22 bccicone 2 510 2024-08-01, 10:10 PM
Last Post: bccicone
  Client Recommendations on Linux devarionarias 6 1,509 2024-06-18, 04:31 PM
Last Post: devarionarias
  Linux setup - Help a Windows user... prothed 18 2,335 2024-06-03, 11:08 AM
Last Post: Rod Hutchinson
  Install NexPVR backend in Buildroot based Linux Tnix 3 958 2024-03-14, 11:50 AM
Last Post: mvallevand
  Wake after Suspend issue with dvbt devices (LE12 Kodi 21) ShadowMask 41 4,378 2024-02-09, 07:11 AM
Last Post: ShadowMask

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

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

Linear Mode
Threaded Mode