DVB subtitles as a detection method.

Where all the user feedback and suggestions for improvements go
Post Reply
Zuikkis
Posts: 8
Joined: Mon Nov 27, 2017 10:12 pm

DVB subtitles as a detection method.

Post by Zuikkis »

Hi,

I'm a new Comskip user, just some initial tests done but looks really promising! I'm using Comskip with VDR. VDR has a plugin "markad" for the same purpose, but Comskip seems to be doing much better work.

One thing I noticed, there is a "Closed Captions" detection method. This doesn't seem to understand DVB subtitle streams. Most Finnish channels use DVB subtitling, not teletext based closed caption..

Commercials are never subtitled, so having active subtitles on DVB subtitle channel would be a strong indication that we are not inside a commercial.
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: DVB subtitles as a detection method.

Post by erik »

Can you get me a example recording so I can test?
Zuikkis
Posts: 8
Joined: Mon Nov 27, 2017 10:12 pm

Re: DVB subtitles as a detection method.

Post by Zuikkis »

Thanks for the prompt reply! :)

http://zuik.org/testvid.ts

It's about 30MB in size.

Note that this clip also has some burned in english subs, but finnish subs are in DVB subtitle track. Dump from ffmpeg:

Code: Select all

Input #0, mpegts, from '00001.ts':
  Duration: 00:00:33.62, start: 13485.319578, bitrate: 8802 kb/s
  Program 132 
    Stream #0:0[0x5b4]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0xde8](fin): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 224 kb/s
    Stream #0:2[0x1937](fin): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Zuikkis
Posts: 8
Joined: Mon Nov 27, 2017 10:12 pm

Re: DVB subtitles as a detection method.

Post by Zuikkis »

Any luck with this? :)
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: DVB subtitles as a detection method.

Post by erik »

Did not have time yet.....
Zuikkis
Posts: 8
Joined: Mon Nov 27, 2017 10:12 pm

Re: DVB subtitles as a detection method.

Post by Zuikkis »

I already have other ideas. :D

Some "C More" satellite channels have separate SD and HD versions, and the HD version is marked by "HD" logo on top right corner. This logo stays there always, even during commercials. The actual channel logo is a bit to the left of this HD logo, and that does disappear during commercials.

Comskip always seems to find only the "HD" part and then disables logo completely because it is enabled 100% of time. Is it possible to set the logo detection area in pixels, so it would only scan the part without HD? This would make scanning faster too.

Then, another suggestion. :) C More programs usually have dolby digital 5.1 sound, but commercials only have 2 channel stereo. I don't see Comskip using this info?
Zuikkis
Posts: 8
Joined: Mon Nov 27, 2017 10:12 pm

Re: DVB subtitles as a detection method.

Post by Zuikkis »

I fixed the logo problem already. I manually edited shorter clip with only full logo shown, and comskip detected that correctly. Then saved the logo and now passing it with --logo parameter, works perfectly. :)

Edit: ah sorry for the trouble. :D Just found out about "cut_on_ac_change" and "ac_wrong_modifier" config parameters. :) They were not present in my base ini file.

Edit2: Just donated something to your paypal. :) Thanks for this excellent software!
Post Reply