[MPlayer-dev-eng] [PATCH] Remove size limit in -rawvideo format=nv12
Stephen Warren
swarren at nvidia.com
Fri Mar 19 20:32:33 CET 2010
Reimar Döffinger wrote:
> On Thu, Mar 18, 2010 at 09:16:06PM -0700, Stephen Warren wrote:
> > Attached is a patch to remove the artificial 720x756 size limit in:
> >
> > mplayer -demuxer rawvideo -rawvideo format=nv12:w=NNN:h=MMM file.yuv
>
> While the patch is in principle is correct, it is suboptimal since we
> support the NV12 colourspace directly.
> Maybe someone could check this patch instead, it will use the "raw" decoder
> and do the conversion only if necessary and using the scale filter.
That also appears to work fine. Thanks.
> Index: etc/codecs.conf
> ===================================================================
> --- etc/codecs.conf (revision 30929)
> +++ etc/codecs.conf (working copy)
> @@ -3246,20 +3246,20 @@
> videocodec rawnv21
> info "RAW NV21"
> status working
> - driver hmblck
> + driver raw
> format 0x0 0x3132564E
> format 0x20776172 0x3132564E
> fourcc nv21,NV21
> - out YV12
> + out NV21
>
> videocodec rawnv12
> info "RAW NV12"
> status working
> - driver hmblck
> + driver raw
> format 0x0 0x3231564E
> format 0x20776172 0x3231564E
> fourcc nv12,NV12
> - out YV12
> + out NV12
>
> videocodec rawhm12
> info "RAW HM12"
--
nvpublic
More information about the MPlayer-dev-eng
mailing list