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

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#211
2020-01-12, 01:15 AM (This post was last modified: 2020-01-12, 01:16 AM by mvallevand.)
I liked post https://forums.nextpvr.com/showthread.ph...#pid532799 better it implied it didn't loop and that one doesn't loop enough (I would have expected 20 loops)

The final three things to try before we give up

in r5000.py

before
python3 $opendct GET_FILE SIZE "$2"
add
python3 $opendct VERSION "$2"

in r5000.sh

take out -v panic

Also remove /mnt/R5000_Recordings/R5ooo-HD.ts if it exists (but it sounds like it doesn't)

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#212
2020-01-12, 01:34 AM
I don't see the line:   python3 $opendct GET_FILE SIZE "$2"
in r5000.py.

Do you mean to make the 2 changes both to r5000.sh?

BTW, I don't the sound of your last post?  I hope you're not ready to give up.  :-(
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#213
2020-01-12, 01:44 AM (This post was last modified: 2020-01-12, 01:45 AM by mvallevand.)
Sorry I didn't type the underscore between FILE and SIZE or you haven't changed GET_SIZE

Basically I haven't changed the sh or py enough since the very first tests to make any difference so I feel we are moving sideways

I want the VERSION command to so I know when the START finishes.

martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#214
2020-01-12, 02:19 AM
Martin,
I'm not referring to the missing underscore in GET_FILE_SIZE.  What I mean is the line that contains python3 $opendct GET_FILE SIZE "$2" is in r5000.sh and not r5000.py?  Isn't that where you want me to add the line:
python3 $opendct VERSION "$2"


BTW, I double checked and I changed GET_SIZE to GET_FILE_SIZE in r5000.py, r5000.sh and opendct.sh.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#215
2020-01-12, 02:24 AM
Sorry yes I want VERSION in the sh file sorry the server hung while I was posting that and I missed some changes.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#216
2020-01-12, 03:39 AM
OK, made the last updates per your instructions.  Now the NextCom app flashes 5 or 6 times like it keeps trying to start recording but never stops:

/var/opt/nextpvr/scripts/r5000.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
VERSION
2

Exit
GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

GET_FILE_SIZE R5ooo-HD
0

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
/mnt/R5000_Recordings/R5ooo-HD.ts: Invalid data found when processing input
STOP R5ooo-HD
OK

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

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#217
2020-01-12, 03:51 AM
If you hard code another name for the opename C:\\temp\\sample.ts does it record?

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#218
2020-01-12, 03:22 PM
I tried hard coding another name for the opename C:\\temp\\sample.ts but still no go.

Then I started looking at what worked in the past.  I tried a version of opendct.sh we created awhile ago and it seems like its working, it starts recording and keeps going.  In that script I then changed the "opendct=/var/opt/nextpvr/scripts/opendct.py" line to be "opendct=/var/opt/nextpvr/scripts/r5000.py" and it seemed that worked too. Recording stays going. I used this command:

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

When I took the same line ("opendct=/var/opt/nextpvr/scripts/opendct.py) and put it into the r5000.sh script, the same command will fail - recording starts but stops after 10 seconds.  The weird thing is that everything looks the same (except the 2 lines we added:
python3 $opendct VERSION "$2
and
rm "$nextname"

I even ran a diff and the only differences it shows are those 2 lines.

Not sure what I'm missing.  I think I can copy the working opendct.sh as r5000.sh but I'm puzzled why one works and the other doesn't.

Bill
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#219
2020-01-12, 03:29 PM
Could you zip up both files and send them me?

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#220
2020-01-12, 03:29 PM (This post was last modified: 2020-01-12, 03:30 PM by checkbin99.)
You read my mind. :-)

Attached is a zip of the output of the new opendct.sh that works.  I know it seems we've been here before.  :-)  But this is calling the new r5000.py script. I also attached my current scripts, so we're on the same page.  Thank you.

Bill


Attached Files
.zip   output.txt.zip (Size: 1.82 KB / Downloads: 1)
.zip   scripts.zip (Size: 1.64 KB / Downloads: 2)
« Next Oldest | Next Newest »

Users browsing this thread: 4 Guest(s)

Pages (26): « Previous 1 … 20 21 22 23 24 … 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,139 2020-10-06, 12:32 PM
Last Post: mvallevand
  Connecting NVPR to Emby Plugin NVPR Geek 0 1,366 2018-06-10, 12:32 AM
Last Post: NVPR Geek
  YouTube Plugin whurlston 645 189,597 2017-11-25, 07:52 PM
Last Post: ga_mueller
  Newb here: Can someone help with a Plex Plugin issue? wepham 1 3,243 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,495 2016-08-22, 07:02 PM
Last Post: ga_mueller
  Network Recorder with more than 1 NPVR (how to)? SFX Group 9 6,189 2016-03-03, 05:57 PM
Last Post: UncT
  Plex Plugin Nikkie300 4 6,210 2016-01-24, 05:59 PM
Last Post: Nikkie300
  NextPVR Plex plugin, no live TV ajmast 15 9,698 2015-10-29, 03:45 AM
Last Post: ajmast
  Cant restart record service using System plugin on 3.4.8 shaunpatrick77 3 2,848 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