NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 … 20 Next »
Using R5000-HD with Network Recorder Plugin

 
  • 0 Vote(s) - 0 Average
Using R5000-HD with Network Recorder Plugin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#181
2020-01-10, 02:14 AM
Yes I did chmod on the new opendctsh file and the r5000.py.  Also pu IP and port of the R5000 in and the values of openname and nextname.  Attached latest logs


Attached Files
.zip   logs-20200109-2113.zip (Size: 925.7 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#182
2020-01-10, 02:24 AM
So if you run

either of these do you see errors?

/var/opt/nextpvr/scripts/opendct.sh 190 R5ooo-HD | ffmpeg -i pipe: -codec copy -f mpegts -y /dev/null

/var/opt/nextpvr/scripts/r5000.sh 190 R5ooo-HD | ffmpeg -i pipe: -codec copy -f mpegts -y /dev/null

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#183
2020-01-10, 02:26 AM
First command:

/var/opt/nextpvr/scripts# /var/opt/nextpvr/scripts/opendct.sh 190 R5ooo-HD | ffmpeg -i pipe: -codec copy -f mpegts -y /dev/null
STOP R5ooo-HD
OK

Exit
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright © 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec    configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      55. 78.100 / 55. 78.100
  libavcodec    57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter    6.107.100 /  6.107.100
  libavresample  3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample  2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
START R5ooo-HD|190|12345678|/mnt/R5000_Recordings/R5ooo-HD.ts|Great
OK

Exit
GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

GET_SIZE R5ooo-HD
0

Exit
STOP R5ooo-HD
OK

Exit
pipe:: Invalid data found when processing input
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#184
2020-01-10, 02:27 AM
Second command:

/var/opt/nextpvr/scripts/r5000.sh 190 R5ooo-HD | ffmpeg -i pipe: -codec copy -f mpegts -y /dev/null
-su: /var/opt/nextpvr/scripts/r5000.sh: No such file or directory
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright © 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec    configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      55. 78.100 / 55. 78.100
  libavcodec    57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter    6.107.100 /  6.107.100
  libavresample  3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample  2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#185
2020-01-10, 02:35 AM (This post was last modified: 2020-01-10, 02:37 AM by checkbin99.)
Sorry, I had renamed r5000.sh so that output was wrong.  Second script output:



/var/opt/nextpvr/scripts/r5000.sh 190 R5ooo-HD | ffmpeg -i pipe: -codec copy -f mpegts -y /dev/null
STOP R5ooo-HD
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright © 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec    configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      55. 78.100 / 55. 78.100
  libavcodec    57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter    6.107.100 /  6.107.100
  libavresample  3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample  2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
timed out
Exit
START R5ooo-HD|190|12345678|/home/martin/recordings/R5ooo-HD.ts|Great
timed out
Exit
GET_SIZE R5ooo-HD
timed out
Exit
Traceback (most recent call last):
  File "/var/opt/nextpvr/scripts/r5000.py", line 64, in <module>
    main(sys.argv)
  File "/var/opt/nextpvr/scripts/r5000.py", line 34, in main
    while int(payload) < 500000 and datetime.datetime.now() < start+end:
ValueError: invalid literal for int() with base 10: 'timed out'
STOP R5ooo-HD
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#186
2020-01-10, 02:49 AM
Ok you didn't didn't edit r5000.sh so we can ignore that it should be the same as opendct.py anyway.

The NextCon app seems to respond to the commands from opendct.py but it also reports the file isn't growing for 10 seconds. Do you see the command logged on the Windows server? If so you might have to bump up the end time in opendct.py to seconds=15 or more until data starts flowing.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#187
2020-01-10, 03:15 AM
I just wanted to run a quick sanity check just to make sure my R5000 was still working.  So I ran the opendct.sh from the other day as follows:

python3 opendct.py START R5ooo-HD 132 /mnt/R5000_Recordings/todays_test-on-the-r5000 server

It is recording on the NextCom app and the file continues to grow.

I then ran the same command but using r5000.py and recording does not start:

python3 r5000.py START R5ooo-HD 132 /mnt/R5000_Recordings/todays_test-on-the-r5000 server

Now I get:

START R5ooo-HD
timed out
Exit
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#188
2020-01-10, 03:22 AM
Since you didn't configure it won't work. What we were are trying to see now is the file growing in opendct.sh

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#189
2020-01-10, 03:27 AM
In my previous post I hadn't configured r5000.sh, because I had taken that file you provided and renamed it as the new opendct.sh.  Here I am referring to r5000.py, which I have configured with the IP and port of the R5000 (192.168.1.16 and port 6969).  Is there something else in the r5000.PY that needs to be changed?  Since I changed the Ip and port, shouldn't that command "python3 r5000.py START R5ooo-HD 132 /mnt/R5000_Recordings/todays_test-on-the-r5000 server" start the recording in the same way the call to opendct.py does?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#190
2020-01-10, 03:37 AM
I am assuming the opendct.sh is calling r5000.py so I am not sure what is going on with the the test line.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (26): « Previous 1 … 17 18 19 20 21 … 26 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to configure RemoteRecorder Plugin to use remote NextPVR instance? bm_00 5 3,138 2020-10-06, 12:32 PM
Last Post: mvallevand
  Connecting NVPR to Emby Plugin NVPR Geek 0 1,365 2018-06-10, 12:32 AM
Last Post: NVPR Geek
  YouTube Plugin whurlston 645 189,356 2017-11-25, 07:52 PM
Last Post: ga_mueller
  Newb here: Can someone help with a Plex Plugin issue? wepham 1 3,239 2017-02-07, 07:10 AM
Last Post: petenshari
  System Plugin Confused by New NPVR Naming Scheme Lao Pan 1 2,745 2016-09-25, 08:26 AM
Last Post: imilne
  Movies2 Plugin Problem... Anyone using it? ga_mueller 5 4,489 2016-08-22, 07:02 PM
Last Post: ga_mueller
  Network Recorder with more than 1 NPVR (how to)? SFX Group 9 6,181 2016-03-03, 05:57 PM
Last Post: UncT
  Plex Plugin Nikkie300 4 6,208 2016-01-24, 05:59 PM
Last Post: Nikkie300
  NextPVR Plex plugin, no live TV ajmast 15 9,687 2015-10-29, 03:45 AM
Last Post: ajmast
  Cant restart record service using System plugin on 3.4.8 shaunpatrick77 3 2,845 2015-05-19, 02:20 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode