You are not logged in.

#1 2015-02-15 15:11:16

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Homemade dvr's what do you use?

So I have been working on trying to set up a dvr system for almost a week now working on it off and on. I want to know what other people use as far as software.

I just want to pause and record live tv, while being able to access videos and pictures and I also want access to netflix. I have been working with mythtv, but I am getting frustrated because of the complex setup of it.


I have also tried linhes, but that distro is not very good at all.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2015-02-15 15:12:40

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,492

Re: Homemade dvr's what do you use?

What tuner hardware do you have?  PVRs have hardware MPEG-2 encoding that goes straight to the hard drive.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2015-02-15 15:17:46

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Homemade dvr's what do you use?

I am using a ceton infinitv 4 I have it setup already and it has its firmware updated.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#4 2015-02-15 15:25:52

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,492

Re: Homemade dvr's what do you use?

Hopefully you're not using Nvidia nForce.  It looks like you may need to use something like Myth to take full advantage of the cards capabilities.  How many /dev/video entries does it give (or since it is digital)?  It's a discontinued model, but that shouldn't be a problem if at least one person somewhere in the world is using it.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2015-02-15 16:09:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Homemade dvr's what do you use?

Not an Arch Discussion, moving to Multimedia...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-02-15 18:23:08

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Homemade dvr's what do you use?

I will check on that when I get home sorry I am on my tablet.

Here is my system
At310nt-i motherboard
4G 1333 ram
Nvidia ION
Atom 330 clocked at 1.8


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#7 2015-02-15 19:53:30

teckk
Member
Registered: 2013-02-21
Posts: 575

Re: Homemade dvr's what do you use?

I want to know what other people use as far as software.

For a simple TV viewer.

#! /usr/bin/env bash

#dvb:// tuner-player. Requires dvb-apps and one of mplayer, mpv or ffplay.

while :; do
	clear
	PS3="
$(tput setaf 2)Enter channel number:  $(tput sgr0)"
	chans=$(cut -d ":" -f1 < $HOME/.mplayer/channels.conf)
	echo "$(tput setaf 3)		  	
Select channel then adjust antenna for 75% or better signal 
quality while watching signal meter. Press (enter) to play 
that channel once good signal is acquired.					  	
During play press (q) to quit station, (f) for fullscreen.					 	
-----------------------------------------------------------
Select a channel.   Ctrl C to exit.$(tput sgr0)
"
	select opt in $chans; do
		azap -r -c $HOME/.mplayer/channels.conf $opt > /dev/null &
		disown
		femon -H | cut -d "|" -f2 &
		disown
		read
		pkill femon
		clear
		echo "Wait I'm tuning it."
		mplayer /dev/dvb/adapter0/dvr0 &> /dev/null
		#mpv /dev/dvb/adapter0/dvr0 &> /dev/null
		#ffplay &> /dev/null - < /dev/dvb/adapter0/dvr0 
		pkill azap
		break
	done
done

A simple TV recorder. Play the file tv$num.ts after recording starts if you want to record, watch and pause it. Or add a line to open the .ts file in another child process.

#! /usr/bin/env bash

#dvb:// tuner-recorder. Requires dvb-apps.

cd $HOME/tel
while :; do
	clear
	PS3="
$(tput setaf 2)Enter channel number:  $(tput sgr0)"
	chans=$(cut -d ":" -f1 < $HOME/.mplayer/channels.conf)
	echo "$(tput setaf 3)
Select channel then adjust antenna for 75% or better
signal quality while watching signal output. Press 
(enter) to record that channel once good signal is acquired.
-----------------------------------------------------
Select a channel.   Ctrl C to exit.$(tput sgr0)
"
	select opt in $chans; do
		azap -r -c $HOME/.mplayer/channels.conf $opt > /dev/null &
		disown
		femon -H | cut -d "|" -f2 &
		disown
		read
		pkill femon
		clear
		num=1
			until [ ! -e tv$num.ts ]; do
				num=$(( $num + 1 ))
			done
		echo "Press enter to stop recording. File is (tv$num.ts)"
		cat /dev/dvb/adapter0/dvr0 > tv$num.ts &
		read
		pkill azap; pkill cat
		break
	done
done

If you want to put the machine to sleep, wake it up at 0300, then put it back to sleep after program records. Use something like,

rtcwake -m mem -t $(date +%s -d 'tomorrow 0300')
....script here &
sleep 1800
systemctl suspend

Offline

#8 2015-02-15 23:30:13

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Homemade dvr's what do you use?

Oh wow thanks I will give that a go, has anyone setup anything with kodi? I am looking for something that my wife can use as well. If not I can see what I can do with this. I just want to say thank you to everyone I have been an arch user for a while now, I do not help alot on the fourms but I have set up a few people at my church with laptops running arch and they have been using them for over a year now.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#9 2015-02-15 23:54:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: Homemade dvr's what do you use?

I am working on a solution to this problem.  I am trying to split it into two parts, the video server and the video acquisition.  Right now, I am pretty pleased with Plex -- except it does everything but the recording part smile  You set up a video server to which clients connect.  Working clients include web clients, dedicated clients that run on Windows and Linux (maybe OSX and iOS; I don't know) and (bonus double extra points) Roku boxes.   The server software finds media on the host and makes them available to all clients.  This includes photos, music, and mpeg video.  It will also stream from the internet a variety of channels depending on your location.  Here in the US, I happily watch shows in which I am interested from CBS.  I suppose were I interested, NBC and Fox are available too.  I guess the stuff on ABC is so valuable that no one is allowed to watch it; no big loss.  Twit, Spike and other cable channels are also available.

All that is left is finding a way to automatically record things from air.  Recording them manually to an mpeg file makes them available to the Plex server;  it is okay as a work around.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#10 2015-02-16 02:11:40

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Homemade dvr's what do you use?

How many /dev/video entries does it give (or since it is digital)?

it does not list /dev/video here is what I did find though


#ls /dev/ceton
ctn91xx_ctl0       ctn91xx_filter0_1  ctn91xx_filter0_3  ctn91xx_filter0_5  ctn91xx_mpeg0_1  ctn91xx_mpeg0_3  ctn91xx_mpeg0_5
ctn91xx_filter0_0  ctn91xx_filter0_2  ctn91xx_filter0_4  ctn91xx_mpeg0_0    ctn91xx_mpeg0_2  ctn91xx_mpeg0_4

I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

Board footer

Powered by FluxBB