Am Thu, 5 Apr 2007 17:33:40 +0200 schrieb "Francesco Romani" <[EMAIL PROTECTED]>:
> On 4/5/07, Stefan Scheffler <[EMAIL PROTECTED]> wrote: > > Hi, > > > > export_mov sometimes produces a green image in YUV420 mode. The > > attached patches should fix that. I seemed to have wrongly assumed > > that libquicktime can convert between all its supported > > colormodels, which isn't the case. It now converts to RGB if > > there's no conversation in libquicktime. Quite expensive, but this > > should always work. > [...] > > No objections from there doing this way, especially since I guess this > should be a pretty rare case. I think it's only the jpeg codec that needs this. It uses some weird YUV420 variant. > At first glance patches looks nice (BTW: thanks for doing patches for > 1.1.x trunk) I guess now that 1.1 is getting more popular/support I have to actually pay attention to it. ;) Attached oneliner makes import_mov handle mp4 files in 1.1, its been in 1.0 for a while. stefan
--- cvs/mplayer/transcode/import/fileinfo.c 2007-04-05 22:41:38.000000000 +0200 +++ tc-1.1/import/fileinfo.c 2007-04-05 22:18:54.000000000 +0200 @@ -447,6 +447,7 @@ if(strncasecmp(buf+4,"moov", 4) ==0 || strncasecmp(buf+4,"cmov", 4) ==0 || strncasecmp(buf+4,"mdat", 4) ==0 || + strncasecmp(buf+4,"ftyp", 4) ==0 || strncasecmp(buf+4,"pnot", 4) ==0) { id = TC_MAGIC_MOV; goto exit;