Hi, I'm a ***
please I wonder this. I would like use ffdshowso that it use virtualdub to do a mjpeg encoding, or avisynth to do a mjpeg encoding. In practice ffdshow don't have to encode with his intenal mjpeg encoder, but virtualdub as real encoder. In this case ffshow is only a "bridge". Is this possible? thanks
+ Reply to Thread
Results 1 to 24 of 24
-
-
I know but virtualdub can use MJPEG VFW encoders, I wonder if I can use ffdshow as encoder, but it use virtualdub as real encoder
-
i dont know about mjpeg maybe somebody can clarify to you.
but in video compressors list on virtualdub, you can get ffdshow, but yea you need download it, first -
I don't understand what you're asking. ffdshow includes a VFW encoder that you can use in VirtualDub.
[Attachment 39166 - Click to enlarge]
The only way to use a DirectShow encoder that I know of is to frameserve from VirtualDub to another program. -
thanks but I need the inverse operation: my mle cannot see virtualdub when export. But it see ffdshow because have a vfw codec, so I wonder if I can point ffdshow as encoder, but setting it up so that it use virtualdub to make the real encoding
-
VirtualDub is not an encoder, VirtualDub is an editor.
I love to complicate things, but you clearly are much worse than I -
Sorry but my English is too limited - are you able to explain difference between 'encoder' and 'real encoder'?
-
I mean that ffdshow is used by an application because it is visibile as codec, but instead of use his internal mjpeg codec it should remand mjpeg encoding to virtualdub or avisynth. So ffdshow is a "dummy", the "real" encorder used by ffdshow is virtualdub or avisynth. Or I wonder if exist a way to have a "fake" VFW/DirecShow codec pointed by an application so that it remand to virtualdub or avisynth for the mjpeg encoding
If I don't mistake does exist some "dummy codec" that do the inverse operation: from a .avs create a "fake" .avi for reading. But in my case I need to point a VFW codec to encode a "fake" avi that have to be encode from virtualdub, or avisynthLast edited by marcorocchini; 30th Oct 2016 at 06:37.
-
I think what you're looking for is a way to frame serve from VirtualDub to your NLE -- but your NLE doesn't support VirtualDub's frameserver. You might be able to work around this by using AVFS and a simple AviSynth script. AVFS makes the output of AviSynth look like an AVI file. Your NLE will think it's opening an AVI file, not an AviSynth script.
So you would set up VirtualDub and start its frame server. Use an AviSynth script that opens the frameserver file, AviSource("filename.vdr"). Then use AVSF to make that AviSynth script look like an AVI file. Then open that AVI file with your NLE. The NLE will see the video as uncompressed RGB and PCM audio. -
sorry Jagabo I don't need to read from an avisynth script. Actually I jet do this with the avfs system and the catrazor NLE can correctly use a video file (.mxf .mp4 etcc..) because is already frameserved by the avfs system (and work very well, also if the output is alwais recognized ad "progressive" even if interlace content) through the Uncompresse YUY2 internal reader of the razor
Now I would like export from timeline, possibly using - for example - virtualdub as encoder. I cannot use the internal mjpeg codec of ffdshow because the output of ffdshow is not recognize from the NLE (I don't know exactly why) so I try to use ffdshow as "bridge" between SpeedRazor and the Virtualdub (or avisynth)
I don't have to what do - for example - the VFAPI reader : it's used to frameserve the NLE. In my case I would like use a "fake code" in VFW (or DS) to encode using - for example - virtualdub -
ffdshow, both VFW and DS, supports 4:2:2 chroma. Just set it to YUY2 or UYVY. Or use PicVideo MJPEG -- it supports 4:2:2 in the advanced options.
Last edited by jagabo; 30th Oct 2016 at 09:09.
-
I have open a file in virtualdub and encode with ffshow using mjpeg codec but mediainfo say that the output is 4:2:0. Have I to configure ffshow in a particular way?
I need to use specifically ffdshow - if possible - because I need to set it for deinterlace the imageLast edited by marcorocchini; 30th Oct 2016 at 09:41.
-
Set ffdshow to output only YUY2 or UYVY, whichever your NLE supports. It doesn't matter what MediaInfo says.
[Attachment 39173 - Click to enlarge] -
but this is the output of the ffdshow decoder. I need only encode using ffdshow, and this should be 4:2:2. The NLE open .mjpeg files using his internal decompressor so the FFDSHOW decompressor settings does not affect nothing in my case. I wonder if is the there a way to encoding mjpeg files in 4:2:2 using ffdshow but seems to me this is not possible with ffdshow. I have set the decoder to YUY2 output... but mediainfo show that the file output is alwais 4:2:0. In every case my NLE don't read this mjpeg .avi files.
At the best of my knowledge ffdshow seems keep don't encode in 4:2:2 -
I can't believe you can't figure this out for yourself. Feed ffdshow YUY2 and force it to encode YUY2.
[Attachment 39174 - Click to enlarge] -
I already have try this, but it persist don't encode in 4:2:2. Mediainfo says that the encode .avi mjpeg file is 4:2:0
The NLE persist don't read 4:2:0 output file even with this flas that force ... input colorspace
yourself can also check with mediainfo that the encode output is 4:2:0, not 4:2:2
rather is question to set the output but there is no option about the colorspace
FFDshow don't encode in 4:2:2 -
Like I said before, it doesn't matter what MediaInfo says. If you force ffdshow to encode 4:2:2 and force it to output only 4:2:2 that is what you will get. Open one of your 4:2:2 files with AviSource() and view Info(). You'll see it's 4:2:2.
[Attachment 39175 - Click to enlarge]
Internally, ffdshow may continue to use 4:2:0 chroma but it will output only 4:2:2. It's much more likely your NLE simply doesn't like the fourcc.Last edited by jagabo; 30th Oct 2016 at 11:27.
-
@jagabo - if you decode with avisource + ffdshow using those settings, then it will be upsampled to 4:2:2 because of "forced" output for the decoder. Or perhaps your default VFW mjpg decoder is upsampling to 4:2:2
If you check with a 3rd party decoder, eg. ffmpeg or ffvideosource, or l-smash it will be 4:2:0 -
-
OK, I verified that ffmpeg encodes MJPEG 4:2:0 internally -- at least symptomatically, 4:2:2 input comes out with colors of every pair of lines blurred together. But since you can force the decoder to output 4:2:2 that's what the editor will get when it opens the file with ffdshow. If it uses it's own MJPEG decoder then there will be a problem.
MediaInfo does show a PicVideo 4:2:2 MJPEG encoded video to have 4:2:2 chroma subsampling. It must be looking into the codec's private data to determine that since the AVI headers don't include chroma subsampling information.Last edited by jagabo; 30th Oct 2016 at 16:33.
-
I would not trust blindly in mediainfo accuracy - do some tests 4:2:0 vs 4:2:2 (pattern to expose chroma vertical downsampling http://forum.doom9.org/showthread.php?t=167428 ) to verify real ffdshow capabilities.
Personally I would install an older ffdshow where MPEG-2 (or x264Vfw IMHO better) Intra is supported and will use this as your main workflow codec instead MJPEG - there is few benefits from this (higher quality and interlace properly supported at syntax level) - MJPEG was never standard codec and from vendor to vendor they may be present some differences.
Last ffdshow version supporting MPEG-2 encoder check this thread: https://forum.videohelp.com/threads/357004-Free-MPEG-2-Video-Encoder
Similar Threads
-
Virtualdub External Encoder feature.
By racer-x in forum Newbie / General discussionsReplies: 148Last Post: 13th Jul 2024, 19:13 -
VirtualDub External Encoder Issues
By Shoal in forum Newbie / General discussionsReplies: 41Last Post: 27th Nov 2017, 08:45 -
how to use mencoder as external encoder of virtualdub?
By ntg029learner in forum Newbie / General discussionsReplies: 0Last Post: 6th Dec 2014, 23:37 -
Frameserving from VirtualDub to MPEG-2 encoder
By nharikrishna in forum Authoring (DVD)Replies: 12Last Post: 6th Feb 2014, 17:38 -
why "intel quick sync" disappear from list of usable codecs in ffshow?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 21st Oct 2013, 20:10