Blender file png sequence cannot be imported
On ubuntu
openshot version 2.5.1
Giving me the File
Importing individually works, with alpha channel... So something wrong with the sequence importer
edit: details
~Found out what is preventing the import~ : ~ZEROS "0" in the filename!!!~ NOPE, see other comment below
This is a major bug !
my files were named 1070.png, 1071.png, 1072.png, etc... I tried with thoese 3 files ...
I renamed files 1.png, 2.png and 3.png and it imported successfully, and without giving error messages !
Thanks for your great product but you need to check you filename parser to make it support normal and legal filenames!
(or just offer to "import all selected files" as a sequence ordered alphabetically, without your auto-importer, which seems flawed...or some more simple and less gimmicky way to import a bunch of image files as a sequence)
Hope this helps! You guys rule!
OOPS ! MY BAD : It had to start at 1, or 01, or 001 or 0001... it cannot start with say 0040 - its ok to have letters before the number though. like a001.png is ok, but a sequence import will error out if trying yo start a sewquence not at "1" .. like "myfile040.png" will crash an import ., but startging a sequence with "myfile001.png" is ok !
Found it! :)
Now you guys know what the bug is !
Again, thanks for your nice product! openshot rocks! (now go fix that bug lol)
That's not actually a bug, it's an FFmpeg limitation. If the starting frame number is > 4 it will refuse to recognize the import as a sequence. I agree it would be nice to have better error information displayed in those cases, though.
There are already changes in the development code that haven't been released yet. They might improve on this case, but I'm not super confident about that. Mostly they just improve the detection algorithm for valid imports.
These cases are tricky since we don't ever actually open the files in the sequence, we just figure out the pattern for the names and pass it to FFmpeg, which does the import (or doesn't, if it feels like being difficult). I could enhance the detection to only detect a sequence if it finds a file numbered 0-4, but then it would just ignore cases like yours completely. Then you wouldn't have any indication at all what the problem might be.
I don't really like the idea of "possible image sequence" detection that displays messages about files that aren't a valid image sequence but look like they might want to be -- that just sounds way too messy and liable to annoy users popping up messages about false positives.
But maybe the current imperfect system can be enhanced with a message in the failure dialog that lists possible reasons an import would fail, that way at least the user has some information they can act on.
Being an "ffmpeg limitation" which is hidden under the 'import image sequence' functionality of openShot, makes it look and feel 100% as a bug. Just sayin'.
If I may suggest: Having the simple limitation : (it's an FFmpeg limitation. If the starting frame number is > 4 it will refuse to recognize the import as a sequence.) stated clearly in the dialog (the "CTRL+F" dialog AND the "import as sequence" dialog ) would be such an improvement!
for anyone like me, who happened to have a rendered output of image sequence (from arbitrary numbers) and is confronted by a dry and unhelpful error message that just says 'file type not usable audio nor video or image file'. and wasted an evening investigating this apparent bug, this small change would be great!
It's a very small string of text to add into those dialogs but which will greatly improve the user experience. Many people who have a series of images, lets say, from 10 to 20, instead of 1 to 10, will try to import on their first try of openShot, fail, and uninstall right away. (as importing sequences it is a basic feature of video editors)
So please make this small change and push it to the master branch, and crank up the minor version number of openShot :)
Thanks man! you rock! Edit: typos
Please unassign me from this issue, thanks.