Can't import .png sequence

Asked by Harold

My images sequence files are named as follows: anim00245.png, anim00246.png and so forth.

I have tried every combination of wildcards. I have tried your exact format and variations of it.
I am certain of the file path. I even moved the files into the path the dialogue defaults to.

The error says "At least 2 images must match the file name pattern in the selected folder."

I am able to drag a group of images and each has a 5 second duration. I need 1 image per frame.

Don't know what else to do. The video would end up being over 150 times longer than the music it is for.

Any help?

Harold

Question information

Language:
English Edit question
Status:
Solved
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Solved by:
Jonathan Thomas
Solved:
Last query:
Last reply:
Revision history for this message
Jonathan Thomas (jonoomph) said :
#1

Thanks for the question! Try this and let me know what happens:

anim%05d.png

Revision history for this message
Harold (prophetikos) said :
#2

I used your suggestion and it loaded - indicating the sequence is 00:01:39 long. When I add the sequence to a track and hit "Play" to check it, I get large white letters saying "INVALID". The clip appears to be playing, but no display of the video in the preview window. Just "INVALID". I went ahead and exported the video. It played, but all I saw was the word "INVALID" in large white letters. I loaded one of the images and it was a valid .png at 640x480 using RGB color. The images were rendered in Truecolor format by Xaos.

Hope the info helps. I was able to load an .avi and it played in the preview.

I appreciate the help. Hopefully it can be solved.

Harold

Revision history for this message
Jonathan Thomas (jonoomph) said :
#3

Hmmm... Ok, let's try this. Import your images into OpenShot. Hit the
"Play" button... so it shows the "Invalid" message. Then, open this file in
a text editor: /home/YOUR_USER/.openshot/westley.xml. It's an XML file
that contains the instructions on your project. Find your Image in this
file, and see if the "path" is correct for your image. See if anything
looks suspicous. If you don't see anything wrong with it, please email me
the westley.xml file (<email address hidden>).

Thanks!
-Jonathan

On Tue, Oct 20, 2009 at 12:33 AM, Harold <
<email address hidden>> wrote:

> Question #86284 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/86284
>
> Status: Answered => Open
>
> Harold is still having a problem:
> I used your suggestion and it loaded - indicating the sequence is
> 00:01:39 long. When I add the sequence to a track and hit "Play" to
> check it, I get large white letters saying "INVALID". The clip appears
> to be playing, but no display of the video in the preview window. Just
> "INVALID". I went ahead and exported the video. It played, but all I
> saw was the word "INVALID" in large white letters. I loaded one of the
> images and it was a valid .png at 640x480 using RGB color. The images
> were rendered in Truecolor format by Xaos.
>
> Hope the info helps. I was able to load an .avi and it played in the
> preview.
>
> I appreciate the help. Hopefully it can be solved.
>
> Harold
>
> --
> You received this question notification because you are an answer
> contact for OpenShot Video Editor.
>

Revision history for this message
Harold (prophetikos) said :
#4

Here's the content of westley.xml. The path to the images appears to be correct.
"paste"
<mlt>

<tractor id="tractor0">

<multitrack>

<playlist id="Background Track">

<producer id="Background Clip" in="0.0" out="2984.0">
<property name="resource">/usr/share/openshot/images/black.png</property>
</producer>
</playlist>
<playlist id="Track 1"/>

<playlist id="Track 2">

<producer id="anim%05d.png" in="0.0" out="2981.0" ttl="1">
<property name="resource">/media/HUMUNGO/fractalimages/anim%05d.png</property>
</producer>
</playlist>
</multitrack>
<filter gain="1" in="0" mlt_service="volume" out="2985.0" track="0"/>
<filter gain="1" in="0" mlt_service="volume" out="2982.0" track="2"/>

<transition in="0" out="2982.0">
<property name="mlt_service">composite</property>
<property name="a_track">0</property>
<property name="b_track">2</property>
<property name="geometry">0=0%,0%:100%x100%:100; -1=0%,0%:100%x100%:100; </property>
<property name="halign">centre</property>
<property name="valign">centre</property>
<property name="distort">0</property>
<property name="fill">1</property>
</transition>

<transition in="0" out="2982.0">
<property name="mlt_service">mix</property>
<property name="a_track">0</property>
<property name="b_track">2</property>
<property name="combine">1</property>
<property name="always_active">1</property>
</transition>
</tractor>
</mlt>
"end paste"

Revision history for this message
Jonathan Thomas (jonoomph) said :
#5

Are these images on a USB drive or external harddrive? If so, try copying
them to a local folder, and repeat this process. Nothing looks wrong with
the XML. Thanks!

On Tue, Oct 20, 2009 at 8:06 AM, Harold <<email address hidden>
> wrote:

> Question #86284 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/86284
>
> Status: Answered => Open
>
> Harold is still having a problem:
> Here's the content of westley.xml. The path to the images appears to be
> correct.
> "paste"
> <mlt>
> -
> <tractor id="tractor0">
> -
> <multitrack>
> -
> <playlist id="Background Track">
> -
> <producer id="Background Clip" in="0.0" out="2984.0">
> <property name="resource">/usr/share/openshot/images/black.png</property>
> </producer>
> </playlist>
> <playlist id="Track 1"/>
> -
> <playlist id="Track 2">
> -
> <producer id="anim%05d.png" in="0.0" out="2981.0" ttl="1">
> <property
> name="resource">/media/HUMUNGO/fractalimages/anim%05d.png</property>
> </producer>
> </playlist>
> </multitrack>
> <filter gain="1" in="0" mlt_service="volume" out="2985.0" track="0"/>
> <filter gain="1" in="0" mlt_service="volume" out="2982.0" track="2"/>
> -
> <transition in="0" out="2982.0">
> <property name="mlt_service">composite</property>
> <property name="a_track">0</property>
> <property name="b_track">2</property>
> <property name="geometry">0=0%,0%:100%x100%:100; -1=0%,0%:100%x100%:100;
> </property>
> <property name="halign">centre</property>
> <property name="valign">centre</property>
> <property name="distort">0</property>
> <property name="fill">1</property>
> </transition>
> -
> <transition in="0" out="2982.0">
> <property name="mlt_service">mix</property>
> <property name="a_track">0</property>
> <property name="b_track">2</property>
> <property name="combine">1</property>
> <property name="always_active">1</property>
> </transition>
> </tractor>
> </mlt>
> "end paste"
>
> --
> You received this question notification because you are an answer
> contact for OpenShot Video Editor.
>

Revision history for this message
Harold (prophetikos) said :
#6

I copied a portion of the images to my local drive. Same results. I can load the sequence but comes up with the same invalid message when I try to preview. There are no other files in that folder. Installed another program and the sequence loaded and ran, so I am certain there is no issue with the image files themselves. I am still interested in this program and would like to follow this to conclusion.

Revision history for this message
Best Jonathan Thomas (jonoomph) said :
#7

Harold, I think I figured it out. MLT considers the image sequence over once it finds a gap of 50 of more numbers. So, if your image names started with anim00001.png, it would work fine. However, if they start with anim00245.png, it would never load the image sequence, since MLT would count from 00000 to 00050... and then terminate the sequence. To confirm this, rename a few of the image files into a new folder (starting with anim00001.png), and see if it loads that image sequence. I bet it will. Thanks!

Revision history for this message
Harold (prophetikos) said :
#8

That was the trick. I renamed a few and it imported and played fine. I will have to find a batch renaming utility. Also, I figured out why the number in %5d - appears the number of places in the number portion. Thanks for the help and the great program.

Harold