Joe User wrote:
> Are the channels FTA or encrypted? Maybe there is some problem with decryption?
Joe User wrote:
> Invalid header is a good indication that there was a decryption problem.
I finally found some time to check out some of the repair tools.
* I could not get ProjectX working, I think it does not support HD files, and 98% of what I have are HD files.
It doesn't work on a perfectly good file either.
Of course, that can still be a user error instead of something with the program, it happened before ;)
* I tried 2 different versions of TS-Doctor (v 1.2.184 and v 2.0.51)
Both are fully functional for 30 days, after which a license must be bought.
* I also tried MPEG2Repair (old version from 2007)
Sadly, all 3 found lots of errors in the same file I had checked with VLC before.
Part of the log of TSDoctor 1.2
Scrambled video packets found at the beginning 0
Scrambled video packets found at the end 17013893
Ignore scrambled areas!
First video PTS is 3424627515 10:34:11.417
Last video PTS is -1 -00:00:00.000
First PCR is 1027364591700 10:34:10.540
Last PCR is 1205562885366 12:24:10.477
Duration of video stream is 593994312 01:49:59.937
Video PCR to PTS difference -1116 ms
Patch time base for PID 0026 = 26763312 ms
$006A: Delay to video stream = -660ms
$0026: Delay to video stream = -26762195ms
Part of the log of TSDoctor 2.0
Scrambled parts found in stream!
Cut out scrambled parts
PCR PID is 518 (0206)
searching for channel: SID=21040, TID=3225, VPID=518
found channel 2497. NPO3 HD, M7 Group [Astra 23.5°E]
service_id $5230 = NPO3 HD
First video PTS is 3424627515 10:34:11.417
Last video PTS is 3477138915 10:43:54.877
First PCR is 1027364591700 10:34:10.540
Last PCR is 1043116248850 10:43:53.935
Duration of video stream is 52505524 00:09:43.395
Video PCR to PTS difference -1116 ms
Patch time base for PID 0026 = 26763312 ms
106 (006A): Delay to video stream = -660ms
38 (0026): Delay to video stream = -26762195ms
Part of the log from MPEG2Repair
Sequence Frame 17676(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Sequence Frame 17677(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Sequence Frame 17678(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Sequence Frame 17679(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Sequence Frame 17680(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Sequence Frame 17681(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Sequence Frame 17682(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Sequence Frame 17683(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Error: TS Packet has payload_unit_start_indicator but no PES header
Sequence Frame 17684(0-X) / Time 0:05:50 :
Error: TS Packet has payload_unit_start_indicator but no PES header
Sadly, especially the
*"Scrambled parts found in stream!"* seems to indicate you were right.
The program asks if I want to cut the scrambled parts or not.
* If I do, the remaining file is just about 10 minutes instead of 1:49:59
* If I don't, the error parts are just black (no sound, no vision)
I think I'll have to accept the files are f****ed up beyond repair.
Joe User wrote:
> You will have to look at logs from oscam and tvheadend to try to diagnose why. Does it happen often?
Sadly, the files I have tested are more or less 3 months old, there's no way I can check the Oscam logs from that period.
I do however keep a spreadsheet with a few details about all recordings I made
* name
* channel
* date
* start and stop time
* which of the 4 recorders I used
* number of errors as reported by TVHeadend
The number of errors as reported by TVHeadend is mostly 0 or very high (due to heavy rain or snow). When it is very high, I know why that's the case.
Sometimes it is non-zero, ranging from 3 to 30, mostly continuity errors. I have one recorder where that happens frequently, can't get that solved.
All of the recordings that now give errors, have 0 TVHeadend Errors.
--
What I would like to do now is check
all of my recordings for errors, to see if I can find a pattern in the details in my spreadsheet, and to check if it is still happening.
In case it was a config error, it may or may not be solved by now. I would really like to find out, of course.
Is there an easy way to check 1000 files? Not all files are important, some are just tests (e.g. to check how many simultaneous recordings I could make) but to get a good overview of what is/was happening I need to check those as well.
I can open them with MPEG2Repair (Step 1: Find PIDS, Step 2: Log Errors) or with TS-Doctor, but in both cases that's on a file-per-file basis.
Do you perhaps know a faster way to check the files in batch - and preferably create a log file per recording?
--
--
EDIT: TS-Doctor has a command-line mode.
C:\>"c:\Program Files (x86)\Cypheros\TSDoctor2\TSDoctor.exe" "N:\TVHeadend\Little Britain\*.TS" autocheck log
Unfortunately I have created a directory for every series I have been recording. That's a bit incovenient, but that can of course be overcome.
<<