Multiple TVE Streams

It is on by default but I was trying different things to get it to work.

If you start having issues again, try this:

  • hit record a few TVE shows at the same time
  • let them record, then check the main DVR Log to make sure no errors shown
  • play the recorded mpg files via VLC and see if there are any playback issues

It still does not play right in vlc.

Going over the log, I noticed quite a few of the following

rewriting

skipped

error="MPEG-TS discontinuity

something is going on here but what?

I have re uploaded my logs

At the end of each recording, one line is printed to the main DVR log showing statistics. There should be a skipped=XXX in there. If that is more than zero that usually means bad things are happening. In this case I would suspect a bad stick of RAM. Can you run a memtest?

Those values are absolutely greater than 0. I am running a memtest now using the built in windows tool. This machine is headless using a dummy plug so it would be difficult to run memtest86 on it. Keep in mind, while this is the only system that I have checked the logs on, I have tried running the dvr software on other systems with similar effects.

Can you paste some of the full [MTS] line entries from the dvr log?

My t330 is still running the memtest and as I said it is headless so I can not interrupt it until it is done.

However, I installed your dvr software on an i5 kaby lake zotac running ubuntu mate and it works perfectly. Unfortunately, I can not run this system 24/7. My guess is there is a interaction between your code and the latest build of windows 10

The skipped=N messages mean the video stream is getting corrupted by the time it reaches the DVR. In our experience, this is always either due to a bad stick of RAM or a failing disk.

All drives check out fine in seatools. System passed memtest. Problem occurs on multiple machines all running the latest build of windows 10. Software works on ubuntu mate I know what you are saying, but my money is on a interaction with windows 10 and your code. Please look into it.

I just went over the log, there are no mts entries

MTS entries were printed after each TVE recording finished. However, it looks like the current prerelease removed those log entries.

Looking through my logs v2020.04.19.0128 has the [MTS] entries, but v2020.04.20.0048 does not.

Edit: Looks like the [MTS] logs were removed from TVE streams (but not sure when), but they remain for Locast streams. Here's an example:

2020/04/20 19:31:00.845885 [MTS] Statistics for "TV/Jeopardy!/Jeopardy! S36E161 2020-04-20-1900.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=1872.833333

Edit 2: MTS is an abbreviation to indicate the log line is about a completed MPEG-TS stream. It's the analogue to the SNR statistics given for HDHomeRun-delivered recordings.

@techpro2004 can you try recording from Locast?

I am recording from locast now. I will try to get those mts lines for you once it is done. I am also updating a spare system to the release preview ring. I will let you know how that goes as well.

there are no mts lines with locast. Keep in mind I have updated to 2020.04.20.0048. I have submitted logs again Thanks

I downgraded to stable but still no mts entries

Also 2004 makes no difference.

Which log are you checking?

I am checking all the logs in record_dir/Logs

That's not the correct log. You need to check the main DVR log via http://x.x.x.x:8089/admin/log

found it see below.

2020/04/21 12:05:00.686437 [MTS] Statistics for "TV\The Real\The Real S06E139 The Real From Home Blair Underwood Hotline Bling 2020-04-21-1125.mpg": skipped=340 unhandled_packets=0 discontinuity_detected=2 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=3681.956911

2020/04/21 12:05:00.363301 [MTS] Statistics for "TV\The View\The View S23E150 2020-04-21-1125.mpg": skipped=39807 unhandled_packets=0 discontinuity_detected=99 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=1026.566667

2020/04/21 12:05:00.530853 [MTS] Statistics for "TV\The Price Is Right\The Price Is Right S48E137 Kids Week 2020-04-21-1125.mpg": skipped=1960 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=3088.199556

2020/04/21 12:05:00.686437 [MTS] Statistics for "TV\The Real\The Real S06E139 The Real From Home Blair Underwood Hotline Bling 2020-04-21-1125.mpg": skipped=340 unhandled_packets=0 discontinuity_detected=2 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=3681.956911
2

2020/04/21 12:05:00.719349 [MTS] Statistics for "TV\Maury\Maury S22E81 2020-02-21 Your Son Is Not Biracial so There Is No Way Im the Dad 2020-04-21-1126.mpg": skipped=1904 unhandled_packets=0 discontinuity_detected=4 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=3440.926144

So what do these mts entries show?