OpenShot tries to Open but doesn't

Asked by Sarah Weeks

When I try to open OpenShot, a terminal window pops up saying

Loading OpenShot version 0.8.2

A larger window pops up in front of it titled OpenShot.py

in the terminal window it says something about a new frmMain has been created,

but then both windows close.

What should I do?

Question information

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

I'm not the person to solve your problem, Jonathan will hopefully be able to do that.

But he will need to know the following:

1) What distribution of Linux are you using, and what version?

2) What answers did you give in the install wizard, especially whether 1, 2, or 3 for the ffmpeg question?

3) Have you tried the tests recommended by the install wizard?

Especially have you tried the following commands:

melt -query producers

This should show a list with the word avformats in it.

And try starting python on a terminal command line eg type:

python

Then on the python command line type the words "import mlt"

>> import mlt

hit return

if any error comes up, add that information too.

Many thanks, Helen

Revision history for this message
Sarah Weeks (aria-miakoda) said :
#2

Thanks~

Distribution: Ubuntu 8.04, 32-bit

Answer for the ffmpeg question: 2

ffplay PATH_TO_A_VIDEO did open a new window and play the video file

When I tried melt-query producers this is what I got:

Producers:
-melt
-melt_file
-xml
-xml -string
-pango
-pixbug
-frei0r.ising0r
-frei0r.lissajous0r
-frei0r.nois0r
-frei0r.onecol0r
-frei0r.partik0l
-framebuffer

I know it needs to have avformat, but i don't know how to fix that.

for the
$ cd ~/mlt/demo
$ sudo bash mlt_watermark

I got this:
failed to load "clip2.dv"
failed to load "watermark1.png"

when i typed python i got

Oython 2.52 (r252:60911, July 31,2008 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

import mlt didn't work there ( i didn't think it would but i tried it anyhow)

After that, when I tried to open OpenShot typing
python (file path)

I got this again:

Loakding OpenShot (version 0.8.2)
-----------------
A new frmMain has been created
Segmentation fault

Anything else you need to know?

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

Sarah, thanks for the info. This seems to happen to quite a few people installing OpenShot and I've yet to figure it out. FFmpeg has to be installed in a specific way... and then MLT has to link to it when compiling. If that magically happens, then everything works wonderfully. If that fails, you get the seg fault... which you are familiar with.

You might have already tried this, but I would do the following steps:

1) Be sure you don't have any FFmpeg packages installed in Ubuntu (using Synaptic). Be careful with this step... I don't want you to wreck your Ubuntu install. =)

2) Re-run the build wizard (with the newest version: 1.0.3) with each of the FFmpeg options (1, 2, and 3). Each time you finish the wizard, check melt -query producers to see if "avformat" is listed.

3) If you see "avformat" in the list, everything worked, and OpenShot should now run. If none of these options result in "avformat", then we'll continue trying to figure it out.

Keep your eye open for any errors (I mean anything that looks suspicious) when the wizard is building FFmpeg. Please post any errors you find. I'm sure there is an error hidden somewhere... it probably just scrolls off the screen too quickly to read.

Good luck!

Revision history for this message
Sarah Weeks (aria-miakoda) said :
#4

It didn't work, but I tried looking for some errors - no idea if they are really errors, they just deviated from the usual look of the flow to me.

E: couldn't find libavdevice-dev

Something about configuring WITHOUT asm or sometimes yasm

ERROR: libx264 not found

and something about config mlt w/ --avformat-svn.

(sorry if this isn't very clear, I was taking hurried notes)

I don't know if this is important but you said "FFmpeg has to be installed in a specific way... and then MLT has to link to it when compiling. " If i remember correctly, it seemed that the part with MLT would happen before the ffmpeg part.

~Thanks

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

Sarah, thanks for the info. What kind of CPU are you using? A Core 2? Also, the libx264 error is probably what's breaking everything. That source code will not compile on certain CPUs, without some work.

Revision history for this message
Sarah Weeks (aria-miakoda) said :
#6

I have a Intel Pentium 4 CPU, not a dual core.

Revision history for this message
Best Helen McCall (wildnfree) said :
#7

Hello Sarah

We are just testing some new .deb packages of the libraries and of OpenShot. These should hopefully cure your problem.

Keep checking the OpenShotvideo.com site to see when we release the debian packages for Ubuntu.

Best wishes, Helen McCall

Revision history for this message
Sarah Weeks (aria-miakoda) said :
#8

Thanks Helen McCall, that solved my question.