Hi,
I have recently captured a TV show.
However, I have run into trouble with the de-interlacing process. Your help will be much appreciated.
Source Video details:
Container = MP4,
Codec = x264,
Resolution = 708x424 pixels (cropped) @ 50p frame rate,
Interlaced = yes,
Audio = AAC (FAAC)
I am tried to edit the video using AVIDemux (64-bit) v2.5.4 on Windows 7 SP1 (64-bit).
I am providing the sample video clips below (in a 7-zip SFX file 4 MB size):
Download link:Password:Code:http://www.mediafire.com/?gh2nvwzhea5j9xaVideo-1: <Video Clip 01 - Original.mp4> contains the original video stream from the capture device. The video is interlaced.Code:pr!GglE2011
[Result: Interlace artifacts = YES, Other artifacts = NO]
Video-2: <Video Clip 02 - Used Yadif Filter.mp4> In this clip, I have applied the standard Yadif filter in AVIDemux to the original video mentioed above. However, notice the multi-line artifacts running parallel on the screen at 45 degrees.
[Result: Interlace artifacts = NO, Other artifacts = YES]
Video-3: <Video Clip 03 - Used Decomb Telecide Filter [PAL pulldown].mp4> I have used the Decomb Telecide Filter in AVIDemux in PAL pulldown mode. In this mode, the interlace artifacts (i.e. horizontal stretches of lines, when you pause the video) remain, but the 45 degress lines are no longer there.
[Result: Interlace artifacts = YES, Other artifacts = NO]
Video-4: <Video Clip 04 - Used Decomb Telecide Filter [PAL with Post-Process Image].mp4> I have used the above-said Decomb Telecide Filter in AVIDemux in PAL pulldown mode with additional "Post-Process Image". To make matters confusing, now the de-interlace artifacts disappear, but the 45 degress lines re-appear.
[Result: Interlace artifacts = NO, Other artifacts = YES]
My objective: To make the video clear by removing BOTH the de-interlace artifacts as well as the 45 degrees lines from the original video.
I would request any expert opinion to please tell me what I am doing wrong and how may I fine-tune the de-interlace to make sure that the post-edited video is free from artifacts.
- Thanks.
+ Reply to Thread
Results 1 to 11 of 11
-
Last edited by krumm-krumm; 28th Sep 2011 at 12:34.
-
first - a video can't be 50p and interlaced.
second - all the fancy colors are annoying. so much for all the hard work. black for text is just fine.
third - why the hell is the linked download a .exe file? no one in there right mind is going to bother downloading it.--
"a lot of people are better dead" - prisoner KSC2-303 -
That's some nasty video. Here's the original after:
ffVideoSource("Video Clip 01 - Original.mp4")
AssumeTFF()
Trim(3,0)
QTGMC()
SelectEvery(4,0,2,1,3)
Trim(2,0)
Merge(SelectEven(),SelectOdd())
Merge(SelectEven(),SelectOdd()) -
Sorry for messing up with the sample videos... the EXE is actually a self-decrypting 7zip file containing the four sample videos... the reason for using the zip archive is because I couldn't find a way of using four attachments in this thread.
But coming back to the core issue...
The original video is 25i PAL, but I have only 'copied' the video stream in AVIDemux, i.e. I have not applied any filters. I don't know how 25i video changed into 50p, although I think AVIDemux has somehow added the two interlaced fields and played it as 2x25 progressive - even in 'Copy' mode.
You can make out after playing the video, that visually it is interlaced, i.e. is filled with horizontal 'scratch' lines.
I have also seen that there is a default Frame Rate in AVIDemux for "50.0" FPS. But when I try to set the Frame Rate to manual at source, i.e. 25 FPS, the resulting video plays at half-speed and there is complete breakdown in audio sync. Somehow, I haven't understood AVIDemux completely...
Thereafter, in the following videos, I have applied filters as mentioned in the first post.
So, yeah, I did mess up somewhere, but I have no idea where... Please help... -
Wait... wait... wait... Let me think from the beginning...
1.) First, the captured video is in TS format - video is in AVC 25i PAL, audio in AC3 320 kbps CBR mode.
The main video size is more than 100MB.
2.) I took out the smaller video clips using AVIDemux.
a.) Set the Video to "Copy" mode
b.) Set the Audio to AAC (FAAC) encode @ 64 kbps,
c.) Set the container to MP4,
d.) Mark the "IN" and "OUT" positions to extract the video clip, and
e.) Finally saved the file.
Possibly, therein lies the rub...
Did the change in container format have anything to do with the change in FPS? I am confused... -
Thank you, jagabo, for your reply.
I have downloaded the video you have corrected, and I notice that you have removed all artifacts from the video, and also corrected the frame rate.
But I am not as technically sound in video editing as you are, friend.
Please be so kind to tell me how I can duplicate the above result in AVIDemux (or in any other way). I am waiting on you to edit all my future videos.
Oh... and I am assuming you left out the sound on purpose... -
Thanks a lot for your idea, friend.
I guess the source file is just another TS with interlaced AVC video, so...
But after interaction with you guys, I am increasingly becoming certain that the main problem is my wrongful application of de-interlacing filter in AVIDemux. (I have noticed that all artifacts are AFTER using AVIDemux.)
Please advise me on how to: CUT/TRIM large TS videos into de-interlaced MP4/MKV using AVIDemux. What are the best processes used for de-interlacing videos particularly in AVIDemux?
Thanks... -
You will not be able to duplicate this with AviDemux or any other normal deinterlacer. I don't know how your video got so mangled. It started out as 25 fps progressive video. It was captured as 25 fps interlaced video with the fields out of phase. Each frame of the 25i video was then duplicated to produce at 50i fps video with interlaced frames. So the original 25 fps video has each frame repeated for the duration of 4 fields. The diagonal line noise is in all the fields but it turns out that it is 180 degrees out of phase between some of them. The trick is to weave pairs of fields with the noise out of phase then blend them together so that the noise is canceled out.
The AviSynth script I gave earlier does that but it uses the very slow QTGMC() filter. After some more experimentation I've come up with a much faster method:
ffVideoSource("Video Clip 01 - Original.mp4")
AssumeTFF()
SeparateFields()
SelectEvery(4,1,2)
AssumeBFF()
Weave()
Blur(0,1.0)
Sharpen(0,0.7)
To use these scripts you'll have to install AviSynth, create the above scripts with a text editor, then open the scripts with an editor that supports AviSynth scripts. VirtualDub, MeGUI, Xvid4PSP, x264, will all work.
http://avisynth.org/mediawiki/Main_Page#New_to_AviSynth_-_start_here
To use ffVideoSource() you'll need to put ffmpeg's source filter in AviSynth's plugins folder.
http://code.google.com/p/ffmpegsource/
To use QTGMC() you'll need to download QTGMC and a bunch of other filters that it relies on.
http://avisynth.org/mediawiki/QTGMC
Another problem you will have is that these scripts are dependent on the pattern of field and frame repeats in the source video. The scripts must be modified if the pattern is different. You may have to work in sections if there are pattern breaks during a video. This might be easier if you could provide a sample closer to the original source video.
And yes, I left out the audio because it doesn't need any processing. You can mux the original audio with the new video.Last edited by jagabo; 28th Sep 2011 at 17:32.
-
Thanks a lot, jagabo, for your insightful comments... I will have to study the material and hopefully be able to do what you have done...
As for the whole frame rate issue with AVIDemux, I'll study them and perhaps open a new thread on it.
Thanks again to everybody for your help.
Similar Threads
-
s-video artifacts?
By VCRcomp in forum Capturing and VCRReplies: 235Last Post: 29th Oct 2013, 10:42 -
Artifacts on Youtube video. Can you help.
By Borba72 in forum Newbie / General discussionsReplies: 2Last Post: 11th Sep 2011, 19:14 -
Removing "interlace" artifacts
By gordonbennett in forum DVD RippingReplies: 2Last Post: 26th Apr 2010, 11:45 -
FAVC video artifacts
By midders in forum Video ConversionReplies: 5Last Post: 24th Sep 2008, 01:33 -
Artifacts in Video
By arturjose in forum Video ConversionReplies: 6Last Post: 17th Feb 2008, 19:03