Hi cats,
I use virtualdub to downconvert a .mxf video file from 1440x1080 4:2:0 to an avi of 720x576 4:2:2
al is ok but I see chroma ghost in the output avi file.
Using virtualdub, the line
ConvertToYUY2(interlaced=true)
avoid the chroma ghost.
But I don't know if is there a way to avoid the problem using virtualdub. Ca you help me cat?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 16 of 16
Thread
-
-
Try forcing the decompression format to YUY2. Video -> Color Depth. That might convince the decoder to output YUY2 to VirtualDub, which the program will handle correctly (unlike interlaced YV12).
-
Then force whatever decoder you're using to output YUY2 only (ffedhow?).
By the way, you should enable "show image formats" in the filter dialog so you can see what colorspace each filter is using. -
in virtualdub I use the ffmpeg plugin 0.8.1.4 to open the .mxf 4:2:0 files (this is not my main camera [pdwf800], is the pdwf335 4:2:0 xdcam version)
-
If the decoder is producing YUY2 output that should work. So it's likely the ffmpeg source plugin isn't putting out YUY2. VirtualDub always converts YV12 to YUY2 or RGB as if the chroma channels are progressive. With interlaced YV12 that causes the chroma of the two fields to blend together. The author has been aware of the problem for many years but insists that interlaced YV12 should not have the same fourcc as progressive YV12 so he refuses to fix it.
I don't have the ffmpeg source plugin installed. Did you try using the "Ask for extended options..." in the Open Video File dialog? That might give you control over the plugin's output. And make sure the plugin is being used by forcing it in the Files Of Type pulldown. -
I have try also use YUV444 or RGB but I see alwais chroma ghost only when I use the ffmpeg plugin for virutaldub. I try also save in uncompressed without any filters, and resize the video with Mainconcept totalcode but the chroma ghost remains. Seems that the problem is the ffmpeg plugin for virtualdub. In fact when I use the ffdshow as source for virtualdub chroma ghost disappear
-
load avisynth into vd, use good old dgindex:
Code:SET ffmpeg=" .... \ffmpeg\ffmpeg.exe" SET virtualdub=" .... \VirtualDub\vdub.exe" SET vcf=" .... \your_custom.vcf" SET dgindex=" ... \DGIndex.exe" SET DGDecode.dll=" ... \DGDecode.dll" SET temp_folder=D:\temp if not exist %temp_folder% MD %temp_folder% %ffmpeg% -i %1 -vcodec copy -an -sn "%temp_folder%\video.m2v" %dgindex% -IF=[%temp_folder%\video.m2v] -OF=[%temp_folder%\video] -OM=0 -IA=5 -MINIMIZE -EXIT echo LoadPlugin(%DGDecode.dll%) > "%temp_folder%\video.avs" echo MPEG2Source("%temp_folder%\video.d2v") >> "%temp_folder%\video.avs" echo ConvertToYUY2(interlaced=true) >> "%temp_folder%\video.avs" %virtualdub% /s %vcf% /p "%temp_folder%\video.avs",out.avi /r
Last edited by _Al_; 16th Sep 2014 at 11:28.
-
-
The ffmpeg source plugin for VirtualDub.
I tried it with several interlaced sources including MPEG2, AVC, MJPEG, in AVI, MP4 and MKV. So, if you're getting chroma blending there must be a problem handling your specific source video. Or in your specific handling in VirtualDub.
But now I remember why I stopped using it: you lose detailed error messages when it opens AviSynth scripts. Instead of a descriptive error like "There is no function named 'blah'... filename.avs, line 16", you just get a generic error like "failed to open filename.avs". About the only thing I use VirtualDub for is to preview AVS scripts.Last edited by jagabo; 17th Sep 2014 at 12:03.