Hi
please I wonder if exist a MJPEG codec that have a "deinterlace option". Thanks
Printable View
Hi
please I wonder if exist a MJPEG codec that have a "deinterlace option". Thanks
Do you mean a VFW MJPEG encoder which supports progressive encoding?
I have never heard of an encoder (MJPEG or anything else) that performs deinterlacing itself. As far as I know, video must already be deinterlaced before it reaches the encoder.
There are encoders that accept and output interlaced content with having to first de-interlace, feed to the encoder and then interlace.
Most mpeg-2 encoders and I'm fairly certain both Main Concept's H264 and x264 are capable of accepting an interlaced source and outputting interlaced encode, though my understanding is that x264's isn't all that great.
@OP: Your question is poorly structured, codec stands for COmpressor and DECompresser, and encoder is only the COmpressor part of codec. Having said this it's not the job of an encoder to do any filtering of the source, the job of the encoder is to reproduce as accurately as possible the source material, it's the job of a filter to perform filtering tasks to prepare the content for the encoder and de-interlacing is done by a filter.
Now on the DECoding side, things are different, a decoder in theory is supposed to display what is stored in the video stream as accurately as possible but most decoders do feature some built in filtering capabilities, such as de-interlacing.
So if your question is whether or not there exists an MJPEG encoder that has a built in de-interlacer, the answer is no. If your question is whether or not there exists a MJPEG decoder that has a built in de-interlacer then the answer is a convoluted yes, because anything that is capable of playing back MJPEG encoded content, such as ffmpeg, mplayer, DivX's player, etc all have built in de-interlacing ability.
SO what exactly are you asking?
Nope - some combos (i.e. pack with pre-processing, video codec and post-processing) may have implemented such things but this is not part of the codec itself (in case of MJPEG i think there is no way to signal interlace and/or field dominance - it is very similar to JPEG and in JPEG world there is no such things like interlace - so interlaced frame is processed as progressive).
Pre and post processing usually will be designed for speed not for quality (so i assume simple field discarding and maybe bob implemented - that's all).
ahn :(
however yes.. I mean a MJPEG encoder that has a built in de-interlacer. Because I send to the encoder interlace video but I would like that it returns de-interlace video.
FFDshow is the "solution" more closer at what should I do because I can directly set to deinterlace input (or use an avisynth script to deinterlace) but the global mjpeg output of ffdshow is not 4:2:2 meanwhile I'm forced to have 4:2:2 ... so I cannot use ffdshow and there is no solution
I am not surprised that ffdshow's MJPEG encoder is not very good. For several years, ffdshow has been mostly used for decoding video. Sometime around 2010, ffdshow's developers decided to focus on maintaining its decoding features and removed most of ffdshow's encoders because there were much better encoders available elsewhere.