VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member
    Join Date
    Oct 2006
    Location
    United States
    Search Comp PM
    Hi,
    Is there a method for removing logos from mpg2 videos without having to convert to AVI or VOB first.
    I have a series of MPG2 videos that I'd like to strip of their annoying intermittent logos.
    Thanks for any help.
    Cheers,
    Fred
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I assume they are in the MPG container ?

    There are several de-logoing filters for avisynth, and plenty of guides if you look for them. There are basically two camps on this. One camp believes it is worth the effort, the other believes that the blurry blob left over by the process is worse, or at least no better, than the logo it replaces.

    Regardless, you cannot do this without re-encoding afterwards, but you do no have to re-encode or convert before hand.
    Read my blog here.
    Quote Quote  
  3. Member
    Join Date
    Oct 2006
    Location
    United States
    Search Comp PM
    Thank you, your advice is a big help. At least I now have some idea of its feasability!
    Cheers,
    Fred
    Quote Quote  
  4. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    Note that some of the examples of logo removing with pictures showing before and after are either best case scenarios that usually don't happen or have been manipulated with something like Photoshop to make them look better than in reality. It is unlikely that you will have crystal clear results where you can't tell that a logo was ever there. In most cases what happens is you get a "blurry blob" that guns1inger talks about. It's up to you to decide if this is better or worse or even worth the trouble to do.
    Quote Quote  
  5. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    If the logos are semi-transparent, as many TV channel logos, they can generally be almost completely removed.
    You make a mask from the logo and the brightness changes are reversed.
    I use NoLogo for this.

    If the logo is solid colour then you can't recover the obscured image. But you can use a filter that extrapolates in from the edges to fill in the area, like Xlogo. That's the blur the posters above so disdain. Personally I find it less distracting than a brightly coloured logo. I wrote a little guide for this here. And no, I didn't fake the screencaps.

    And if the logos are intermittent, I use ReplaceFramesSimple to switch the filter in and out.
    Example below. If you can't be bothered, leaving the filter on when the logo isn't there creates a dark shadow. This show had long stretches off as well as on.
    Use AvsP to edit and preview.

    Code:
    ConverttoYUY2()
    src = last
    logo=ImageSource("logo514.png").ConverttoYUY2()
    NoLogoAuto(logo,1)
    ReplaceFramesSimple(src, last, mappings= \
    "[694	9323 ]
     [17766	32079]
     [32557	39239]
     [40034	51912]
     [52683	59975]")
    ConvertToYV12()
    But you do have to reencode. You don't have to make an actual AVI file, you can load the MPEG into Avisynth or VDub to apply the filter, but then have to save the result to a new file in your format of choice.
    Last edited by AlanHK; 27th Jan 2010 at 09:26.
    Quote Quote  
  6. Member Deter's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Search Comp PM
    Interesting, looked at some of those pics, that is pretty good. I have some old telecasts that have massive weather warnings that pop up on the screen and run for about 5 minutes. It is pretty bad, in that the fact, these warnings are massive an cover some of the actual picture. Is it possible to remove this?
    Quote Quote  
  7. Member
    Join Date
    Jan 2007
    Location
    Republic of Texas
    Search Comp PM
    Sorry, Deter. Those weather warnings are usually a motion crawl across the bottom. Unless the ones you describe are stationary, there's not much that can be satisfactorily accomplished, other than a really bad blur or a complete cropping out of that portion of the picture.
    Quote Quote  
  8. Member Deter's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Search Comp PM
    If it was just the bottom that would have been great. However the stupid Mississippi Cable company decided to paste it in to about 1/2 of the picture. This video is one of the all-time classics, that is the part that is upsetting....
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!