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
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,123
Threads: 957
Joined: May 2006
#241
2023-02-17, 05:05 PM
python is more forgiving then bash.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#242
2023-02-17, 05:21 PM
So it seems like now everything is talking to some degree.

From the opendct logs they appear as I expect they should

From the nextpvr side it now communicates to launch but it pretty much seems to end there. No video just a wait screen and exiting the nextpvr channel has no effect on the tuner stopping.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,123
Threads: 957
Joined: May 2006
#243
2023-02-17, 05:41 PM
I can't do anything without logs.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#244
2023-02-17, 07:00 PM
Ill paste the log and terminal output of those commands

run@impact4solutions:/var/opt/nextpvr/scripts$ sudo service opendct start
jrun@impact4solutions:/var/opt/nextpvr/scripts$ bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822" | ffplay -i pipe:
START DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4|7822|1110|12345678|stdout|Great
listening
GET_SIZE DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4
0

Exit
ffplay version 4.4.2-0ubuntu0.22.04.1 Copyright © 2003-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec    58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter    7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample  3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
waiting    :  0.000 fd=  0 aq=    0KB vq=    0KB sq=    0B f=0/0 
OK  nan    :  0.000 fd=  0 aq=    0KB vq=    0KB sq=    0B f=0/0 

^CExitn    :  0.000 fd=  0 aq=    0KB vq=    0KB sq=    0B f=0/0 
Traceback (most recent call last):
  File "/var/opt/nextpvr/scripts/opendct.py", line 221, in <module>
    main(sys.argv)
  File "/var/opt/nextpvr/scripts/opendct.py", line 58, in main
    mediaServerThread.join()
  File "/usr/lib/python3.10/threading.py", line 1096, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
    if lock.acquire(block, timeout):
KeyboardInterrupt

jrun@impact4solutions:/var/opt/nextpvr/scripts$ python3 /var/opt/nextpvr/scripts/opendct.py STOP "DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4" 1110 > /dev/null
STOP DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4
OK

Exit


Attached Files
.zip   opendct.zip (Size: 5.73 KB / Downloads: 0)
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#245
2023-02-17, 07:09 PM
jrun@impact4solutions:/var/opt/nextpvr/scripts$ sudo service opendct start
jrun@impact4solutions:/var/opt/nextpvr/scripts$ bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822" > somefile.ts
GET_SIZE DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4
START DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4|7822|1110|12345678|stdout|Great
listening
0

Exit
waiting
OK

^CExit
Traceback (most recent call last):
  File "/var/opt/nextpvr/scripts/opendct.py", line 221, in <module>
    main(sys.argv)
  File "/var/opt/nextpvr/scripts/opendct.py", line 58, in main
    mediaServerThread.join()
  File "/usr/lib/python3.10/threading.py", line 1096, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
    if lock.acquire(block, timeout):
KeyboardInterrupt

jrun@impact4solutions:/var/opt/nextpvr/scripts$ python3 /var/opt/nextpvr/scripts/opendct.py STOP "DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4" 1110 > /dev/null
STOP DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4
OK

Exit
jrun@impact4solutions:/var/opt/nextpvr/scripts$


Attached Files
.zip   opendct.zip (Size: 5.67 KB / Downloads: 0)
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#246
2023-02-17, 07:15 PM
jrun@impact4solutions:/var/opt/nextpvr/scripts$ bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822" | ffprobe -i pipe:
GET_SIZE DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4
START DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4|7822|1110|12345678|stdout|Great
listening
0

Exit
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright © 2007-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec    58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter    7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample  3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
waiting
OK

^CExit
Traceback (most recent call last):
  File "/var/opt/nextpvr/scripts/opendct.py", line 221, in <module>
    main(sys.argv)
  File "/var/opt/nextpvr/scripts/opendct.py", line 58, in main
    mediaServerThread.join()
  File "/usr/lib/python3.10/threading.py", line 1096, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
    if lock.acquire(block, timeout):
KeyboardInterrupt

jrun@impact4solutions:/var/opt/nextpvr/scripts$ python3 /var/opt/nextpvr/scripts/opendct.py STOP "DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4" 1110 > /dev/null
STOP DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4
OK

Exit
jrun@impact4solutions:/var/opt/nextpvr/scripts$


Attached Files
.zip   opendct.zip (Size: 6 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,123
Threads: 957
Joined: May 2006
#247
2023-02-17, 07:35 PM
Sorry I can't deal with all that unsolicited info, but I meant the NextPVR logs because that is what you told me is failing and everything else was working.

So let's try again. Does

Code:
bash -c "/var/opt/nextpvr/scripts/opendct.sh 1110 \"DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4\" 7822" > filename.ts

create a valid file until you hit ctrl-c?

If so, then I need the NextPVR logs.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#248
2023-02-17, 08:06 PM
it creates a file in the directory the command is ran but its not valid. Tuner is running but it doesn't seem like data is flowing into the file. It does not grow
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,123
Threads: 957
Joined: May 2006
#249
2023-02-17, 08:20 PM
Ok since there is no reason to test in NextPVR until that works we are spinning are wheels

So in opendct.py I see line 94 is back to 10 seconds, make that 15 which is what I thought we were testing. Then try the bash line again.

If that fails lets test from python3 once again.

Code:
python3 /var/opt/nextpvr/scripts/opendct.py 1110 "DCT-Ceton InfiniTV PCIe (00-80-84-b9) Tuner 4" 7822  > filename.ts

Does that create a growing file? Remember growing needs to wait several seconds because of buffer. For this test you can also edit out the comment on line 139 to see if streaming is going on or not.
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#250
2023-02-17, 08:43 PM
its running not the file is still not growing. Its showing its writing somewhere on the screen
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (29): « Previous 1 … 23 24 25 26 27 … 29 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 70 2025-07-03, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 40 2025-07-03, 12:02 AM
Last Post: Siftingice
  How to get Hauppage firmware running on Linux Mint Higgo 8 411 2025-06-13, 08:31 AM
Last Post: mvallevand
  Linux Command Line To Initiate SchedulesDirect EPG Update LinuxDVR 1 361 2025-04-13, 06:35 PM
Last Post: mvallevand
  Linux install failed -- permission denied? FrogFan 4 704 2025-03-26, 12:39 AM
Last Post: FrogFan
  Is there a 'recommended' version/release of Linux? Bobthegoldfish 1 481 2024-12-24, 12:28 AM
Last Post: mvallevand
  Downgrade on Linux eriberg 3 587 2024-09-04, 08:46 PM
Last Post: mvallevand
  Pi5 / Firefox 128.0 - ctrl key in devices screen does not work TheRealRoland 4 791 2024-08-02, 07:26 PM
Last Post: TheRealRoland
  linux mint 22 bccicone 2 653 2024-08-01, 10:10 PM
Last Post: bccicone
  Client Recommendations on Linux devarionarias 6 1,922 2024-06-18, 04:31 PM
Last Post: devarionarias

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

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

Linear Mode
Threaded Mode