[clug] RTL2832U, SDR, Avidemux and editing out advertising from recorded television

Scott Ferguson scott.ferguson.clug at gmail.com
Sun Apr 12 23:57:12 MDT 2015

On 12/04/15 13:59, Stephen Hocking wrote:
> Hi Scott,
> I've been running MythTV since about 2003/4, and the automatic
> commercial detection is a bit hit & miss, or was the last time I tried
> it a few years ago. It does have a good video editor, which together
> with lossless transcoding, gives good results. I'm running my backend in
> a VM, with it talking to a couple of HDHomeruns over the net. Most of
> the hypervisors will allow PCI & USB passthrough to VMs, so I think
> you'd be OK.

Thanks Stephen - I'd read the docs on MythTV commercial detection
parameters and was dubious about it's reliability.

I'm sure someone has looked at using sound compression levels to detect
ads - but couldn't quickly find any references. I know the Japanese
video recorders reliably remove ads on the basis of shows/movies having
multiple languages and ads having none - but couldn't find any
references to software projects that do the same.

I'll have a look at what MythTV uses for video editing, I'd prefer to
use a frame based editor to avoid those fade transition relics. Avidemux
is great for simple frame based edits - and has the added advantage that
it also works natively with most video formats which save a lot of time

I found Comskip which seems fairly useful for marking ads, which I could
later feed the output of into ffmpeg (as another poster suggested) to
autochop the ads out.

Comskip requires WINE:-

> On Sun, Apr 12, 2015 at 10:43 AM, Scott Ferguson
> <scott.ferguson.clug at gmail.com <mailto:scott.ferguson.clug at gmail.com>>
> wrote:
>     I recently purchased a cheap RTL2832U chipset TV stick for use as a SDR
>     and GPS.
>     Digital Energy Mini Digital TV Stick, BlazeVide HDTV Player (RTL2838
>     DVB-T+DAB+FM)
>     It took a little fiddling to get it fully working on Wheezy with
>     backports, but I did take notes if anyone needs help getting one
>     working.
>     As a TV recorder it works well and I'm now looking at way to remove ads
>     from the recordings. I've used Avidemux in the past but it's now a
>     challenge to use on a stable box.
>     Any suggestions on how to do this?
>     I don't really want to dedicate a box to it, but would consider chroot
>     or VirtualBox solutions. I also have a Crossover Office license if WINE
>     is useful.
>     I've not had much experience with MythTV - and I'm not much of a TV
>     watcher anyway so I'm not particularly interested in setting one up (I'm
>     pretty happy with XBMC). But I've heard MythTV has the ability to remove
>     ads from recordings... anyone used that facility?
>     Any suggestions and experiences in removing ads from recorded TV are
>     appreciated (as long as they work on Linux).
>     Kind regards
>     --
>     linux mailing list
>     linux at lists.samba.org <mailto:linux at lists.samba.org>
>     https://lists.samba.org/mailman/listinfo/linux

Kind regards

More information about the linux mailing list