4 ms·
The easiest way to achieve this is just don't watch live. I honestly don't remember the last time I watched actual live TV. I just recorded it and watch it lat
by SimonPStevens 7y ago
The easiest way to achieve this is just don't watch live.
I honestly don't remember the last time I watched actual live TV. I just recorded it and watch it later, then fast forward through all the ads.
Even if I'm watching it the same night, I'll just sit down to watch it slightly late, so I've got enough of a buffer to skip the ads, and catch back up to live by the end of the show.
- mattmanser 7y agoSurely a computer can do that in sub-second time? As soon as it sees the signature of a well known advert start blocking. Then again, what about clips from the show that you're watching, it might start blocking part of the show as it thinks it's an advert.
- tyingq 7y agoPlex says this about their commercial removing tech: "The process is CPU-intensive and can take several minutes to complete, depending on the recording duration. On a reasonably fast CPU, we typically see a 30-minute recording take 2-4 minutes to process." Assuming they know what they are doing, real time blocking seems not possible with a reasonably modern approach.
- ses1984 7y agoWhat leads you to believe that something that can process a 30 minute file in 3 minutes, can't be done in real time?
- deleted 7y ago[deleted]
- tyingq 7y agoMaybe more context: "The recording is analyzed on various characteristics such as black frames, silences and changes in aspect ratio. Based on this information Comskip segments the recording in blocks and using heuristics, together with additional information such as the presence of logo, the scene change rate, Close Captioning information and other information sources Comskip tries to determine what blocks of the recording are to be characterized as commercials." It doesn't say it explicitly, but based on this and the note on high CPU utilization, I get the impression it has to look back and forward to determine where the commercial is.
- mbreese 7y agoGiven enough of a buffer and a historical corpus, it should be possible to do this in near-realtime, but likely with a few minutes of buffer. Especially with some kind of historical trained classifier, it should be possible to do this in close-enough-to-realtime-to-be-useful scale.
- regecks 7y agoI think that you can just look for specific markers in the stream to detect ads. e.g. I look for SCTE-35 (https://en.wikipedia.org/wiki/SCTE-35 https://en.wikipedia.org/wiki/SCTE-35) in Twitch streams to filter out their ads. It takes no CPU at all to do. I believe broadcast TV has a similar thing in many places.
- markovbot 7y agoWhat software do you use to do that?
- regecks 7y agoWell, I watch Twitch using a personal fork of https://github.com/SebastianRask/Pocket-Plays-for-Twitch https://github.com/SebastianRask/Pocket-Plays-for-Twitch (which isn't really actively maintained), so when Twitch ads became in-stream this year, I replaced the default Android media player it uses with Google's ExoPlayer, and then made a bunch of changes to ExoPlayer to be able to detect when SCTE35 segments would be played, and silenced them. I modeled my change on similar changes made by Streamlink's Twitch plugin recently: https://github.com/streamlink/streamlink/pull/2372 https://github.com/streamlink/streamlink/pull/2372
- satori99 7y agoI have used this method with node.js+ffmpeg for Australian TV streams; https://gist.github.com/satori99/2cb06938bfe8532ecc00e60906509052 https://gist.github.com/satori99/2cb06938bfe8532ecc00e609065...
- evan_ 7y agoSeems like this is something machine learning would be very good at, given that commercial visuals look very different from “real” show visuals
- grawprog 7y agoAs far as I know audio levels in commercials are different too. I don't know the exact number, but I seem to recall reading some time commercials are usually 30% louder or something. They are definitely noticeably louder than most shows, except maybe sitcoms. ETA: Looking it up it looks like America has laws about this now. I'm in Canada I'm not sure if it's the same here. And on further reading, it seems like advertisers may be using excessive compression to artificially boost loudness and skirt the law.
- nkozyra 7y agoThere's volume and then there's "loudness." Even if peak volume is under some prescribed maximum, compressed audio can feel very loud. Commercials often leave very little dynamic space, which makes them jarring in that they feel "loud."
- yeahitslikethat 7y agoMovies also have loud scenes which would false positive.
- jonathankoren 7y agoWhy bother? There are already known ways to detect commercial breaks like so many milliseconds of black screen, and such. Also, there are very few commercials on television at any time, including local ads. You could just fingerprint them.
- windexh8er 7y ago> Seems like this is something machine learning would be very good at, given that commercial visuals look very different from “real” show visuals This feature was in MythTV literally 10+ years ago. Commercials are very easy to detect using simple methods [0]. [0] https://www.mythtv.org/wiki/Commercial_detection https://www.mythtv.org/wiki/Commercial_detection
- yolo1 7y agoSurely subtitles would be an awesome signature to use?
- skookumchuck 7y agoJust look for consistently louder volume.
- St_Alfonzo 7y agoOr check if the TV-Channel Logo is shown in the corner. At least in Germany the Logo is hidden during commercials.
- sixothree 7y agoWho said we want easy solutions?
- jjeaff 7y agoSitting there holding the remote then pressing fast forwarding and watching closely, usually overshooting then jumping back a bit is not ideal or necessarily easy.
- crtasm 7y agoThe breaks are always about the same length here so it's more like: hit skip 30s forward four times and you're good.
- ngold 7y agoRarely if ever see commercials. Everytime I go to my grandparents I am shocked at how obnoxiously loud commercials are. And how desensitized I was for decades when I never noticed them.
- cmroanirgo 7y agoI've been beating my head against a brick wall trying to encourage my (elderly) parents to get (& use) a dvr. To this day they channel surf when the ads come on, grumbling every time.
- alkonaut 7y agoLive TV is still the best way to watch live events. Sports and live news broadcasts etc. If you want to watch a prerecorded show then skipping is feasible but for watching a live event at a distance (proper tele-vision) it’s obviously not. I don’t think many fans of live sports TV would consider watching the game starting 20 minutes after to be able to skip commercial breaks.
- SimonPStevens 7y agoThis is a good point. Not really being much of a sports fan myself it's not a problem that had occurred to me. I guess it depends on the type of programmes you watch.