LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2022, 06:55 PM   #1
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,010

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Htpc dvr pvr


What are linux users doing to record OTA currently? I'd like to know what you are using if you would.
 
Old 08-25-2022, 07:32 PM   #2
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,150

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
I'm perfectly happy with Mythtv for the backend with Kodi as the front end. Couple that with a few HDHomeRun network tuners and it's a breeze. I run it in a self contained Docker that has it's own Mariadb. Link included if interested.

https://gitlab.com/jmgibson1981/home.../docker/mythtv

Last edited by jmgibson1981; 08-25-2022 at 07:33 PM.
 
1 members found this post helpful.
Old 08-25-2022, 09:22 PM   #3
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
I am not using it anymore, but like the above post, MythTV backend with Kodi and a HDHomerun worked great for years. But when I realized I was recording shows and had no interest in watching them I turned it off. I used the HDHomerun with its app on a Firestick until the HDHR died to watch the local news.
 
Old 08-26-2022, 03:11 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,010

Original Poster
Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Thanks. Was wondering what state of it was.
 
Old 08-26-2022, 04:49 PM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
I use a little usb ATSC tuner. Mine has a Pinnacle chip.

To play it, you need v4l-utils, and a media player. That's it.

You need to make a channels.conf file for your tv channels, then zap a channel and play it with (mpv, mplayer, ffplay, vlc)

Which of course means that you can also dump the stream to file easy enough. let me tune to a channel and make a screenshot.

https://0x0.st/o9n2.jpg

I like simple.
 
Old 08-26-2022, 05:01 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
And with something that simple, you can make a bash script to automate that. Display the channels that you have in channels.conf and use bash select to display them, select a channel to play. And it is that simple. The key is v4l-utils. And of course firmware support for your little tuner device.

https://0x0.st/o9nL.jpg

You said record. If you can play the tv transport stream then you can dump to file.

In the US that is mpeg2 video, ac3 audio. Run it through ffmpeg if you want to change it.
 
1 members found this post helpful.
Old 08-26-2022, 05:10 PM   #7
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
I keep adding stuff that comes to my mind. If you want to schedule a recording, that is as easy as using something like rtcwake.
Code:
#!/usr/bin/bash

#Wake, record channel, return to sleep. Needs rtcwake and v4l utils

cd $HOME/<somewhere>

#Set wake date/time here, sleep
sudo rtcwake -m mem --date "2021-05-13 18:55:00"

#Allow everything to wake up
sleep 10

#Set TV channel to record here
chan=49.2

#Dvb conf file
conf="$HOME/.mplayer/dvb_channel.conf"

#Zap chan, dump to file.ts
dvbv5-zap -ssrc "$conf" "$chan" -o cbs1.ts &

#Recording time
sleep 2400

#Kill record
pkill dvbv5-zap

ffmpeg -i cbs1.ts -c:a copy -c:v copy cbs1.mp4 &&

#Return to sleep
sudo systemctl suspend
I like all of the simple tools that are in our repos. They work.
 
1 members found this post helpful.
Old 08-26-2022, 05:14 PM   #8
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
The LinHES distro for MythTV was very good as they added lots of stuff to make setup easy. They boasted you could do it all with just a TV remote.
Anyone who has setup the Myth backend know that it is not a intuitive process. But looking at the LinHES site, development has stalled the last few years and the forums report problems running on the latest hardware.
 
1 members found this post helpful.
Old 08-27-2022, 03:46 AM   #9
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,150

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
I can agree with that. The latest version in Ubuntu Focal is not at all friendly by my standards, and intuitive seems a foreign concept to them. I do like the software though.
 
1 members found this post helpful.
Old 08-29-2022, 02:46 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,010

Original Poster
Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
What looks the best on a large screen do you think?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVR /PVR / CCTV on linux ,help ? kamrananvaar Linux - General 4 11-23-2010 11:39 AM
Headless dvr problem on ubuntu 9.04 . DVR DEVICE: : Device or resource busy engtech Ubuntu 0 12-10-2009 12:31 PM
VCR recording w/PVR-250 (or: a guide to the PVR-250) dashcloud Linux - Software 1 03-04-2008 01:30 PM
PVR-500 & PVR-150 not working properly srairman76 Linux - Hardware 3 01-02-2007 11:02 AM
Dish/Echostar PVR/DVR Harddrive andyistic Linux - Hardware 1 08-07-2004 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration