[FFmpeg-devel] [PATCH] avcodec/mjpegdec: add frame threading for mjpeg decoder
Michael Niedermayer
michael at niedermayer.cc
Fri Sep 8 00:17:37 EEST 2023
On Thu, Sep 07, 2023 at 06:44:40PM +0200, Paul B Mahol wrote:
> Attached.
> mjpegdec.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
> f65de11bf58ea36b071c3501d4fa700d242edf21 0001-avcodec-mjpegdec-add-frame-threading-for-mjpeg-decod.patch
> From 2cff86b07b56d2923f60923e7dd21a546c2cc6fa Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Thu, 7 Sep 2023 18:42:03 +0200
> Subject: [PATCH] avcodec/mjpegdec: add frame threading for mjpeg decoder
>
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> libavcodec/mjpegdec.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
./ffmpeg -v -1 -i tickets/1915/m_noint.avi -f framecrc -an -t 1 -
Here the timestamps change and the files output does not look healthy
(looks as if one field is behind)
@@ -645,18 +645,22 @@
#codec_id 0: rawvideo
#dimensions 0: 640x480
#sar 0: 0/1
-0, 0, 0, 1, 614400, 0x51734de4
-0, 2, 2, 1, 614400, 0x9dfe6e90
-0, 4, 4, 1, 614400, 0x16d1f0d5
-0, 6, 6, 1, 614400, 0x67cbb0f0
-0, 8, 8, 1, 614400, 0x40f5223e
-0, 10, 10, 1, 614400, 0xef9a9ba8
-0, 12, 12, 1, 614400, 0x415cb69a
-0, 14, 14, 1, 614400, 0xbebf1993
-0, 16, 16, 1, 614400, 0xe4495f0f
-0, 18, 18, 1, 614400, 0x05a06480
-0, 20, 20, 1, 614400, 0x323bb5eb
-0, 22, 22, 1, 614400, 0x941b44ff
+0, 0, 0, 1, 614400, 0xb7f88313
+0, 1, 1, 1, 614400, 0xeda529e0
+0, 2, 2, 1, 614400, 0x29d53819
+0, 3, 3, 1, 614400, 0x95619af7
+0, 4, 4, 1, 614400, 0xfadb0437
+0, 5, 5, 1, 614400, 0xb2efa298
+0, 6, 6, 1, 614400, 0x8f4312c6
+0, 7, 7, 1, 614400, 0x8968e329
+0, 8, 8, 1, 614400, 0x545954c5
+0, 9, 9, 1, 614400, 0x144cd0b3
+0, 10, 10, 1, 614400, 0x5cd10fe0
+0, 11, 11, 1, 614400, 0x81b8473c
+0, 12, 12, 1, 614400, 0x58808c89
+0, 13, 13, 1, 614400, 0x21371f9f
+0, 14, 14, 1, 614400, 0x7533cd2a
+0, 15, 15, 1, 614400, 0xc2e8ec09
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230907/48230431/attachment.sig>
More information about the ffmpeg-devel
mailing list