[MEncoder-users] MEncoder outputs "could not find matching colorspace"

Bill Crockett wsc4 at optusnet.com.au
Sat Sep 24 14:23:08 CEST 2011



On 24/09/2011 1:52 PM, Cristian Manea wrote:
> If I add
>
> -vf format=i420
> to mencoder or mplayer, they still output
>
> Could not find matching colorspace - retrying with -vf scale...
>> Opening video filter: [scale]
>> The selected video_out device is incompatible with this codec.
>> Try appending the scale filter to your filter list,
>> e.g. -vf spp,scale instead of -vf spp.
>>
> but if I add the scale filter, there is one additional message in the
> output:
>
> [swscaler @ 0x8a38540] using unscaled yuv420p ->  yuv420p special converter
> what is i420 ? why i420 ? is x264 requiring a video format different than
> that of an mpeg2/vob/dvd video stream ? if so, how do I determine the right
> type of conversion, in order to convert from the format of the source to a
> format that x264 accepts as input ? I have't seen these type of colorspace
> conversions in the filter list of other mencoder users, or in the manual...
>
> On Sat, Sep 24, 2011 at 6:01 AM, James Hastings-Trew<jimht at shaw.ca>  wrote:
>
>> On 11-09-23 7:59 PM, Cristian Manea wrote:
>>
>>> Could not find matching colorspace - retrying with -vf scale...
>>>
>>>> Opening video filter: [scale]
>>>> The selected video_out device is incompatible with this codec.
>>>> Try appending the scale filter to your filter list,
>>>> e.g. -vf spp,scale instead of -vf spp.
>>>>
>>>>   In MPlayer manual it says that the scale filter "Scales the image with
>>> the
>>> software scaler (slow) and performs a YUV<->RGB colorspace conversion".
>>> From
>>> this, I understand that it converts the source frames to RBG before
>>> sending
>>> them to x264, but I don't know if this conversion is necessary, therefore,
>>> I
>>> don't know if the scale filter is needed, but even if I add it, mencoder
>>> tells me to add it.
>>> _____________________
>>>
>> Try adding this instead: |-vf format=i420
>>
>>
>> |
>> ______________________________**_________________
>> MEncoder-users mailing list
>> MEncoder-users at mplayerhq.hu
>> https://lists.mplayerhq.hu/**mailman/listinfo/mencoder-**users<https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users>
>>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

I had exactly the same problem, but with MPlayer.  If I played an 
interlaced video with the "yadif" deinterlacing filter, or any 
deinterlacer, I would get the same display error.

What video output driver are you using?  I am using OpenGL.  If I 
changed to Directx, it did not do it.  If I appended the scale filter 
while using OpenGL, it also fixed it.  I found out that my video card is 
too old, and the only way to use it was to append the scale filter or go 
back to Directx.





More information about the MEncoder-users mailing list