Project

General

Profile

recording marked as 4 hours but only recorded 2 hours?

Added by Jim Abernathy about 4 years ago

I have LibreELEC 9.25 running on a Raspberry PI 4 4GB and I'm using the TVHeadend addon with HDHR tuners.

Last night I setup the NFL Football game to record and the guide showed it as a 4hr scheduled duration. However, this morning I noted that the file size was only 7GB and should have been ~15GB and when I play it I see the time only going out 2 hours.

Any idea what happened?


Replies (5)

RE: recording marked as 4 hours but only recorded 2 hours? - Added by Jim Abernathy about 4 years ago

I have been setting up test recording over the last couple of days using the Kodi Record option and Timer option and also on the TVH web interface EPG tab.

I can not make TVH record any program longer than 2 hours, even though it acts as if the program complete it's full time. The file size is the only indication that it recorded only 2 hours. When you play it, the playback just stops at the 2 hour point and you can't advance past it.

I'm trying to determine if this is a TVH issue or is it specific to the LibreELEC on Raspberry only.

I would have to assume that someone somewhere has recorded a program using TVH longer than 2 hours and had it work.

Can someone confirm that much for me?

RE: recording marked as 4 hours but only recorded 2 hours? - Added by Brian C about 4 years ago

Is the playback 2 hours without errors? You may have lots of errors accounting for the missing time. Or there was something that ended the program early (tuner channel change, sleep state).

RE: recording marked as 4 hours but only recorded 2 hours? - Added by Jim Abernathy about 4 years ago

There are no errors listed and I have 100% signal strength on all my channels that the HDHR tuner is configured for. Since RPI 4 has no sleep state, I don't think that would be it.

I am using the HDHR tuners as IPTV Automatic network with all the HDHR channels configured via a .m3u file. I don't know why that would cause a problem.

I'm doing a test today with another RPI4 where I'm using the built-in HDHR DVB inputs and the ATSC Network to see if that could be an issue.

I'm also installing TVHeadend on a Ubuntu Linux PC using HDHR tuners to see if it's a Raspberry Pi issue with LibreELEC only.

RE: recording marked as 4 hours but only recorded 2 hours? - Added by Jim Abernathy about 4 years ago

I think I know the problem and will test to confirm.

When you use IPTV Network Automatic you need a .m3u file. Mine had entries like:

#EXTM3U
#EXTINF:-1 tvg-name="UNC-TV" tvh-chnum="4.1",UNC-TV
http://192.168.0.21:5004/auto/v4.1?duration=7200
#EXTINF:-1 tvg-name="ROOTLE" tvh-chnum="4.2",ROOTLE
http://192.168.0.21:5004/auto/v4.2?duration=7200
#EXTINF:-1 tvg-name="UNC-EX" tvh-chnum="4.3",UNC-EX
http://192.168.0.21:5004/auto/v4.3?duration=7200
#EXTINF:-1 tvg-name="NCCHL" tvh-chnum="4.4",NCCHL
http://192.168.0.21:5004/auto/v4.4?duration=7200

Note the duration=7200 which is 2 hours. I'm going to make the edits as in:

#EXTM3U
#EXTINF:-1 tvg-name="UNC-TV" tvh-chnum="4.1",UNC-TV
http://192.168.0.27:5004/auto/v4.1
#EXTINF:-1 tvg-name="ROOTLE" tvh-chnum="4.2",ROOTLE
http://192.168.0.27:5004/auto/v4.2
#EXTINF:-1 tvg-name="UNC-EX" tvh-chnum="4.3",UNC-EX
http://192.168.0.27:5004/auto/v4.3
#EXTINF:-1 tvg-name="NCCHL" tvh-chnum="4.4",NCCHL
http://192.168.0.27:5004/auto/v4.4

and see what happens.

RE: recording marked as 4 hours but only recorded 2 hours? - Added by Jim Abernathy about 4 years ago

Yes, the ?duration=7200 was the problem. I need to be careful who I steal my setup files from. I'm not sure why I the 7200 was every there. I've recorded multiple 4 hour football games today without a problem.

    (1-5/5)