EXPERIMENTAL: New MPEG-TS Rewriter for HLS (TVE)

Just curious does this have any impact on login for TVE or is it strictly going to impact recording of TVE streams?

Stress testing this... :slight_smile:

Recording ch6140 for First Take until 12:01PM: buf=0% drop=0%

Recording ch6192 for Good Morning Football until 1:01PM: buf=0% drop=0%

Recording ch6750 for Press Your Luck until 10:31AM: buf=0% drop=0%

Recording ch6782 for Campus Insiders until 10:31AM: buf=0% drop=0%

Recording ch9006 for The Twelve Trees of Christmas (2013) until 12:01PM: buf=0% drop=0%

Is this also used while just watching ?

Yes

4 Likes

Not sure if this is source or this new rewriter, but getting the below on ESPN Plus:

2022/11/01 11:02:54.438653 [HLS] Starting live stream for channel 7000 from 192.168.50.1
2022/11/01 11:02:55.270834 [HLS] ffmpeg: ch7000-dANY-ip192.168.50.1-remux:  [hls @ 0x146808e00] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2022/11/01 11:02:55.353158 [HLS] Probed live stream in 912.946584ms: h264 1280x720 progressive 1762131bps
2022/11/01 11:02:58.984468 [HLS] ffmpeg: ch7000-dANY-ip192.168.50.1-remux:  [hls @ 0x146808e00] Non-monotonous DTS in output stream 0:1; previous: 540149, current: 536585; changing to 540150. This may result in incorrect timestamps in the output file.
2022/11/01 11:02:58.984732 [HLS] ffmpeg: ch7000-dANY-ip192.168.50.1-remux:  [hls @ 0x146808e00] Non-monotonous DTS in output stream 0:1; previous: 540150, current: 538505; changing to 540151. This may result in incorrect timestamps in the output file.
2022/11/01 11:03:03.714910 [HLS] Stopping transcoder session ch7000-dANY-ip192.168.50.1 (out: 10.996722s, finished: false)
2022/11/01 11:03:04.022601 [TNR] Closed connection to M3U-ESPNPlus for ch7000 EPlusTV 7000

7 posts were merged into an existing topic: Discovery Channels Not Working

No impact on login.

5 Likes

Thank you, gentlemen! I'll give it a try today!

1 Like

Latest build has some small improvements to the rewriter. It shouldn't have a big impact on anything.

1 Like

Well shucks. It doesn’t seem to solve the issue for me.

Do I need to completely restart the Channels DVR server after clicking this feature on?

2 Likes

Nope. As soon as it's enabled any recording or live stream that starts after it will be using it. What issue are you experiencing?

2 Likes

How did you add espn plus into channels? I don’t see it under the tve options?

1 Like

I toggled this new feature on and started a live viewing of Discovery and a few other TVE channels. I have also setup some random recordings just to test it out before my next actual wanted recording occurs on Sunday.

Is it normal that once the live stream starts there is a brief pause and then the channel starts playing normally? I've never seen this occur before so I am wondering if that is the new writer "kicking in" as the stream starts up. It did that on every channel I started up.

By the way, I did notice that before that pause the picture quality looked pretty pixelated and then after the pause the picture quality is really good.

1 Like

Monday is my big Discovery channel recording day, so I set up some random recordings tonight.

The issue is the same as before, when I use tools like VideoRedo or ffmpeg to cut the commercials out, and then re-encode, the tools give me errors, and won’t re-encode the video, or QuickStream Fix.

1 Like

@Lawreb can you start a new thread that goes into details about what you’re doing and what the errors are?

2 Likes

@Lawreb can you start a new thread that goes into details about what you’re doing and what the errors are?

Eric,
After further testing, I’m discovering that as long as I don’t do the QuickStream Fix first, it does indeed give me back the capability to cut/re-encode. I would like to reserve judgment on this.

I wish it were Monday, because then I could give a more definitive answer. I have a few long recordings on Monday nights that fail 100% of the time, but they don’t air any other days of the week.

I’ll be able to give better feedback on Tuesday next week.

3 Likes

I was watching a recording from the history channel last night and I was getting frame drops. It was enough to notice on the screen where it seemed to pause and then would continue.

2 Likes

I recorded several shows on different TVE channels overnight, including Discovery. Everything seems normal here, no playback issues or errors.

@Eric
Im excited to try this out and thanks to you folks for diving into this.

I know this is an ask.

Id love to try out the new changes, but I have a ton of passes. It appears discovery has fixed (temporarily?) what was going on because I noticed commercial detection on deadliest catch last night was optimized and flawless again.

Would there be a way to try this fix out on a per show basis?

Ive got so many passes that Id like to sandbox the new changes and really do a big stress test on a mix of Discovery, OTA, M3U freebies, etc without affecting my main recordings that are scheduled - just in case....

Otherwise, I will enable the experimental button, and try things out during the days when I dont have main recordings scheduled - it just may take longer to provide feedback.

1 Like