INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Tuner stuck streaming and recorded show wrong DURATION  (Read 1654 times)

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Tuner stuck streaming and recorded show wrong DURATION
« on: January 23, 2021, 05:31:54 pm »

https://yabb.jriver.com/interact/index.php/topic,128083.0.html

Second time for a tuner to be stuck streaming data to my Server even though the recordings have all stopped. I'm having a hard time believing that the stop request was just lost in the network, because the DURATION of one of the recordings is AFU. I am hoping Yaobing can take a look at my logs (emailed link). Note that this issue is only happening on my new Silicon Dust OTA 4K tuner, never the cable card tuners.

There were three recordings last night on NBC:
8pm-9pm "Blacklist" - recorded show seems to be ok
9pm-11pm "Dateline" NBC - recorded show AFU
11:34pm-12:36am "Tonight Show" - recorded show seems to be ok

This time "Dateline NBC" ended up with a DURATION value of 9 hours 19 minutes, and it was marked as "24% watched" but I never did. The timeline also says 9hr 19min when playing it back in any player, not just MC.

Meanwhile, file size is correct, disk write times are correct, MC record start/stop times are correct, comskip processed and marked commercials. But there's a huge empty area (no markers) in the middle and fast forward/rewind/jump is really funky.

Funny, I had just updated MC to the latest version yesterday morning and rebooted all my Tuners. Here's the Tuner's Log entries, Tuner 2 is the one that's stuck, and you can see there is no STOP command:
Code: [Select]
20210122-15:09:46 Tuner: tuner0 streaming rtp to 192.168.1.93:49975
20210122-15:09:48 Tuner: tuner0 rtp stream ended (new request)
20210122-15:09:48 Tuner: tuner0 streaming rtp to 192.168.1.93:49975
20210122-15:17:35 Tuner: tuner0 rtp stream ended (stop request)
20210122-15:29:56 Tuner: tuner0 streaming rtp to 192.168.1.93:61315
20210122-15:29:58 Tuner: tuner0 rtp stream ended (new request)
20210122-15:29:58 Tuner: tuner0 streaming rtp to 192.168.1.93:61315
20210122-16:02:01 Tuner: tuner0 rtp stream ended (stop request)
20210122-16:10:35 Tuner: tuner0 streaming rtp to 192.168.1.93:62913
20210122-16:10:37 Tuner: tuner0 rtp stream ended (new request)
20210122-16:10:37 Tuner: tuner0 streaming rtp to 192.168.1.93:62913
20210122-23:47:40 Tuner: tuner0 rtp stream ended (new request)
20210122-23:47:40 Tuner: tuner0 streaming rtp to 192.168.1.93:62913
20210122-23:47:42 Tuner: tuner0 rtp stream ended (new request)
20210122-23:47:42 Tuner: tuner0 streaming rtp to 192.168.1.93:62913
20210123-00:01:05 Tuner: tuner0 rtp stream ended (new request)
20210123-00:01:05 Tuner: tuner0 streaming rtp to 192.168.1.93:62913
20210123-00:01:06 Tuner: tuner0 rtp stream ended (new request)
20210123-00:01:06 Tuner: tuner0 streaming rtp to 192.168.1.93:62913
20210123-01:09:09 Tuner: tuner0 rtp stream ended (stop request)
20210123-02:59:56 Tuner: tuner0 streaming rtp to 192.168.1.93:51294
20210123-02:59:59 Tuner: tuner0 rtp stream ended (new request)
20210123-02:59:59 Tuner: tuner0 streaming rtp to 192.168.1.93:51294
20210123-03:28:58 Tuner: tuner1 streaming rtp to 192.168.1.93:51456
20210123-03:29:00 Tuner: tuner1 rtp stream ended (new request)
20210123-03:29:00 Tuner: tuner1 streaming rtp to 192.168.1.93:51456
20210123-03:59:59 Tuner: tuner2 streaming rtp to 192.168.1.93:64507
20210123-04:00:01 Tuner: tuner2 rtp stream ended (new request)
20210123-04:00:01 Tuner: tuner2 streaming rtp to 192.168.1.93:64507
20210123-04:01:04 Tuner: tuner1 rtp stream ended (stop request)
20210123-04:59:56 Tuner: tuner1 streaming rtp to 192.168.1.93:64875
20210123-04:59:59 Tuner: tuner1 rtp stream ended (new request)
20210123-04:59:59 Tuner: tuner1 streaming rtp to 192.168.1.93:64875
20210123-05:00:56 Tuner: tuner3 streaming rtp to 192.168.1.93:64880
20210123-05:00:59 Tuner: tuner3 rtp stream ended (new request)
20210123-05:00:59 Tuner: tuner3 streaming rtp to 192.168.1.93:64880
20210123-05:02:01 Tuner: tuner0 rtp stream ended (stop request)
20210123-05:59:58 Tuner: tuner0 streaming rtp to 192.168.1.93:50924
20210123-06:00:00 Tuner: tuner0 rtp stream ended (new request)
20210123-06:00:00 Tuner: tuner0 streaming rtp to 192.168.1.93:50924
20210123-06:02:03 Tuner: tuner1 rtp stream ended (stop request)
20210123-07:02:01 Tuner: tuner0 rtp stream ended (stop request)
20210123-07:02:04 Tuner: tuner3 rtp stream ended (stop request)
20210123-07:33:57 Tuner: tuner0 streaming rtp to 192.168.1.93:61507
20210123-07:33:59 Tuner: tuner0 rtp stream ended (new request)
20210123-07:33:59 Tuner: tuner0 streaming rtp to 192.168.1.93:61507
20210123-08:38:01 Tuner: tuner0 rtp stream ended (stop request)
20210123-15:24:58 Tuner: tuner0 streaming rtp to 192.168.1.93:64668
20210123-15:25:00 Tuner: tuner0 rtp stream ended (new request)
20210123-15:25:00 Tuner: tuner0 streaming rtp to 192.168.1.93:64668
20210123-15:57:43 Tuner: tuner0 rtp stream ended (stop request)
20210123-22:59:08 Tuner: tuner0 streaming rtp to 192.168.1.93:57494
20210123-22:59:10 Tuner: tuner0 rtp stream ended (new request)
20210123-22:59:10 Tuner: tuner0 streaming rtp to 192.168.1.93:57494
20210123-22:59:27 Tuner: tuner0 rtp stream ended (stop request)
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Tuner stuck streaming and recorded show wrong DURATION
« Reply #1 on: January 24, 2021, 11:36:13 am »

