[MPlayer-dev-eng] [PATCH] Try to fix raw in mov
Roberto Togni
rxt at rtogni.it
Sat Jul 7 14:32:55 CEST 2007
On Sat, 07 Jul 2007 13:50:33 +0200
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Hi!
>
> Attached patch is IMO necessary to play "raw " in mov. It's not
> sufficient to show
> http://movies.apple.com/trailers/newline/shootemup/images/index_480p.mov
> because IMGFMT_BGR32 isn't shown (if I change the image format to
> IMGFMT_RGB32 a much to red picture is shown).
>
> Please comment, Carl Eugen
With this change
Index: codecs.conf
===================================================================
--- codecs.conf (revision 23694)
+++ codecs.conf (working copy)
@@ -2112,6 +2112,7 @@
driver raw
format 0x0
format 0x42475220
+ format 0x20776172
out BGR32
videocodec rawbgr24flip
it works for me (if the image is supposed to be a blue "480P" writing
on white background). But since this is already in the rawrgb32 section
i'm not sure it's the right fix.
If you expect a red writing use the attached patch (this also match
the existing codecs.conf) (Note: quick c&p, many cases may be unused).
Ciao,
Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vd_raw.c.diff
Type: text/x-patch
Size: 992 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070707/256f288f/attachment.bin>
More information about the MPlayer-dev-eng
mailing list