After a clean install, OpenShot hangs on preview, must reinstall to "recover"....

Bug #489748 reported by barkman
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Invalid
Undecided
Unassigned

Bug Description

This may be related to or possibly the same as some other bugs reported, but my symptoms seem more severe; so I opened a new one.

System:
Quad-Core HP with 8G memory
750G Disk; ATI Radeon HD 3200 Graphics

Clean install of Ubuntu 9.10 64bit Karmic

Installed OpenShot via PPA
deb http://ppa.launchpad.net/openshot.developers/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/openshot.developers/ppa/ubuntu karmic main

- OR-
Installed OpenShot via DEB

I did NOT try the Source Code Tarball (...long weekend nearly gone...)

I also tried the binary ATI driver in addition to the default open source ATI driver.

Everything seems to install perfectly. Trouble occurs after importing a video file and previewing (no scrolling of the preview location bar required). After a few seconds, one of the CPU cores goes to 100% and OpenShot is no longer responsive. Sometimes OpenShot can be closed; often times it must be killed.

Rerunning, OpenShot will open and hang again in a few seconds.

The 1st file I imported was from my Cannon HF200 (.MTS) which was about 2G in size; since that is what I wanted to edit. I went through this 3 or 4 times with various reinstalls of the OS, OpenShot or both with the results always the same. Switching video drivers made no difference.

I did not try one of Jonathan's sample files; I will try that next time I reload from scratch.

The last time I tried a simpler .avi file and got the same results.

I would have tried more variations if it didn't take so long to reload everything from scratch.

If I remove and re-install, OpenShot hangs seconds after being opened.
(apt-get remove openshot; apt-get install openshot)

If you can tell me how to get this cleaned up without reinstalling from scratch, I can do more to isolate the problem.

It seems other folks are using OpenShot to actually edit videos; this is amazing to me after my experience. This has been going on since Wednesday, if you include some Ubuntu weirdness that I had to deal with.

Also, I ran OpenShot from the command line, but there were no messages printed on the console. I searched the file system, but could not find any log files that related to OpenShot.

Revision history for this message
Andy Finch (fincha) wrote :

If you can bear the thought of doing another install I would try the following:

1. Uninstall Openshot & dependencies.
2. Remove the Openshot developers PPA.
3. Check there is nothing left behind (especially MLT related).
4. Add the new experimental PPA (details here https://launchpad.net/~jonoomph/+archive/openshot-edge).
5. Install Openshot from the new PPA.

The new experimental PPA uses default Ubuntu packages for MLT/FFMpeg.

I don't know if there are specific problems using ATI cards - I haven't heard of any, and I use NVidia.

If it still hangs up, you should try playing your video files directly with the MLT & FFMpeg players -
melt videofile.mts
ffplay videofile.mts

(you may have to install the melt player. Also check the syntax, I haven't double checked it.)

Revision history for this message
Andy Finch (fincha) wrote :

Also you could try deleting the pid.lock file in the ~/.openshot folder after it hangs - that may stop you having to reinstall (maybe).

Revision history for this message
barkman (jbmongo) wrote :

Thanks Andy.
Does 'apt-get remove openshot' get all of the dependencies? Do I need to anything to get the default Ubuntu MLT/FFMpeg packages back in place? I guess that if Totem or mplayer runs again, the packages are back...

Removing the pid.lock did not help in this case.

Revision history for this message
barkman (jbmongo) wrote :

Andy,

Thanks for your helpful suggestions!!!

The new experimental PPA (OpenShot 0.9.54) does not hang while previewing any of the files I tried. I tried .avi, .mpg and .MTS; all but the .MTS file played okay in the preview window. The .MTS file stuttered, probably because 1 2.3GHz CPU core is not powerful enough to play a 1920x1080p without video acceleration. Using 'melt' to play the file stuttered in the same way.

ffplay (ffmpg)(and melt) were not installed by Ubuntu or OpenShot. melt installed okay, but ffplay (ffmpeg) failed during the installation.

Revision history for this message
Andy Finch (fincha) wrote :

Glad you're up & running. A single core will probably struggle with MTS files.

Changed in openshot:
status: New → Invalid
Revision history for this message
barkman (jbmongo) wrote :

Andy,
I am a big nvidia fan too; especially since I got into mythtv in 2004 or 2005. This HP system has a modern ATI subsystem built in, so I was using it until there is some reason to change. These .MTS files will play on very slow computers with a new nvidia card with VDPAU installed and won't play on my fastest system without acceleration. Do you know if MLT supports VDPAU or any other hardware acceleration? Googling 'MLT acceleration vdpau' etc, didn't find very much.
Thanks, +John

Revision history for this message
Andy Finch (fincha) wrote :

I doubt Dan @ MLT has got round to that - there is a todo list somewhere on the MLT site, you may want to check that. You may also want to use our new forum rather than Launchpad for general questions.

http://openshotusers.com/

Thanks,
Andy.

Revision history for this message
Dmitry Kruglov (info-midisa) wrote :

Not starting

midisa @ midisa-desktop: ~ $ openshot
--------------------------------
   OpenShot (version 1.1.3)
--------------------------------
Process no longer exists: 2238. Creating new pid lock file.
A new frmMain has been created
Segmentation error
midisa @ midisa-desktop: ~ $

Revision history for this message
Olivier Girard (eolinwen) wrote :

Hi,
It is a little weird like explanations. First, Check all your dependencies like it is explained here : http://openshotusers.com/forum/viewtopic.php?f=12&t=372
And also the frei0r-plugins who are not installed can explained this situation.
After if you have always this problem could you give us more explanations (i.e. your system, your version of mlt, ....)
Thanks.

Revision history for this message
Andy Finch (fincha) wrote :

And check your version of libcairo2 - it must be the version from the Ubuntu repository, not a PPA.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.