VirtualDub + XviD codec: unable to initialize output codec

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

VirtualDub + XviD codec: unable to initialize output codec

Post by peter_b »

[PROBLEM]
I've tried to convert a lossless encoded FFV1 file to MP4 in Virtualdub, using Koepi's XviD Windows codec package build.
Regardless which profile I selected or xvid settings I chose, I always got the same error when trying to start the transcoding:
Unable to initialize the output video codec. Check that the video codec is compatible with the output video frame size and that the settings are correct, or try a different one.
[SOLUTION]
The output color depth (aka "pix_fmt") was set to "4:2:2 planaer YCbCr (YV16)". This actually made sense, since the input pix_fmt is "yuv422p".
For encoding to XviD in Virtualdub however, I had to set it to "4:2:2 >CbCr (UYVY)" in order to work.
Post Reply