VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date
    Aug 2018
    Location
    Republic Korea
    Search Comp PM
    First. I'm sorry..
    I don't write in english well and I'm beginner for movie edit.

    But I really want to clear this problem.


    I want to remove Logo with avisynth.

    The clip that want to removel logo is LINE TV. That has two logo. And same clip also is at the youtube.
    But That clip which at the youtube hasn't logo.

    So. I can remove Logo. I use Crop and Layer at the logo area.
    I made a function.

    function LogoEraser(clip Original, Clip Replace, int FrameStart, int FrameEnd, int "Offset")
    {
    #대체영상의 위치를 구함
    ReplaceFrameStart=FrameStart+Offset
    ReplaceFrameEnd=FrameEnd+Offset

    #대체구간을 생성함
    SourceVideo=Trim(Original,FrameStart,FrameEnd) #원본에서 작업구간 자름
    ReplaceVideo=Trim(Replace,ReplaceFrameStart,Replac eFrameEnd) #대체에서 작업구간을 자름

    #원본 로고 부분의 범위를 대체에서 해당 부분 크롭함
    Logo1=Crop(ReplaceVideo, Logo1x, Logo1y, Logo1w, Logo1h) #로고1 크롭
    Logo2=Crop(ReplaceVideo, Logo2x, Logo2y, Logo2w, Logo2h) #로고2 크롭

    #대체의 크롭한 부분을 원본영상에 레이어 함
    SourceVideo=Layer(SourceVideo, Logo1, x=Logo1x, y=Logo1y) #대체 영상에 로고 1부분을 대체 함
    SourceVideo=Layer(SourceVideo, Logo2, x=Logo2x, y=Logo2y) #대체 영상에 로고 2부분을 대체 함

    #레이어한 프레임으로 교체 함
    SourceVideo = Trim(Original,0,FrameStart-1) + SourceVideo + trim(Original,FrameEnd+1,0)

    Return SourceVideo
    }

    Until this problem occurred, it was okay.

    The two clips have different colors.

    Original Youtube.
    Click image for larger version

Name:	*튜브.png
Views:	33
Size:	826.4 KB
ID:	46486

    Original LINE TV.
    Click image for larger version

Name:	라인.png
Views:	29
Size:	1.10 MB
ID:	46487

    Composite clip.
    Click image for larger version

Name:	합성.png
Views:	32
Size:	1.08 MB
ID:	46488

    I think..I can use Twist function.. But I didn't... I couldn't adjust... T_T
    I search at the google. But I couldn't.
    I could search Just use BMP File. isn't Other Clip.

    I guess.. I have a 2 ways..
    One way is useing Twist.. or Adjust colors.
    The other is useing Filter some delogo. But it's Quality lower that Original clip.


    Last. I'm sorry.. I do not know if I wrote my thoughts well in English.
    Thank you for read my post. I hope your comment.
    Quote Quote  
  2. Mod Neophyte Super Moderator redwudz's Avatar
    Join Date
    Sep 2002
    Location
    USA
    Search Comp PM
    I changed your title to better reflect your question.

    Also moved thread to our Editing Forum.

    And welcome to our forums.

    Moderator redwudz
    Quote Quote  
  3. rec.601 vs. rec.709 colors.

    https://forum.videohelp.com/threads/329866-incorrect-collor-display-in-video-playback#post2045830

    Use ColorMatrix(mode="rec.601->rec.709") or ColorMatrix(mode="rec.709->rec.601") on whichever video has the wrong colors.
    Last edited by jagabo; 16th Aug 2018 at 09:46.
    Quote Quote  
  4. Member
    Join Date
    Aug 2018
    Location
    Republic Korea
    Search Comp PM
    Originally Posted by redwudz View Post
    I changed your title to better reflect your question.

    Also moved thread to our Editing Forum.

    And welcome to our forums.

    Moderator redwudz

    Thank you. And I'm sorry I couln't keep your rules...
    Quote Quote  
  5. Member
    Join Date
    Aug 2018
    Location
    Republic Korea
    Search Comp PM
    Originally Posted by jagabo View Post
    rec.601 vs. rec.709 colors.

    https://forum.videohelp.com/threads/329866-incorrect-collor-display-in-video-playback#post2045830

    Use ColorMatrix(mode="rec.601->rec.709") or ColorMatrix(mode="rec.709->rec.601") on whichever video has the wrong colors.
    Thank you so much for letting me know.

    Thank you so much for let me know.
    But sometimes different colors at some screen.
    I guess.. It depends Blue color.. right?
    Could you give tips for me?

    Some of Those picture has nothing problem.
    But The others picture has problem.. a little colors different.

    Click image for larger version

Name:	7.png
Views:	29
Size:	833.8 KB
ID:	46495Click image for larger version

Name:	6.png
Views:	26
Size:	1.19 MB
ID:	46496Click image for larger version

Name:	5.png
Views:	31
Size:	874.0 KB
ID:	46497Click image for larger version

Name:	2.png
Views:	27
Size:	696.6 KB
ID:	46498Click image for larger version

Name:	4.png
Views:	17
Size:	1.08 MB
ID:	46499Click image for larger version

Name:	1.png
Views:	21
Size:	806.6 KB
ID:	46500Click image for larger version

Name:	3.png
Views:	19
Size:	542.1 KB
ID:	46501
    Last edited by Nain; 16th Aug 2018 at 22:42.
    Quote Quote  
  6. Rec.601 vs rec.709 effects green the most, red moderately, and blue the least. It has no effect on greyscale. My suggestion was for fixing the problem you're having erasing the logos. You're not going to fix the general color problems of your videos using ColorMatrix(). All those color variations in your samples are artistic choices in color grading (or just badly produced video!). 6.png is the only one that has near natural colors.

    You need to figure out which color matrix your sources use and compensate for them. In general, HD video uses rec.709, SD uses rec.601. And it's best to specify the color matrix when you encode.

    You should also verify how your system and software are set up to display video and produce screen shots -- so you see the colors correctly.
    Quote Quote  
  7. Member
    Join Date
    Aug 2018
    Location
    Republic Korea
    Search Comp PM
    Originally Posted by jagabo View Post
    Rec.601 vs rec.709 effects green the most, red moderately, and blue the least. It has no effect on greyscale. My suggestion was for fixing the problem you're having erasing the logos. You're not going to fix the general color problems of your videos using ColorMatrix(). All those color variations in your samples are artistic choices in color grading (or just badly produced video!). 6.png is the only one that has near natural colors.

    You need to figure out which color matrix your sources use and compensate for them. In general, HD video uses rec.709, SD uses rec.601. And it's best to specify the color matrix when you encode.

    You should also verify how your system and software are set up to display video and produce screen shots -- so you see the colors correctly.
    I have modified this with the tips you have given.
    Thank you very much.
    Quote Quote  



Similar Threads