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
#81
2019-12-10, 01:14 AM (This post was last modified: 2019-12-10, 01:19 AM by checkbin99.)
Ran that command below. 

root@Mint-desktop:/var/opt/nextpvr/scripts# /var/opt/nextpvr/scripts/opendct.sh VERSION
STOP
OK

Exit
START |VERSION|12345678|C:mntR5000_Recordings$2.ts|Great
Exit
Traceback (most recent call last):
  File "/var/opt/nextpvr/scripts/opendct.py", line 190, in <module>
    main(sys.argv)
  File "/var/opt/nextpvr/scripts/opendct.py", line 43, in main
    payload = sendMessage(message)
  File "/var/opt/nextpvr/scripts/opendct.py", line 76, in sendMessage
    data = sock.recv(1024)
socket.timeout: timed out
GET_SIZE
0

Exit
STOP
OK

Exit
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#82
2019-12-10, 01:20 AM
Of course, could you try

openname=C:/mnt/R5000_Recordings/$2.ts

But the test isn't needed anymore.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#83
2019-12-10, 01:26 AM
OK I changed the entry in the script to "openname=C:/mnt/R5000_Recordings/$2.ts"

Tried the /var/opt/nextpvr/scripts/opendct.sh VERSION command and got same error.

What test isn't needed anymore?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#84
2019-12-10, 01:31 AM (This post was last modified: 2019-12-10, 01:34 AM by mvallevand.)
That early test was bad syntax but it confirmed that the connection was working and what is need now is different I hoped the last line would work I want to see now is the output from

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

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#85
2019-12-10, 01:42 AM
So I ran that command with nextnname set as below, and i tried twice with openname with the slashes going both ways (changed the comments).  Got the same results both ways:

nextname=/mnt/R5000_Recordings/$2.ts
#openname=C:\mnt\R5000_Recordings\$2.ts
openname=C:/mnt/R5000_Recordings/$2.ts


Command:

root@Mint-desktop:/var/opt/nextpvr/scripts# /var/opt/nextpvr/scripts/opendct.sh 190 R5ooo-HD | ffmpeg -i pipe: -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|C:/mnt/R5000_Recordings/R5ooo-HD.ts|Great
OK

Exit
GET_SIZE R5ooo-HD
0

Exit
STOP R5ooo-HD
OK

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

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#86
2019-12-10, 01:45 AM
Do you see a START command on the server it responded OK. The command line looks like I'd expect.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#87
2019-12-10, 01:51 AM
Ah, I see.  So on the R5000 box, the NextCom app does show it is recording (still is), to the C::/mnt/R5000_Recordings/R5oooo-HD.ts file.  However on the share, the file is there but it stays at zero length.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#88
2019-12-10, 01:55 AM (This post was last modified: 2019-12-10, 01:55 AM by mvallevand.)
It responded to the STOP so I am surprised it is running.

I suggest adding a

sleep 5

before the GET_SIZE line in opendct.sh

then we can see if it is growing, we may have moved on too fast. That is the file size as known to the server.

Martin
checkbin99
Offline

Member

Posts: 142
Threads: 1
Joined: Nov 2019
#89
2019-12-10, 02:05 AM
OK, looking better.  It is recording to the share and file continues to grow.

I do see the same error at the end of the command's output:

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|C:/mnt/R5000_Recordings/R5ooo-HD.ts|Great
OK

Exit
GET_SIZE R5ooo-HD
0

Exit
STOP R5ooo-HD
OK

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

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#90
2019-12-10, 02:19 AM
That is possible the script already has the pipe open by another instance of ffmpeg but there is no UI.

when you created the script file did you include the - on the end of the ffmpeg line?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (26): « Previous 1 … 7 8 9 10 11 … 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,359 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