Bug 506555

Summary: Cannot import a Macromedia/Adobe SWF despite being listed as supported
Product: [Applications] kdenlive Reporter: rodoci6722
Component: Project Bin & ImportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The swf example file and flatpak logs when launched via konsole

Description rodoci6722 2025-07-03 19:59:07 UTC
Created attachment 182908 [details]
The swf example file and flatpak logs when launched via konsole

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Sometimes I still like to use Macromedia Flash 8 for nostalgia reasons, but I'm sure this issue applies to anyone using CS3->CS6 as well. If you click to import a video clip or image sequence, and select filter to "All supported files", the swf file will show up. Yet it prints back "cannot open [filepath].swf"

I've tested this on Microsoft Windows build, the GNU/Linux appimage as well as the Flatpak build. All 3 give the same results. I'll attach here a zip file containing the swf example which is just a simple motion tween and the log if there is anything of value in it.


STEPS TO REPRODUCE
1. Click "Add clip or folder" button
2. Go to the directory where the swf file is located.
3.  Double click it.
4. See resulting message.

OBSERVED RESULT


EXPECTED RESULT
The .swf file was imported and I can use the video contents in kdnelive


SOFTWARE/OS VERSIONS
Windows: 11
macOS:  N/A
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Flatpak and AppImage
KDE Plasma Version: N/A
KDE Frameworks Version: N/A 
Qt Version:  N/A

ADDITIONAL INFORMATION
None that I know of.
Comment 1 Jean-Baptiste Mardelle 2025-07-11 07:31:21 UTC
swf support comes from FFmpeg. Unfortunately, only some swf files are supported. For example this one works:
https://filesamples.com/samples/video/swf/sample_640x360.swf

I think some swf files contain audio/video streams readable by FFmpeg, some do not. Nothing we can do here, sorry.