Thanks for the log.  I will take a look Monday.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Tuner stuck streaming and recorded show wrong DURATION
« Reply #2 on: January 25, 2021, 11:43:54 am »

Unfortunately this is still a mystery.  Some things don't add up.

I do see in the log the "Dateline" recording was stopped, at around 11 pm.  Here are the log lines:

Code: [Select]
57925601: 10164: TV: CMainTVManager::SetInfo - 0x19d20d1fb80: StopRecording: 930834755,9232884,44218.875
57925601: 10164: TV: CMainTVManager::StopRecording - 0x19d20d1fb80: Start
57925601: 10164: TV: CMainTVManager::StopRecording - 0x19d20d1fb80: Is recording.  Calling StopRecordingInternal. RuleID: 930834755,9232884,44218.875, StartPreviewing: 0
57925601: 10164: TV: CTimeShifting::StopRecording - 0x19d20d1fb80: Start
57925601: 10164: TV: CMainTVManager::StopTransportStreamRecording - 0x19d20d1fb80: Start
57925601: 10164: TV: CMainTVManager::StopTransportStreamRecording - 0x19d20d1fb80: Index: 1, count 2, Recording stage: 2
57925601: 10164: TV: CMainTVManager::StopTransportStreamRecording: Start
57925601: 10164: TV: JRTransportStreamFileWriter::StopRecording: File: I:\TEMP\Dateline NBC - Night of the Summer Solstice 2021-01-22.ts, index 1

DirectShow graph was stopped and torn down.  About less than 2 seconds later, the main TV manager for this particular instance was cleaned up and deleted:

Code: [Select]
57927348: 10164: TV: CMainTVManager::Cleanup - 0x19d20d1fb80: Start
57927348: 2884: TV: CMainTVManager::Thread: Finish (10924926 ms)

Here you see that it's worker thread was closed after running for 10924926 ms (that is about 3 hours, i.e. the duration of recording both "The Blacklist" and "Dateline".

So it is completely baffling that you got a super long recording.

"The Tonight Show" that was started about 34 minutes later was recorded on a different tuner.

By the way, I do notice that some shows got recorded twice (but not "Dateline"!).   For example, "The Blacklist" was recorded twice, once on the same tuner as the "Dateline" the other time on the OpenCABLE tuner.  There are two recording rules for this show.
Logged
Yaobing Deng, JRiver Media Center

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Re: Tuner stuck streaming and recorded show wrong DURATION
« Reply #3 on: January 25, 2021, 04:10:31 pm »

I do see in the log the "Dateline" recording was stopped, at around 11 pm.....

...So it is completely baffling that you got a super long recording...

..."The Blacklist" was recorded twice, once on the same tuner as the "Dateline" the other time on the OpenCABLE tuner.  There are two recording rules for this show.

Unfortunately, I am getting less and less trusting of recordings done on this OTA tuner, so I am now doing backup recordings on the cable card tuner for important shows such as "The Blacklist".

When playing back the "Dateline NBC" show, it just appeared to have a timeline of 9hrs19min, and trying to use jump fwd/back or stopping/resuming would just reset it back to the same spot in the show. MC's recording action was not actually 9hrs19min - MC start/stop times, and Windows file write (create/modify/size) all point to a 2hour show. But that tuner was stuck streaming to the Server long after MC stopped writing to disk, and it appears MC was aware that tuner was "in use", not selecting it for anymore duties until I physically rebooted it.

I really appreciate any time you spent on this, things like torn down, cleaned up, worker thread was closed, are beyond my knowledge... Is there an actual log entry that shows MC sent a "stop streaming command" to Tuner 2 after the "Dateline NBC" recording was finished? Thanks
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300
Pages: [1]   Go Up