[digikam] [Bug 334678] New: Thumbnails fail to generate for certain AVI files - infinite loop

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 334678] New: Thumbnails fail to generate for certain AVI files - infinite loop

Steve-2
https://bugs.kde.org/show_bug.cgi?id=334678

            Bug ID: 334678
           Summary: Thumbnails fail to generate for certain AVI files -
                    infinite loop
    Classification: Unclassified
           Product: digikam
           Version: 3.5.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Thumbnails
          Assignee: [hidden email]
          Reporter: [hidden email]

Certain AVI files fail to get thumbnails generated, whenever Digikam tries to
extract the thumbnail for these files it will loop indefinately, consuming 100%
CPU.

Dolphin shows the thumbnails correctly.

If I check the AVI with ffmpeg, for example:

  ffmpeg -v error -i bike.AVI -f null -

it kicks back an error:

  [mjpeg @ 0x1e3c660] overread 8

So there does seem to be an issue with the AVI (even though it plays fine), but
I would expect Digikam to at least display a default thumbnail and not
continually loop.




Reproducible: Always

Steps to Reproduce:
1. Copy suspect AVI into photo folder
Actual Results:  
No thumbnail will be generated and one core on the CPU will stick at 100% CPU
busy for the digikam process/thread.

Expected Results:  
Should generate a thumbnail or a default one and not continually loop.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 334678] Thumbnails fail to generate for certain AVI files - infinite loop

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=334678

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Gilles Caulier <[hidden email]> ---
Video thumbnails creation is delegate to KDE video thumbnailer. Probably it
miss a component in KDE to support this feature.

Here under Mageia, it's this package :

ffmpegthumbs - Video thumbnail generator for KDE4 file managers​               
FFmpegThumbs is a video thumbnails implementation for KDE4 based on
FFmpegThumbnailer.
This thumbnailer uses FFmpeg to decode frames from the video files, so
supported video formats depend on the configuration flags of ffmpeg.
This thumbnailer was designed to be as fast and lightweight as possible.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 334678] Thumbnails fail to generate for certain AVI files - infinite loop

Steve-2
In reply to this post by Steve-2
https://bugs.kde.org/show_bug.cgi?id=334678

--- Comment #2 from Steve <[hidden email]> ---
Hi,

I don't believe it's a missing dependancy as some AVI files correctly have
their thumbnails generated. I'm using Manjaro (an Arch derivative) and have the
kdemultimedia-ffmpegthumbs package installed.

The problem seems to be when it tries to generate a thumbnail and fails. Rather
than just fail gracefully it will continually loop and consume all the CPU.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[kdelibs] [Bug 334678] Thumbnails fail to generate for certain AVI files - infinite loop

Gilles Caulier-4
In reply to this post by Steve-2
https://bugs.kde.org/show_bug.cgi?id=334678

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Thumbnails                  |kimgio
            Version|3.5.0                       |unspecified
           Assignee|[hidden email]       |[hidden email]
            Product|digikam                     |kdelibs

--- Comment #3 from Gilles Caulier <[hidden email]> ---
Well the problem is located in video thumbnail generator, not digiKam...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel