How to build a MythTV v33 system for a Raspberry Pi 4

For discussion of topics specific to MythTV on Raspberry Pi devices
User avatar
monkeypet
Junior
Posts: 49
Joined: Tue Feb 11, 2014 7:18 pm
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by monkeypet »

jfabernathy wrote:
Sun May 22, 2022 5:21 pm
If you use FPS jitter as a metric. V32 is significantly better than v31 on RPI4 Bullseye 64 bit
Meh, no difference for mpeg2 playback recorded from HDHR. I need to go through performance debugging again. Watch something like a sports event recorded in high quality and you can see the glitches during playback and some artifacts.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by jfabernathy »

monkeypet wrote:
Tue May 31, 2022 2:30 am
jfabernathy wrote:
Sun May 22, 2022 5:21 pm
If you use FPS jitter as a metric. V32 is significantly better than v31 on RPI4 Bullseye 64 bit
Meh, no difference for mpeg2 playback recorded from HDHR. I need to go through performance debugging again. Watch something like a sports event recorded in high quality and you can see the glitches during playback and some artifacts.
One thing I have noticed while trying to find the source of a recording playback issue that I thought was RPI4 related was the fact that some Network shows in HD MPEG2 1080i are overly compressed by the local station to make room for all the other sub channels they are now broadcasting.

I had a NBC program that was 1080i and it was recorded on my production backend and my RPI4. Both these recordings looked the same on multiple frontends. Both with unexplained jumps in high action sections. I have sources for OTA including RPI4/ HDHR, Hauppauge WinTV Quad PCIe card in a 10th gen Intel PC, and SlingTV with AirTV Everywhere. Sling AirTV Everywhere is the least impressive as to picture quality, but very usable.

In the past a 1 hour show recording took 6GB. Now I never see one over 4GB. They've turned up the compression hoping people like my wife won't notice, but I sure do. The streaming services I subscribe to instead of cable TV seem to do a much better job, but they are using a more modern compression technology than MPEG2.
mythpi
Junior
Posts: 18
Joined: Thu Jan 13, 2022 3:38 pm
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by mythpi »

For what it's worth, I've been recording hockey playoffs on my Pi4. I've noticed that both TNT and ESPN broadcasts have significant glitches - far more so than my regional sports network (Altitude).

I think JF may be onto something here, regarding compression and video quality.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by jfabernathy »

mythpi wrote:
Fri Jun 03, 2022 3:47 pm
For what it's worth, I've been recording hockey playoffs on my Pi4. I've noticed that both TNT and ESPN broadcasts have significant glitches - far more so than my regional sports network (Altitude).

I think JF may be onto something here, regarding compression and video quality.
I think this issues goes way beyond just Cable and OTA programs recorded on Mythtv. All of my cable like channels like TNT and ESPN come through streaming services. So mythtv is not involved for this. Before the NHL playoffs, I uses DirecTV Steaming to watch my team on the Bally Sports channel or I could watch using the Bally Sport app logged in use DTV as the "cable" provider. I noticed that sometimes DTV was better and sometimes Bally app was better. I found that the Samsung TV app for those providers was better than the FireTV sometimes.

I switched to Sling TV when Bally's NHL season was over to save $60 a month and found that Sling was better at streaming hockey by far with a smoother picture. I don't think it's my internet as I have 200Mb/s down. It exceeds that most of the time.

I'll do a lot of comparing hockey picture quality when ABC starts carrying some games in the finals. I can record those on Mythtv. I'll test my production backend using a Hauppauge WinTV quadTV PCIe card and compare that to what I see on RPI4 using HDHR tuners.

But since Leanfront on a FireTV 4K produces a perfect playback of Mythtv recordings, it really won't matter which backend and I normally use that FireTV 4K for all playbacks.

I want to get away from too many remotes for my normal Den TV. Right now FireTV 4K does streaming and Mythtv via Leanfront very well
keef256
Junior
Posts: 39
Joined: Fri Apr 22, 2022 3:38 pm
Great Britain

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by keef256 »

is it possible to run the

pi-utils/run_mythsetup.sh

comand over SSH?
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by jfabernathy »

keef256 wrote:
Thu Jun 09, 2022 9:46 pm
is it possible to run the

pi-utils/run_mythsetup.sh

comand over SSH?
I have not tried it on a RPI4, but on a normal X86 backend you can use ssh -X so the GUI/QT screens will display.
keef256
Junior
Posts: 39
Joined: Fri Apr 22, 2022 3:38 pm
Great Britain

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by keef256 »

jfabernathy wrote:
Thu Jun 09, 2022 11:45 pm
keef256 wrote:
Thu Jun 09, 2022 9:46 pm
is it possible to run the

pi-utils/run_mythsetup.sh

comand over SSH?
I have not tried it on a RPI4, but on a normal X86 backend you can use ssh -X so the GUI/QT screens will display.
Just had another go at this and can't get it to work. :cry:
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by jfabernathy »

Over ssh just try mythtv-setup but make sure you started you ssh session with -X

Code: Select all

 ssh -X pi@rpi4.local
Or whatever your pi ssh sign in is.
Or try to use the Desktop version of RPI OS.
keef256
Junior
Posts: 39
Joined: Fri Apr 22, 2022 3:38 pm
Great Britain

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by keef256 »

jfabernathy wrote:
Sat Aug 27, 2022 10:49 am
Over ssh just try mythtv-setup but make sure you started you ssh session with -X

Code: Select all

 ssh -X pi@rpi4.local
Or whatever your pi ssh sign in is.
I have tried both mythtv-setup
and pi-utils/run_mythsetup.sh

neither of which show anything. The pi-utils/run_mythsetup.sh does at least stop and restart the backend.
I get the same thing if I run them like

ssh -X pi@rpi4.local mythtv-setup

I have no desktop installed.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by jfabernathy »

It has to have something to do with no desktop installed. I forget all the details on this as I documented it a long time ago. My current RPI4 Mythtv is a combo FE/BE and is running the Endeavour OS install I've documented in this same category. So I don't have a PI setup to test what is going on with your system. Also I'm about to leave town for a few months and can't help while on the road.

I would concentrate on adding a GUI to your lite. You can do that via ssh. There are many guides like this one:
https://www.paulligocki.com/add-gui-to- ... i-os-lite/
keef256
Junior
Posts: 39
Joined: Fri Apr 22, 2022 3:38 pm
Great Britain

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by keef256 »

Well having used these instructions several times to set up my system they are no longer working for me.
It fails on:-
sudo ansible-playbook -i hosts qt5.yml

with

ERROR! the playbook: qt5.yml could not be found
User avatar
bill6502
Developer
Posts: 2299
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by bill6502 »

Please take a look at the README.md, its been changed. You probably want:
./mythtv.yml --limit=localhost

If that fails, post the complete command line and output. Also, the output of:
ansible --version. Thanks.
User avatar
jfabernathy
Senior
Posts: 577
Joined: Wed Feb 18, 2015 2:37 pm
Location: Raleigh, NC
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by jfabernathy »

bill6502 wrote:
Tue Sep 27, 2022 5:37 pm
Please take a look at the README.md, its been changed. You probably want:
./mythtv.yml --limit=localhost

If that fails, post the complete command line and output. Also, the output of:
ansible --version. Thanks.
I have made the edits to the OP, but have not tested it. I think a 'sudo' will be needed in front of the new command.
User avatar
bill6502
Developer
Posts: 2299
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by bill6502 »

Jim,

The 'secret' is in a new ansible.cfg file. The privilege_escalation section will cause
the user to be prompted for a password (their sudo password) when the playbook
is run.
keef256
Junior
Posts: 39
Joined: Fri Apr 22, 2022 3:38 pm
Great Britain

Re: How to build a MythTV v32 system for a Raspberry Pi 4

Post by keef256 »

jfabernathy wrote:
Wed Sep 28, 2022 11:12 am
bill6502 wrote:
Tue Sep 27, 2022 5:37 pm
Please take a look at the README.md, its been changed. You probably want:
./mythtv.yml --limit=localhost

If that fails, post the complete command line and output. Also, the output of:
ansible --version. Thanks.
I have made the edits to the OP, but have not tested it. I think a 'sudo' will be needed in front of the new command.
Thanks that worked.
Didn't use sudo. I was asked for a password
Post Reply