but I'm a cat!
Please can you help me?
Simply I have to do this:
1) change REC.709 <---and viceversa---> REC.601
2) change so that output is YUY2 4:2:2 [in avisynth is done by the ConvertToYUY2(interlace=true)] to avoid chroma ghost when input is 4:2:0
hoewver in virtualdub I keep as color depth output this
3) change video levels PC <--> TV
Why I cannot find plugin or solution that do that? thanks
+ Reply to Thread
Results 1 to 30 of 32
-
-
Because nobody writes VirtualDub filters any more. Everyone with advanced needs has moved on to AviSynth.
-
ok but seems to me I do not ask to virtualdub to do special things, I can not made a few elementary operations.
Now I'm wondering: can I apply a .avs script as filter of virtualdub? so that I load my source .mxf files in virtualdub with the ffmpeg plugin, but intermediary process is managed by avisynth. If I don't mistake ffdshow can do this -
VirtualDub only filtered in RGB until a few years ago. Few people have been writing filters for it since the addition of other color formats.
I've never seen a third party filter that allows that. It's certainly not built in to VirtualDub. -
https://www.dropbox.com/s/41k459jnbzjujt7/barsSD.MXF?dl=0
for example: I would like convert this .mxf SD 720x608 REC.601 (need to cut 32 lines with the nulltransform filter Y1 offset=32 to get a 720x576) to a 1920x1080 REC.709
for resize procedure: deinterlace-->resize 1920x1080-->interlace
for the REC.601-->REC.709 ?
this is my problem -
I do know of one convoluted way you can use AviSynth filters in VirtualDub. You mentioned it earlier -- use ffdshow as the video decoder, then use ffdshow's AviSynth filtering. All the AviSynth filters will be applied before VirtualDub gets the video. For example, I took you colorbars video and remuxed it into an AVI file because I have ffshow set up ad the decoder for MPEG 2 in AVI:
You can use ColorMatrix(rec.601->rec.709) instead when upscaling. -
I think you can also do it via command using External Encoder Feature and an ffmpeg preset. You'll need to create an ffmpeg encoding preset and edit the command to do the color matrix conversion. In this way the conversion is done when encoding.
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........ -
That won't help with VirtualDub's incorrect handling of interlaced YV12 source.
-
You are probably right jagabo, I tried a few attempts but have yet to beat the encoding errors.
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........ -
It does seem to work OK on progressive footage like this from my t2i.
Script for External Encoder FFMpeg:
Code:-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec libx264 -pix_fmt yuv420p -level 41 -preset medium -crf 19 -vf colormatrix=bt601:bt709 "%(tempvideofile)"
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........ -
mmmmm
but I'a cat, too complicated ffdshow for cats.. too many mess, too many problem each time with ffdshow
I don't know if it can work well but I've try load the source directly in virtualdub and set this filters:
and seems work, but I have to well try this method
Interesting the external encoder, but can I encode output with a VFW codec listed in virtualdub? -
https://www.dropbox.com/s/7nx4i1dcql02wmv/HD169.MXF?dl=0
this is a HD REC.709 1920x1080 4:2:2 video file
https://www.dropbox.com/s/njv10z9sb4o5enx/HD420.MXF?dl=0
this is a HD file REC.709 1920x1080 but in 4:2:0 (I would like to do virtualdub downscale that can transcode it into SD but avoiding chroma ghost: this artifacts can be well watched on red and blue zone in fast movement of the image when transcoding is bad)
https://www.dropbox.com/s/niihkqnntjh2els/IMX169.mxf?dl=0
and this is shoot after the HD REC.601 recording but in IMX50 (SD) mode by the same camcorder: this is not a transcoded from HD, it's a pure shooting from the same camera but in SD mode
https://www.dropbox.com/s/o7qk9gg3pmhnsyg/barreTonoHD.MXF?dl=0
this is HD bars 1920x1080 4:2:2 rec.709Last edited by marcorocchini; 23rd Sep 2014 at 19:37.
-
You can use the MPEG 2 source plugin then Video -> Color Depth... Decompression Format YUY2. That will force the MPEG 2 plugin to do the conversion to YUY2 -- it handles interlaced YV12 to YUY2 properly.
Not forced, deinterlace Yadif:
Forced to YUY2, deinterlace Yadif:
Of course, you still have the rec.709 vs rec.601 issue. But you can probably handle that with the external encoder as racer-x suggested.Last edited by jagabo; 23rd Sep 2014 at 20:08.
-
-
I downloaded and tested the AutoYUY2 and it properly converts interlaced YV12 to interlaced YUY2. I hadn't noticed the Alias Format filter before (it was added to VirtualDub version 1.10.0). But it does convert between rec.709 and rec.601.
-
-
jagabo please i have 2 answer:
1) how I can use the MPEG 2 source plugin? it don't opens .mxf files (or have you pass it trough ffmpeg from .mxf to .mpg?)
2) upscaling in virtualdub: is there a better way that mine (deinterlace with yadif/resize with lanczos+interlace/interlace)? is there a deinterlaced better than yadif? -
The plugin does open mxf files. VirtualDub just doesn't show them in the file dialog. Start typing in the name or enter *.mxf so it shows you the mxf files. Be sure to force the MPEG 2 source filter in the Files Of Type pulldown.
I don't use VirtualDub for much other than viewing the results of AviSynth scripts these days. So I don't keep track of the latest filters. But there are many different deinterlacers and resizers in VirtualDub. Just use whatever works best for your source. I've never seen or heard of anything as good as nnedi3_rpow2() or QTGMC() though. -
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
-
-
-
I like cats and have nothing against them, but this incessant rambling about cats is annoying. I like dogs, but I don't go rambling on about them and post images.
The only reason I started posting on this thread is because I found it marginally interesting, at first anyway.....Got my retirement plans all set. Looks like I only have to work another 5 years after I die........