Summary: | Online Resources widget: no thumbnails? | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | Gabriel Gazzán <gabcorreo> |
Component: | User Interface & Miscellaneous | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | balooii, berndmj, fritzibaby |
Priority: | NOR | Keywords: | triaged |
Version First Reported In: | git-master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Online Resources widget without thumbnails
Search pending... Search failed HTTP Freesound importing problem Search Filters mockup |
Description
Gabriel Gazzán
2025-05-10 07:35:37 UTC
I cannot reproduce. I see thumbnails for all resources. We're using free 3rd party APIs here so I wouldn't be too surprised if they throttle us or are not perfectly reliable/slow at times of high load. Thumbnail loading takes roughly the same time for each source I tested but overall pretty slow / laggy. I can visually see each thumbnail loaded one by one so I suspect we don't load them in parallel. Will check the code, maybe we can speed this up. Ohh... thanks for checking it out! Maybe something in the Windows version of Kdenlive? I checked it with another Windows user and he didn't see thumbnails either... Hmm, I don't see any platform-dependent differences. Maybe its related to your location. If you can, try using a different IP address. For example you could use a VPN, or connect from another WiFi or maybe open a hotspot on your phone. Did anybody change something in the code? Because I've just downloaded the latest daily (from 2025-05-11) and now thumbnails are working great on this side. :) On the other hand, Freesound searches seem to be currently broken, though. (attached images with returned messages during a search) Thanks!! Created attachment 181188 [details]
Search pending...
Created attachment 181189 [details]
Search failed HTTP
One thing I noticed is that, in a new project, when there is no element selected in the Project Bin, the downloaded resource is placed inside the "Sequences" folder. "Internet Archive Movies" service doesn't display thumbnails, I haven't tried it before. (I don't know if that service should have them or not, though) Something I noticed, that perturbs the workflow, is that after importing a downloaded resource, the focus is placed in the Project Notes widget, instead of in the Project Bin. So, it's not immediately possible to hit Space to play the video, and go directly to mark some (I)n and (O)ut points, and insert(V)/overwrite(B) the resulting zone in the Timeline, for example. Git commit 17b348c2d8dc2fdaafe85f26bd2bd09cbff3579c by Jean-Baptiste Mardelle. Committed on 12/05/2025 at 05:35. Pushed by mardelle into branch 'master'. Resources widget: add abort button and don't add clips in sequences folder M +4 -1 src/bin/bin.cpp M +22 -11 src/onlineresources/resourcewidget.cpp M +4 -1 src/onlineresources/resourcewidget.hpp https://invent.kde.org/multimedia/kdenlive/-/commit/17b348c2d8dc2fdaafe85f26bd2bd09cbff3579c I'm on Windows. I can see thumbnails in all three online resources. @Gabriel. Could your firewall block the access? (In reply to emohr from comment #11) > I'm on Windows. I can see thumbnails in all three online resources. > @Gabriel. Could your firewall block the access? Thanks for trying it out. But, no, it was not a firewall problem. I'm, too, able to see thumbnails correctly now. (In reply to Jean-Baptiste Mardelle from comment #10) > Resources widget: add abort button and don't add clips in sequences folder - Imported clip not added to Sequences folder anymore. - Now, audio thumbnails are also shown. Great job! :) While trying to Import an audio file from Freesound service (being logged in the site), I just couldn't: - I pressed Import button in Online Resources widget. - it redirected me to the site. - an error message appeared in the web page. Here's the link, Kdenlive sent me to for that sound: https://freesound.org/apiv2/oauth2/authorize/?client_id=fFo1lNyrTSJDp5PAGgKg&code_challenge=CwkZLQB0YBkK2ByzkYZTKWeDg8zcFoPAJrkV54Uqh-M&code_challenge_method=S256&redirect_uri=http://localhost:1337/&response_type=code&state=DClKBZ_7 (attached image) P.S. Independently of the above mentioned problem. It'd be just great if in Kdenlive's config the user could enter login/pass for Freesound, so the whole operation could be completed from inside Kdenlive, like with the other services. Created attachment 181215 [details]
Freesound importing problem
(In reply to Gabriel Gazzán from comment #8) > "Internet Archive Movies" service doesn't display thumbnails, I haven't > tried it before. > (I don't know if that service should have them or not, though) I couldn't manage to import anything from that service, either. The "Import" button doesn't seem to start any action, nor does it present any error message. I can confirm (under Windows): Freesound: download works only if you are login on the freesound page Internet Archive Movies: doesn't display thumbnails and download doesn’t work. Some files are locked but even the unlocked files you cannot download by Kdenlive. (In reply to emohr from comment #17) > Freesound: download works only if you are login on the freesound page How's your workflow for doing that from Kdenlive? I'm logged in to Freesound, but just get to an error page, when pressing the Import button in Kdenlive. Same here. Login to Freesound -> choose a sound in Kdenlive -> click on import -> error message on the opened webpage. When I click in Kdenlive on the sound link (top right) it opens the Freesound page and I can download the sound. ah... ok. thanks I'd like to take the opportunity to list here some ideas for future improvements in the Online Resources widget (and its experience, in general) that I think could be welcome: - A message: "Downloading thumbnails...", useful for slow-connection users (maybe it could be displayed after some seconds, if they are still downloading?) to let them know thumbnails are coming. - When a resource is already being previewed in the Monitor, and a second click is performed on the "Preview" Button don't download the resource preview again (perhaps just replay it from the start? or do nothing at all). - To have an "Online Resources default folder" setting in Config (much like the current Capture default folder), to streamline the download experience. So, by just pressing the "Import" button, the imported resource would be downloaded to the predefined folder and loaded in the Project Bin. - To have some Filters, for narrowing down the results. I've researched a bit and found that both Pexels and Pixabay, support the following filters while searching: a. Orientation (landscape/portrait) b. Size (large/medium/small videos:4K/1080/720 images: 24MP/12MP/4MP) c. Color (for images only), look for images with that predominant color (I've attached a mockup of the widget with such filtering options) ...and some already posted above, added here for just convenience: - Move focus to out of Project Notes after the import operation is concluded, to allow use of keyboard shortcuts. - Improve Freesound previewing speed (currently at some 15~17 seconds after pressing Preview button. - Allow importing resources from Freesound, by pressing Import button. - "Internet Archive Movies" service; apparently not previewing nor importing is possible. Created attachment 181269 [details]
Search Filters mockup
|