Comskip @ 4k

@tmm1 Got a chance to watch the Villanova Butler game and the commercials are non existent. Comskip reported in channels dvr log as commercial detection failed. It seems either the dvr did not record the commercials and spliced the recording back together or comskip actually didn’t fail but detected perfectly then deleted the commercials and spliced it back together. The commercials are not being skipped, they are not part of the recording. If the commercials are in 720 it seems fox when in 4K would be an ideal candidate for channels smart ad detection. Let me know if you want the comskip log on this latest game.

Shhh, don't tell Fox.

Are you saying there are no commercials in the recording, even when viewing it with VLC or another player?

Correct unfortunately it won’t play in any of my VLC apps desktop,iOS, or shield tv to check

If you view details for the recording and click on the FILE ID, does it show any commercials there?

"root":{
  "ID":"5798"
  "JobID":"1673719200-487"
  "RuleID":"487"
  "GroupID":"329265"
  "Path":"TV/America's Test Kitchen/America's Test Kitchen S23E02 2023-01-14 PorchettaStyle Turkey and 2023-01-14-1000.mpg"
  "CreatedAt":1673719205
  "FileSize":922764116
  "Duration":1794.940788
  "Commercials":[
    0: 1605.23
    1: 1793.7
  ]
  "Completed":true
  "Processed":true

Guessing they are not marked

Yep, so either Channels DVR didn't use any method to detect commercials, or what it did use didn't detect any.

I don't watch Basketball on FS1, but I think it's unusual there were none in the last hour that you recorded.

Did a very short recording (~4 mins) of the Creighton at Butler game to test comskip again.
comskip detected a commercial block (that really wasn't), so at least I know comskip works with the 4K/HDR.

Can you re-run with latest prerelease on that original fox recording?

Unfortunately I deleted them yesterday and trash is empty. Maybe someone else can. I don’t have any 4K recordings to test with.

I kept the first recording (that comskip didn't see an audio track in)

Just kicked off a redetect using 2023.01.17.0457
Will report back tomorrow how it went.

1 Like

comskip took 100 minutes to run and thought it found a commercial block.
This time it identified the audio track!

[mpegts @ 0x2446aec0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:4
[mpegts @ 0x2446aec0] stream 1 : no PTS found at end of file, duration not set
[mpegts @ 0x2446aec0] After avformat_find_stream_info() pos: 0 bytes read:6508688 seeks:3 frames:127
Input #0, mpegts, from '/volume1/chDVRtve/TV/College Basketball/College Basketball Minnesota at Ohio State 2023-01-12-1640.mpg':
  Duration: 00:10:33.35, start: 1.824789, bitrate: 18648 kb/s
  Program 1 
  Stream #0:0[0x1e1]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt2020nc/bt2020/smpte2084, progressive), 3840x2160 [SAR 1:1 DAR 16:9], Closed Captions, 59.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc
  Stream #0:1[0x1e2](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 129 kb/s
  Stream #0:2[0x1e3]: Data: scte_35
  Stream #0:3[0x1e4]: Data: timed_id3 (ID3  / 0x20334449)
2 Likes

Okay great glad the audio fix worked.

I will take a look at multi-threading again sometime

1 Like

Much better results this time.
The second recording shown here is 4K/HDR, except for the ads which are 1920x1080p.

Only took 40 minutes this time for comskip using two threads.
The game took up the first 3 minutes, 25.5 seconds of the recording, followed by a commercial break that ran all the way to the end of the recording at 5 minutes, 11.56 seconds.

comskip didn't identify the whole commercial break, it missed the first three commercial blocks (1 minute, 16.96 seconds).
However, it did put a scene marker where the commercial break started (where resolution changed from 4k to 1080p) in the .VPrj file it generated for VideoReDo.
I'm guessing if I recorded a little longer until the game resumed, it would've identified the whole commercial break.

1 Like

58min recording didn’t fail for the first time. I’ll have to check later for the accuracy but looks promising

2023/01/26 20:33:28.304072 [DVR] Commercial detection for College Basketball Iowa at Michigan State 2023-01-26-1903.mpg finished with 12 markers in 33m25.406227621s (6 threads).
1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.