Forums » Tutorial and setups »
RPi 4 + TV Hat - Full Mux record
Added by Mirko J. almost 3 years ago
Hi everyone,
I'm looking for solution to record full mux (Total bandwidth for the MUX is 27.30 Mbps ), would love to record for a full week 24/7.
is that possible?
And How to conf. it?
tnx
Replies (11)
RE: RPi 4 + TV Hat - Full Mux record - Added by Dave Pickles almost 3 years ago
I don't believe recording a mux can be done through the DVR but there is a workround.
In the TVH GUI, navigate to Configuration -> DVB Inputs -> Muxes
Hover over the 'Play' button at the left side of the entry for your chosen mux and right-click 'Copy Link' in your browser
Paste this link into a terminal window. You should have something like
http://my.ip.address:9981/play/ticket/stream/mux/481c9f4f071521efe685f08d162cb78b?title=498MHz%20%2F%20Sandy
Edit this line into the form
wget http://tvhuser:[email protected]:9981/stream/mux/481c9f4f071521efe685f08d162cb78b -O mymux.ts
Running this command in your terminal should save the entire mux to the given file. The bandwidth of 27Mbps equates to about 2TB per week which is not impossible.
RE: RPi 4 + TV Hat - Full Mux record - Added by saen acro almost 3 years ago
27 Mbps = 3,375 MB/s = 202,5 MB/min = 12150 MB/hour = 291600 MB/day = 2041200 MB/week :)
it can be used in place of WGET command TCPDUMP
RE: RPi 4 + TV Hat - Full Mux record - Added by Mirko J. almost 3 years ago
Dave tnx for replay, it's helpful.
I have some other questions...- Is there a function inside tvheadend web gui for that kind of record in general?
(I tried with wget and it works over OSX, would love that RPi do the whole job by itself) [I bought RPi just for this kind of purpose PVR to go with low power consumption] - How to preserve EPG & Teletext?
(it would be nice to have a option for "search & find") - I have a question for, Status >> Stream >> SRN & Signal Strength
(my SNR 22dB & Signal Strength -71dBm)
OK next problem what I have ... when I dump the mux I get jitter effect at the VLC playback, simple or possible that the graphic card can't handle full mux decode?
The GPU is Intel HD Graphics 6000 1536 MB it's 1.5GB I personally think that's enough to work, but it could be that the TV card can't capture full mux?
Not sure in this problem.
What's your opinion?
RE: RPi 4 + TV Hat - Full Mux record - Added by saen acro almost 3 years ago
Player cannot demux MUX stream, GPU is not evolved in this.
Use TSDUCK to make processing.
RE: RPi 4 + TV Hat - Full Mux record - Added by Mirko J. almost 3 years ago
Hi Saen
VLC handels very good ts when I run with one stream as well very low CPU usage.
Could you be more specific what should I do with TSDUCK, some instruction after installing it?
tnx
RE: RPi 4 + TV Hat - Full Mux record - Added by Dave Pickles almost 3 years ago
What are you planning to do with the mux recording?
You could run the wget command via a script on the Pi and save the recording there, but you'd have to make it available to wherever you plan to use the file via NFS or similar.
Whatever EPG data was broadcast on the mux will be in the recording, but of course the timestamps will be in the past.
RE: RPi 4 + TV Hat - Full Mux record - Added by saen acro almost 3 years ago
Mirko J. wrote:
Hi Saen
VLC handels very good ts when I run with one stream as well very low CPU usage.
Could you be more specific what should I do with TSDUCK, some instruction after installing it?
tnx
Make difference betwin MPTS (full mux) and SPTS (one channel)
TSDuck have very good documentation.
RE: RPi 4 + TV Hat - Full Mux record - Added by Mirko J. almost 3 years ago
Dave Pickles wrote:
What are you planning to do with the mux recording?
I'm working on a archive of news on my local TV station.¶
You could run the wget command via a script on the Pi and save the recording there, but you'd have to make it available to wherever you plan to use the file via NFS or similar.
Can I expect that RPi won't brake the ts footage when I have failure with electricity?¶
Whatever EPG data was broadcast on the mux will be in the recording, but of course the timestamps will be in the past.
What app can read EPG out of .ts?¶
What can you tell me about my signal, lower better or ..? SRN & Signal Strength¶
saen acro wrote:
Make difference betwin MPTS (full mux) and SPTS (one channel)
TSDuck have very good documentation.
Can you be more specific about WGET command TCPDUMP, MPTS (full mux) and SPTS (one channel). I read the 30pages of documentation TSDuck, but Homebrew gave up support for my OSX. Is there any alternative?¶
RE: RPi 4 + TV Hat - Full Mux record - Added by saen acro almost 3 years ago
Mirko J. wrote:
I'm working on a archive of news on my local TV station.¶
It's time to get real hardware not developer device's
Can I expect that RPi won't brake the ts footage when I have failure with electricity?¶
Uninterruptible Power Supply or UPS
What app can read EPG out of .ts?¶
TVHeadend itself.
What can you tell me about my signal, lower better or ..? SRN & Signal Strength¶
You can buy signal meter
Can you be more specific about WGET command TCPDUMP, MPTS (full mux) and SPTS (one channel). I read the 30pages of documentation TSDuck, but Homebrew gave up support for my OSX. Is there any alternative?¶
Be more critical to your knowledge.
RE: RPi 4 + TV Hat - Full Mux record - Added by Mirko J. almost 3 years ago
saen acro wrote:
Mirko J. wrote:
I'm working on a archive of news on my local TV station.
It's time to get real hardware not developer device's
It's my home project not a job. I'm looking for a solution not a 100% secure job income. It's about preserving some history in general.
But let's talk about pro equipment, I'm listening.
Can I expect that RPi won't brake the ts footage when I have failure with electricity?
Uninterruptible Power Supply or UPS
Yes I thought about it too. But my concern was what if it would happen would the footage be broken or does the TVH record & save by every X MB
What app can read EPG out of .ts?
TVHeadend itself.
How?
How do I uplod .ts after I recorded with wget?
What can you tell me about my signal, lower better or ..? SRN & Signal Strength
You can buy signal meter
But what about the reading in general SRN & Signal Strength
Can you be more specific about WGET command TCPDUMP, MPTS (full mux) and SPTS (one channel). I read the 30pages of documentation TSDuck, but Homebrew gave up support for my OSX. Is there any alternative?
Be more critical to your knowledge.
https://tvheadend.org/boards/4/topics/32005
I'm trying but I would love if you could help more with the directions.
https://tvheadend.org/boards/4/topics/32005
not a single word about wget,tcpdump, TSDuck or Homebrew.
RE: RPi 4 + TV Hat - Full Mux record - Added by saen acro almost 3 years ago
Wondering when will start to experiment?
There is no chance to learn something, without some real practice.
With last link you can do all you need by recording very long (as yoour storage allow) time.
Take some old real pc X86 add some old harddisk's in LVM and record as long as you can.
You can organise records with jellyfin
----
It's very unconfortable to read your formating