NextPVR Forums

Full Version: NextPVR creates empty TS files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
NextPVR was working a week or so ago.   Since then, all recordings result in TS files that are tiny, like 5 megs.   Obviously VLC can't play it.   When I look at the NextPVR logs it looks like it is recording okay, but I'm not sure what is happening.   I do recall doing an apt-get upgrade, so maybe that broke something.
Code:
08:59:00:675 [DEBUG] starting stream: /media/pi/f1d746a4-9a0c-4313-bb69-4fe202a0aa3b/RecordedTV/Seinfeld/Season 06/Seinfeld.S06E05.The.Couch.ts
08:59:00:676 [DEBUG] slip seconds: 1200
08:59:00:676 [DEBUG]
TBS
08:59:00:710 [INFO] Tuning: 225000000 Hz
08:59:00:710 [INFO] Changing frequencies
08:59:03:205 [INFO] Tuning: 225000000 Hz
08:59:03:205 [INFO] using demux 'dvb0.demux0'
08:59:03:205 [INFO] using dvr 'dvb0.dvr0'
08:59:03:205 [DEBUG] waiting for signal lock
08:59:03:828 [DEBUG] status 00 | quality 00 | signal cccc | snr 0118 | ber 00000000 | unc 00000118 | pre_ber 00000000 | per 00000000 |
08:59:03:859 [DEBUG] status 00 | quality 00 | signal cccc | snr 0118 | ber 00000000 | unc 00000118 | pre_ber 00000000 | per 00000000 |
08:59:03:890 [DEBUG] status 00 | quality 00 | signal cccc | snr 0118 | ber 00000000 | unc 00000118 | pre_ber 00000000 | per 00000000 |
08:59:03:921 [DEBUG] status 00 | quality 00 | signal cccc | snr 0118 | ber 00000000 | unc 00000118 | pre_ber 00000000 | per 00000000 |
08:59:03:952 [DEBUG] status 00 | quality 00 | signal cccc | snr 0118 | ber 00000000 | unc 00000118 | pre_ber 00000000 | per 00000000 |
08:59:03:984 [DEBUG] status 07 | quality 00 | signal ffff | snr 0190 | ber 00000000 | unc 00000190 | pre_ber 00000000 | per 00000000 |
08:59:04:027 [DEBUG] status 1f | quality 00 | signal ffff | snr 0190 | ber 0000000e | unc 00000190 | pre_ber 00000000 | per 00000000 |
08:59:04:027 [DEBUG] FE_HAS_LOCK
08:59:04:028 [INFO] Creating writer for: /media/pi/f1d746a4-9a0c-4313-bb69-4fe202a0aa3b/RecordedTV/Seinfeld/Season 06/Seinfeld.S06E05.The.Couch.ts
08:59:04:066 [DEBUG] Mapping pid 0 (PAT)
08:59:04:068 [DEBUG] Mapping pid 60 (PMT)
08:59:04:069 [DEBUG] Mapping pid 4190 (video)
08:59:04:069 [DEBUG] Mapping pid 4187 (audio)
08:59:04:070 [DEBUG] Mapping pid 4188 (audio)
08:59:04:070 [DEBUG] Mapping pid 4189 (audio)
08:59:04:222 [DEBUG] Received 376 bytes from device so far
08:59:09:235 [DEBUG] Received 15416 bytes from device so far
08:59:14:249 [DEBUG] Received 30456 bytes from device so far
08:59:19:364 [DEBUG] Received 45872 bytes from device so far
....
09:31:45:004 [DEBUG] Received 5898312 bytes from device so far
09:31:50:121 [DEBUG] Received 5913728 bytes from device so far
09:31:55:136 [DEBUG] Received 5928768 bytes from device so far
09:32:00:102 [INFO] received request
09:32:00:103 [DEBUG] got request:
GET /stream/stop?handle=3 HTTP/1.1
Host: localhost:45179
Connection: Keep-Alive


09:32:00:103 [INFO] Stopped recording (/media/pi/f1d746a4-9a0c-4313-bb69-4fe202a0aa3b/RecordedTV/Seinfeld/Season 06/Seinfeld.S06E05.The.Couch.ts)
09:32:00:106 [DEBUG] stopped stream 3
09:32:00:106 [DEBUG] No more streams active.
09:32:00:106 [DEBUG] Stopping device...
09:32:00:106 [DEBUG] Stopped
It looks like low signal quality, I'd check cables and the antenna. For me I can't view several stations once the leaves comes back in the spring.

Martin
(2020-06-02, 05:00 PM)mvallevand Wrote: [ -> ]It looks like low signal quality, I'd check cables and the antenna.  For me I can't view several stations once the leaves comes back in the spring.

Martin

That could be the case.   I occasionally have signal problems around here.   I'll try and move it to a better location and see if that takes care of it.    Tx!
I just noticed this at the top of the nrecord.log:

2020-06-02 15:49:47.900 [ERROR][1] Recording directory does not exist: /media/pi/f1d746a4-9a0c-4313-bb69-4fe202a0aa3b/RecordedTV/
2020-06-02 15:49:47.935 [ERROR][1] LiveTV directory does not exist: /media/pi/f1d746a4-9a0c-4313-bb69-4fe202a0aa3b/Buffer/

Those directories do exist and files are showing up in them, but seems odd that that shows up in the log?
I don't know because you didn't post your logs and I hate snippets. I suspect that is being logged before the drive is mounted and you need to add a delay in PreStartup.sh

Martin
Appreciate the help Martin.  Here are the log files.  These were generated after a fresh reboot and a single recording was attempted.  I moved the system to a location in the house with a better signal and also resolved those errors mentioned above, but I still get mostly empty TS files.  (about 5mb)
Could you copy one of those 5MB files somewhere on the cloud and provide a link?

Martin
None of the audio or video streams are being included with the file. Checking again I see you are trying to record clear QAM. Is that really what you want to do?

Martin
Yes, exactly. Odd that it was working at one point.
Pages: 1 2