NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
1 2 3 4 5 … 433 Next »
NLite Client on Raspberry Pi

NLite Client on Raspberry Pi
cweseloh
Offline

Junior Member

Posts: 24
Threads: 8
Joined: Jun 2016
#1
2016-08-11, 12:57 PM
I have a Raspberry Pi 2 that I would like to use to run the new NLite Client (. Has anyone tried this yet? A few instructions on setup would be helpful. I'm a bit new to Pi/Linux.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#2
2016-08-11, 05:38 PM
I'm not sure if anyone has tried it on a Raspberry Pi. You'd need to download the source, and extract it to a directory, and approximately follow these steps...

Install a few packages using the following commands:

Code:
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-image-dev
sudo apt-get install libsdl2-ttf-dev
sudo apt-get install libcurl4-gnutls-dev
sudo apt-get install libvlc-dev
sudo apt-get install cmake

Then change into the nlite directory and run the following:

Code:
cd build
cmake ..
make

Then run it with:
Code:
./nlite

Hopefully libvlc (the video playback library) has support for the hardware on the Raspberry Pi devices.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#3
2016-08-12, 12:06 AM
I'm interested in how this turns out, Sub: did you forget to attach the source? Smile

"I'd rather have a bottle in front of me than a frontal lobotomy"
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#4
2016-08-12, 01:29 AM
Reddwarf Wrote:Sub: did you forget to attach the source? Smile
No - it's in the release announcement. There is no point in posting the same attachment in multiple places.
cweseloh
Offline

Junior Member

Posts: 24
Threads: 8
Joined: Jun 2016
#5
2016-08-13, 01:42 AM
I installed Ubuntu Mate on my Raspberry Pi and followed the instructions provided by Sub on this thread. The first time I ran nlite, the interface looked great and it even found my primary computer and displayed all of my recorded programs without any setup. However, when I tried to play a video, the video got stuck on the first frame and the audio stuttered. When I stopped that and tried to watch Live TV, the program crashed. Now when I try to run nlite again, all I see is a black screen - even after deleting the nlite folder and running cmake again.

Any suggestions?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#6
2016-08-13, 02:06 AM
I really don't know if libvlc (which is used for video playback) works well on RPi2 or not, you're the first person to ever test it on this platform for us. I've only ever used it on a standard Linux desktop machine.

If you start nlite, and it shows black, and you press ctrl-s (or maybe 'Escape'), does the UI come back? ie, if it died during a playback attempt then it may just show a black UI when you reconnect. The nlite utility is very new, and stuff like this still needs work.
cweseloh
Offline

Junior Member

Posts: 24
Threads: 8
Joined: Jun 2016
#7
2016-08-13, 03:56 PM
The escape key worked to bring back the UI. Thanks.

When the app crashes, the error in the console window is: Segmentation fault (core dumped)

The audio wasn't stuttering today, not sure why it was yesterday. Just seems to be a problem with the video now. While the video is trying to play I see "ts demux error: libdvbpsi error (PSI decoder): TS duplicate" in the console frequently. Full console log attached if it helps.
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#8
2016-08-13, 07:54 PM
Just a quick note. I followed the earlier instructions to install it on my pi3 and all went well.
Running it brought up the familiar NPVR menu and I could navigate round my recordings - BUT
when I came to play one I got the same results as post 5 above. - VLC crashed out and blank screen (spotted later post and ESC brought it back after a short while.
Code:
About to ask for: http://192.168.1.80:8866/stream?client=sdl&f=\\HP-1\gbpvr\Person of Interest\Person of Interest_20160810_03100400.mpg
[02363548] core libvlc error: No plugins found! Check your VLC installation.
LibVLC initialization failure.
Segmentation fault
pi@pi3:~/Downloads/nlite/build $

I saw no errors when installing libvnc-dev
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#9
2016-08-13, 08:11 PM
OK, I had a few minutes before pub-time called and installed the main VLC package.
Gets further now - no crashes - however no video, but there is sound. error messages are (manual, rather than cut&paste this time)

avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow?)



This is using the pi3 built-in wifi so I will try to get time tomorrow to get a cable to it.
JonnyGators
Offline

Junior Member

USA
Posts: 43
Threads: 1
Joined: Aug 2024
#10
2024-10-17, 09:23 PM
Has anyone ever had any luck getting a client working on a pi in raspbian?

I managed to build the thing, and when I run it, I just get a black screen.

I do see in this thread lots of references to black screens, although some had gotten it to open up at first and crash, or errors - I don't get any of that, only a black screen.

This thread is quite old, I would hope by now someone would've figured out a way to make this work.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Client trouble Jzzhn 2 1,492 2020-08-31, 05:41 AM
Last Post: Jzzhn
  NextPVR Client Rendering NumberFive 1 1,519 2020-07-28, 10:17 PM
Last Post: NumberFive
  Client Hang artmetz 4 2,207 2020-06-07, 09:14 PM
Last Post: sub
  Nvidia Shield TV - Android client / Kodi client. mkotas 9 4,348 2020-01-28, 10:58 AM
Last Post: mkotas
  Cant disable nextpvr as a client eastavin 5 2,591 2019-11-01, 02:57 AM
Last Post: eastavin
  Play back of recording from client PC hangs up dcl 5 2,016 2019-09-15, 10:46 PM
Last Post: mvallevand
  Npvr act as client spudjg1 1 1,372 2019-06-16, 11:09 AM
Last Post: spudjg1
  NextPVR client / server set up EiEiOhh 3 2,243 2019-06-02, 06:01 PM
Last Post: mvallevand
  EPG content not showing up in client Cybergy 20 4,736 2019-04-09, 05:37 PM
Last Post: sub
  Client PC not knowing about a current recording in TV guide. OK on NMT,Samsung app martint123 17 6,905 2019-01-27, 03:31 AM
Last Post: jksmurf

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

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

Linear Mode
Threaded Mode