[MPlayer-dev-eng] [PATCH] mencoder: support cinepak encoding via -ovc lavc

compn tempn at twmi.rr.com
Mon Jan 27 15:24:29 CET 2014


On Sun, 26 Jan 2014 19:55:08 +0000
u-2w2r at aetey.se wrote:

> Hello,
> 
> Reflecting the addition of cinepak encoder to ffmpeg here follows
> the corresponding change for mencoder:
> 
> ----
> --- libmpcodecs/ve_lavc.c.ori   2014-01-25 22:47:58.861287479 +0100
> +++ libmpcodecs/ve_lavc.c       2014-01-26 19:42:50.891709449 +0100
> @@ -975,6 +977,8 @@
>         mux_v->bih->biCompression = mmioFOURCC('d', 'r', 'a', 'c');
>      else if (!strcasecmp(lavc_param_vcodec, "libvpx"))
>         mux_v->bih->biCompression = mmioFOURCC('V', 'P', '8', '0');
> +    else if (!strcasecmp(lavc_param_vcodec, "cinepak"))
> +       mux_v->bih->biCompression = mmioFOURCC('c', 'v', 'i', 'd');
>      else
>         mux_v->bih->biCompression = mmioFOURCC(lavc_param_vcodec[0],
>                 lavc_param_vcodec[1], lavc_param_vcodec[2],
> lavc_param_vcodec[3]); /* FIXME!!! */ --- DOCS/man/en/mplayer.1.ori
> 2014-01-26 20:39:51.215795665 +0100 +++ DOCS/man/en/mplayer.1
> 2014-01-26 20:40:28.596233764 +0100 @@ -9647,6 +9647,8 @@
>  for lossless JPEG, ffv1 and svq1
>  .IPs "BGR32"
>  for lossless JPEG and ffv1
> +.IPs "RGB24"
> +for cinepak
>  .RE
>  .PD 1


is CVID or cvid preferred by binary codecs?

-compn


More information about the MPlayer-dev-eng mailing list