[MPlayer-users] msh261.drv does not work under Linux

张晶 zhangjing at vmediax.com
Sun Dec 2 15:43:47 CET 2007


Hi,

I\'m trying use msh261.drv from Windows to encode a video under Linux by following command:
$ mencoder 1.mp4 -o 1.avi -ovc vfw -xvfwopts codec=msh261.drv -vf scale=352:288 -oac lavc
The mencoder returns:
``ICCompressGetFormatSize ret: -2\'\'
and then segfault.

By changing a line in libmpcodecs/ve_vfw.c from:
  if (temp_len < sizeof(BITMAPINFOHEADER)) temp_len=sizeof(BITMAPINFOHEADER);
to:
  if (temp_len < (int)sizeof(BITMAPINFOHEADER)) temp_len=sizeof(BITMAPINFOHEADER);
the program prints:
``ICCompressQuery failed: Error -1\'\'
and then exits.

Is msh261.drv not supported by mplayer yet?

BTW, The mplayer version is MPlayer-1.0rc2.

Best regards,

zhang jing

----



More information about the MPlayer-users mailing list