[FFmpeg-devel] mpegvideo_parser outputs incomplete frames [with rough patch]

Wolfram Gloger wmglo
Thu Aug 30 13:22:07 CEST 2007


Hi,

> Indeed, new patch attached.

Forgot to mention that this will (IMO correctly) change the
seek regression test output as follows:

--- trunk/tests/seek.regression.ref	2007-08-30 10:34:56.000000000 +0200
+++ ffmeg-test/tests/data/seek.regression	2007-08-30 11:41:46.000000000 +0200
@@ -3247,13 +3247,13 @@
 tests/data/b-libav.ts
 ret: 0 st: 0 dts:-0.040000 pts:0.000000 pos:-1 size:24921 flags:1
 ret: 0 st:-1 ts:-1.000000 flags:0
-ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1
+ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:0
 ret: 0 st:-1 ts:1.894167 flags:1
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st: 0 ts:0.788333 flags:0
-ret: 0 st: 0 dts:0.760000 pts:0.800000 pos:-1 size:12351 flags:1
+ret: 0 st: 0 dts:0.760000 pts:0.800000 pos:-1 size:12351 flags:0
 ret: 0 st: 0 ts:-0.317500 flags:1
-ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1
+ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:0
 ret: 0 st: 1 ts:2.576667 flags:0
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st: 1 ts:1.470833 flags:1
@@ -3261,43 +3261,43 @@
 ret: 0 st:-1 ts:0.365002 flags:0
 ret: 0 st: 1 dts:0.000000 pts:0.000000 pos:-1 size:208 flags:1
 ret: 0 st:-1 ts:-0.740831 flags:1
-ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1
+ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:0
 ret: 0 st: 0 ts:2.153333 flags:0
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st: 0 ts:1.047500 flags:1
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st: 1 ts:-0.058333 flags:0
-ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1
+ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:0
 ret: 0 st: 1 ts:2.835833 flags:1
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st:-1 ts:1.730004 flags:0
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st:-1 ts:0.624171 flags:1
-ret: 0 st: 0 dts:0.600000 pts:0.640000 pos:-1 size:14233 flags:1
+ret: 0 st: 0 dts:0.600000 pts:0.640000 pos:-1 size:14233 flags:0
 ret: 0 st: 0 ts:-0.481667 flags:0
-ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1
+ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:0
 ret: 0 st: 0 ts:2.412500 flags:1
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st: 1 ts:1.306667 flags:0
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st: 1 ts:0.200844 flags:1
-ret: 0 st: 0 dts:0.200000 pts:0.240000 pos:-1 size:13938 flags:1
+ret: 0 st: 0 dts:0.200000 pts:0.240000 pos:-1 size:13938 flags:0
 ret: 0 st:-1 ts:-0.904994 flags:0
-ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1
+ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:0
 ret: 0 st:-1 ts:1.989173 flags:1
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st: 0 ts:0.883344 flags:0
-ret: 0 st: 0 dts:0.920000 pts:-102481911520608.625000 pos:-1 size:7258 flags:1
+ret: 0 st: 0 dts:0.920000 pts:-102481911520608.625000 pos:-1 size:7258 flags:0
 ret: 0 st: 0 ts:-0.222489 flags:1
-ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1
+ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:0
 ret: 0 st: 1 ts:2.671678 flags:0
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st: 1 ts:1.565844 flags:1
 ret: 0 st: 1 dts:0.731433 pts:0.731433 pos:-1 size:209 flags:1
 ret: 0 st:-1 ts:0.460008 flags:0
-ret: 0 st: 0 dts:0.440000 pts:0.480000 pos:-1 size:21317 flags:1
+ret: 0 st: 0 dts:0.440000 pts:0.480000 pos:-1 size:21317 flags:0
 ret: 0 st:-1 ts:-0.645825 flags:1
-ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1
+ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:0
 ----------------
 tests/data/b-libav.ul
 ----------------

Regards,
Wolfram.




More information about the ffmpeg-devel mailing list