bakape / thumbnailer

Go media thumbnailer
MIT License
152 stars 36 forks source link

Errors thrown on Android produced content #65

Closed artvel closed 3 years ago

artvel commented 4 years ago

Printed errors:

[mjpeg @ 0x7fc70c680f80] unable to decode APP fields: Invalid data found when processing input
[mjpeg @ 0x7fc70c681880] unable to decode APP fields: Invalid data found when processing input
[mjpeg @ 0x7fc70c88e480] overread 8
[mjpeg @ 0x7fc70c680440] unable to decode APP fields: Invalid data found when processing input
[mjpeg @ 0x7fc70c6808c0] mjpeg: error decoding EXIF data
[mjpeg @ 0x7fc70c6808c0] No JPEG data found in image
[mjpeg @ 0x7fc70c67e000] mjpeg: error decoding EXIF data
[mjpeg @ 0x7fc70c67e000] No JPEG data found in image

Will provide more data when I get back.

artvel commented 4 years ago

Issue when producing thumbnail with the following options:

    opts := thumbnailer.Options{
        ThumbDims: thumbnailer.Dims{Width: 300, Height: 300},
    }

This is the print out when running the attached picture:

[mjpeg @ 0x3eec100] unable to decode APP fields: Invalid data found when processing input
[mjpeg @ 0x3ef5900] unable to decode APP fields: Invalid data found when processing input

Result: broken_thumb

Source to reproduce: 20170705_152419

bakape commented 4 years ago

That's my matrix transformation code not accounting for some case. I'll look into it this weekend or so.

On Sun, 5 Jul 2020 at 11:57, Artan Veliju notifications@github.com wrote:

Issue when producing thumbnail with the following options:

opts := thumbnailer.Options{ ThumbDims: thumbnailer.Dims{Width: 300, Height: 300}, }

This is the print out when running the attached picture:

[mjpeg @ 0x3eec100] unable to decode APP fields: Invalid data found when processing input [mjpeg @ 0x3ef5900] unable to decode APP fields: Invalid data found when processing input

Result: [image: broken_thumb] https://user-images.githubusercontent.com/6398539/86529084-05da4900-beae-11ea-8e8f-fe8313f1085a.png

Source to reproduce: [image: 20170705_152419] https://user-images.githubusercontent.com/6398539/86529096-1985af80-beae-11ea-84d1-26643c1f2fc1.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bakape/thumbnailer/issues/65#issuecomment-653860372, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB347MBEWWCIR3GWDWE3Q33R2A567ANCNFSM4OCKRMOQ .