[Ffmpeg-devel] [PATCH proposal] MPEG4 video probe v3

Thijs Vermeir thijs.vermeir
Tue Nov 7 12:25:43 CET 2006


Hi

> to repeat my reply to your first patch

I read it and applied what was necessary

> it should also search for VOL(0x0000012X) and VO(0x0000010X)

+            temp_buffer = temp_buffer & 0xfffffff0;
+            switch(temp_buffer){
+               case VIDEO_OBJECT_START_CODE:           VO++; break;
+               case VIDEO_OBJECT_LAYER_START_CODE:     VOL++; break;
+            }
+        }
+    }
+
+    if (( VOP >= VISO) && (VOP >= VOL) && (VO >= VOL) && (VOP > 0))

in the patch it searched for the VOL and VO.

> and VOP >= VOL && VO >= VOL

Is checked

> && VOL > 0

Not correct for a probe, This happens not frequently in a random 2k
buffer. In a test stream it only happens at +/- 16k. And I think this
is too large for a probe buffer.

Gr,




More information about the ffmpeg-devel mailing list