From: Steven S. <sch...@gm...> - 2014-10-24 18:58:24
|
Hi -- On Fri, Oct 24, 2014 at 10:58 AM, Burkhard Plaum < pl...@ig...> wrote: > Hi, > > Am 23.10.2014 um 17:57 schrieb Steven Schultz: > > > I am still puzzled why the Native color model still shows as Undefined. > > My memory (possibly faulty) is that it used to say something like "YUV > > 4:2:2 planar" > > Right. The decoding colormodel is now determined just when it's actually > used, > because it can involve decoding a first image (not in your case of > uncompressed > video of course) > Ah, ok. So my memory of a different behavior was correct. > Of course qtinfo should not show "Undefined". > That is just the symptom of the problem. Programs that called lqt_get_cmodel followed by lqt_colormodel_is_yuv immediately after quicktime_open failed because the color model hadn't been updated. A possible solution would be to modify quicktime_print_info() such that it > calls > lqt_ensure_stream_cmodel_decode() for each video track first. Any > volunteers? > The problem was that let_ensure_stream_cmodel_decode exits/returns early if !file->vtracks[track].codec->decode_video and all the uncompressed codecs still returned 0 if called with row_pointers of 0. My solution was to modify the videocodec/ uncompressed codecs to return 1 instead of 0 when called with rows_pointers of 0. Seems to be working OK so far. Steven |