Ubuntu Multimedia :: OpenShot - Cannot Import Name Main
May 5, 2011
Openshot appears to be dead, clicked the launcher nothing happened. Starting it in the terminal produced the following error messages:
$ openshot
ERROR 1
Failed to import 'from openshot import main'
Error Message: cannot import name main
OpenShot (version 1.3.1)
Process no longer exists: 10436. Creating new pid lock file.
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1: .....
I'm trying to use Openshot video editor but it doesn't start, I have tried to uninstall all other video editor (kdenlive, cinelerra) cancel and re-install libraries (mlt, melt, ffmpeg...)
I installed openshot, looks like it will have everything I need, but I can't get my clips on the timeline track. I can import my files no problem, they all show up in the preview pane, but when I drag them to the timeline track the don't add. I am running ubuntu 9.10, I installed openshot following the instructions on the openshot webpage.
I eventually did buy a Terra HD from Zareason that I love, but I cannot get it to do my video editing of Flip Mino home videos. I know the machine is capable. It plays bigger AVI files without any problem. For sound it uses the Realtek chipset. Samples of the .avi Flip Mino videos are here. A nice short one for experimenting with is 2.3 MB, here. According to Avidemux, the Flip Mino videos have the following video properties...
Codec 4CC: XVID Image Size: 640 x 480 Aspect Ratio: 1:1 (1:1) Frame Rate: 30.000 fps and the following audio properties...
My goal is simply to trim the beginning and end to get the best segment in each home movie. Avidemux worked great on my old machine as long as I changed the output audio format to MP3(LAME). But Avidemux is not working and wants to know all sorts of things about devices of which I am ignorant. The default settings must be wrong since the audio playback is choppy and usually the video saves to a one-frame broken file.
I also tried Openshot and it has no device preference issues. However, I am ignorant of how to make it save the videos properly. It wants to "export" the video using all sorts of options, none of which are simply "use the setting for the only track". Based on the 640x480 size I tried some Square NTSC tests but the exported file was always much too big -- usually larger than the untrimmed original!
Also, Openshot appears to lack a keyboard shortcut or button for "move the beginning or end of the clip back or forwards one frame". Is it really expecting me to use the mouse to position the clip's borders precisely? I have no vested interest in which software is used. Nor do I care about the resulting file format as long as it is neither wastefully large nor senselessly abandoning quality. I just want to share my home movies with friends and family.
When I run openshot it spits out this: Code: Added /usr/share/openshot to system path OpenShot (version 1.0.0) *** ERROR: MLT Python bindings failed to import *** *** ERROR: MLT Python bindings failed to import *** Error: OpenShot has not been installed in the Python path. (Both the site-packages and /usr/share/openshot folders were checked)
Use the following command to install OpenShot: $ sudo python setup.py install Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner self.run() File "/usr/share/openshot/classes/thumbnail.py", line 174, in run mlt.Factory().init() NameError: global name 'mlt' is not defined
Although I am an obsessed Ubuntu user, I am also a realist. When I have to give a presentation, I often have to use someone else's computer, and that system invariably runs windows. So when presenting via Powerpoint with embedded video on a default windows install, I need to be certain that the video format will play correctly. It is hard to convince windows users that Ubuntu is better if your videos/slides/documents etc don't play nice with their setups.
I have used kdenlive before (on OpenSuse) and it has a wmv export profile which works, but I was really hoping to sort this out using Ubuntu.
export settings or profiles in OpenShot that will definitely work for me??
I know that Openoffice Impress on Ubuntu plays every format I've ever tried flawlessly -- but when you give a talk somewhere you are often using someone else's computer and it is usually windows
I have recorded some video, and now wanted to add some sound.I added a sound track, but when it's playing, I can't hear anything.I'm usually running Jack - for Ardour/Hydrogen etc... - I can't find anywhere in OpenShot to change the Audio to Jack, so assume it's not supported.I have killed Jack in the hope that Alsa will work with OpenShot, but still I have no sound.
I've been using gtk record my desktop, which does a very good job and records nicely as a .ogv. The problem is, the Openshot editor doesn't appear to support .ogv files, which means I have to find some way of converting the .ovg to something Openshot can use. Having used both Pitivi and Arista to re-encode the file, I find the picture quality suffers some substantial loss by becoming noisy.
So, can anyone suggest: 1. A way to get Openshot to recognise .ogv files natively? or, 2. Suggest another screencast program that records to a high quality file that Openshot understands? or, 3. Suggest a video editing program that can open and work with .ogv files, allowing the addition of music and titles (text), and then save to a high quality file like mp4?
I have a video - taken on my mobile phone. In totem, I get sound and video: lovely. However, in Openshot I don't get sounds, and in WinFF it tells me "Unsupported codec (id=7372" for the audio stream. Why, when both are using FFMpeg do the installed codecs work differently in different programs?
I've been using OpenShot before with no problems at all, I then formatted and Dual booted Windows 7 and Ubuntu 10.10 and now I have a little problem. I've downloaded and installed OpenShot 1.2 via Software Center and installed LAME Mp3 codec via Terminal
Code: sudo apt-get install lame Everytime I try to export a video I've created in OpenShot I get this message. "The following formats/codecs are missing from your system: libmp3lame. You will not be able to use the selected export profile. You will need to install the missing formats/codecs or choose a different export profile."
I checked the codec in OpenShot and it's missing, I opened Synaptic to search "lame" and sure enough, it's installed version 3.98 so I tried reinstalling lame mp3 via Synaptic and still no audio codec is there in OpenShot when I click Refresh Codec. I have now tried reinstalling OpenShot with the codec already installed and still nothing, as well as uninstalling both, restarting the computer.
And then installing codec then OpenShot and vice versa for installation and STILL nothing is happening. I googled OpenShot LAME Mp3 codec problems and I can't find a single thing. OpenShot was working flawless before I dual booted and now it wont work at all, every single video format I can use, it's telling me I need the codec for it, which I have but OpenShot tells me I don't.
my goal is to record video using a canon powershot camera, edit the avi file on my ubuntu 10.04 computer, then upload the rendered file to videos.
problem is that when i cut the video, the audio is no longer in sync with the video, it's off by about 1-2 seconds. this happens with both openshot and pitivi, so i suspect that it's caused by a bug with the codec. (files are avi with mjpeg codec). after searching launchpad, this is apparently a "known issue". that's great but for now i need a workaround.
i do have an old g4 powerbook with imovie hd v6 on it that i can use, but i'd prefer not to because:
1. the powerpc mac is much slower than my new dual core laptop 2. imovie compresses my videos too much so the rendered file is lower quality 3. i simply prefer openshot to imovie
i was thinking of preprocessing my avi files by converting them to another format with a non-buggy codec on linux. i downloaded ffmpeg, but not sure how to use it and what format to use. would mpeg2 be a safe one to use?
I am getting this error when I try making an animated title.
Code:
Please check the preferences in OpenShot and be sure the Blender executable is correct. This setting should be the path of the 'blender' executable on your computer. Also, please be sure that it is pointing to Blender version 2.5 or greater.
Found a weird issue with Openshot video editor ( Gnome, squeeze amd64 ) version 1.1.3-1 ( stable ) but it also applies after upgrading to version 1.3.0-1.1 ( from sid ).
After starting Openshot there are icons ( and tabs ) missing on the toolbar :
After hovering my mouse-pointer :
After ( in menu ) : View > uncheck Toolbar and again View > check Toolbar :
Choosing another gtk-style in gnome-appearance-properties : Theme > Customize... > Controls seems to solve it. I've checked different Controls, some have the same problem and others don't.....
I was having some trouble trying to get video editing directly with Theora OGVs on Ubuntu 10.04. To be honest, the default Lucid video editor Pitivi (which is a front-end for gstreamer) actually works fine with ogv - but you cannot do video overlays (compositing) in Pitivi. So I looked at Cinelerra, LiVES, OpenShot and Kdenlive as editors that may offer overlays/compositing. They can all be sudo apt-get install-ed, but none of them wanted to run properly with ogvs - especially the ogv video preview didn't work. Looking for a solution, the following bugs came up:
Bug #574457 in mlt (Ubuntu): �melt displays and renders garbage while playing .ogv in ubuntu 10.04� Bug #535018 in openshot (Ubuntu): �Openshot cannot playback ogg video� Bug #566781 in OpenShot Video Editor: �Imported Ogg Theora file shows corrupted video in OpenShot 1.1.3�
[code].....
However, since it doesn't seem a bugfix will be released for Lucid - that pretty much means only one thing, if we want video editing of ogv in Lucid: build from source. If we build all dependencies for Theora ogv video from the latest source: melt
ffmpeg vorbis theora ogg
then, in principle, working with ogv in Openshot and/or Kdenlive should (and does) work - if these video editors are directed to use these new binaries (built from source). Note that Openshot is basically a python frontend for melt, and it does not need compiling as such (though some precautions should be taken, see below) - so once the above sources are built, a test with Openshot can be done. I used for building these sources is HOWTO: Install and use the latest FFmpeg and x264 - Ubuntu Forums This HOWTO uses checkinstall in order to generate .deb packages from source, which are then installed into the running OS, to allow for satisfying of dependencies. I'd like to keep my system 'vanilla' clean, and experiment with sources outside of my system (i.e. as in a "portable installation") - and this post outlines that approach.
Basically, we download the sources, and build them in order of dependency - and since ogg/vorbis/theora source already uses it, we can use pkg-config to configure some other source dependencies as well: by writing *-uninstalled.pc files in respective source directories; and then adding these directories to the PKG_CONFIG_PATH environment variable. However, some manual changes to source files will be needed too. Finally, for each source package, we will run only 'make', but not 'make install' - and then in the end, we will collect all binaries (libraries and executables) in a single folder; and add a couple of scripts, that will setup an environment referring to these binaries, so that Openshot/Kdenlive (when called from this environment) may work correctly with ogv. The full list of sources built using this approach are: ogg
vorbis theora
[code]....
Both x264, and libvpx (for VP8/WebM), have been added as recommended in the HOWTO; while Ogg Video Tools are added mostly for the (relatively new) tool oggTranscode. The approach to building these sources is given below, in the form of a commented bash script - since its quite big, it is included in the reply to this post.
References: Xiph.org: Subversion Access oggvideotools/trunk/README Compiled libogg but libvorbis can't find libogg during ./configure - Linux Forums
The one in upstream has problems, but reading the bug reports provided the answer. I disabled the building of the python2.5 modules, and added python-httplibs2 as a Depends, and it magically started to work. Deb file and source: [URL] This is a temporary location, I'm sure upstream will have a fixed version soon.
I've recently installed 10.04 and everything is fine except Rhythmbox.It merely won't add to media library any music file on smb shares I'm using Ubuntu almost all the time and deadly won't to be able to listen to my music on the server
I have Rhythmbox installed in 10.04 on a fresh install with all current updates. I have the FLAC and FAAD libs installed and gstreamer-plugins-ugly, plus the default set of plugins that come with Rhythmbox in 10.04. All my music is stored on a self-built NAS running FreeNAS and serving files over SMB. This NAS has been in use for more than 4 years and has worked flawlessly with all my Windows machines using Winamp as a music player frontend. I can mount the SMB chare in 10.04 and I have no trouble browsing my music files/folders on the NAS.
However, if I try to import the music stored on the NAS using Music > Import Folder... nothing happens in RB. Even dragging and dropping individual music files from a nautilus browser window does not work (nothing happens). Most of the files are FLAC with some MP3's. All music is organized as artistalbum racks. My music collection is a bit more than 16k songs (about 95% are ripped from my own CD's). All tracks are properly tagged. There are no error messages, just nothing happens when dragging tracks into the library or using the Import Folder menu item.
I am running the latest version, 10.04 and I am having problems importing music from my XP share. I can see my music in smb://squirrel/music The share on XP has full read/write perms. I then go Rhythmbox - Music - Import Folder and click on "music on squirrel" in "places" and I can see all of my dirs on the XP share. I then click on one directory and click "open" and Rhythmbox goes back to the main screen and there is nothing in Library - Music or anywhere else.
Whenever I import a CD each track is displayed twice in the library (but only one mp3 file is made) with one track displayed as being a few seconds longer than its duplicate.
I have run into this problem that really bugs me now.
I have installed mediatomb on my Ubuntu box, and it has been working fine for a while now.
This morning I installed 'Gnome subtitles', and had to wrestle a bit with is to make i work (gstreamer-stuff).
Now all of a sudden, my good old mediatomb has begun to seg-fault on importing new videos.
I have tried the following:
run ffmpeg -i -> no errors run ffmpegthumbnail -> no errors disable all transcoding in config.xml -> no fun disable thumbnails in config.xml -> no fun switch to mysql DB - tables are created all right, but still -> no fun
I just noticed Banshee is the new default player in Natty so I decided to move over my music and radio stations.The media import worked for my few mp3s (only have a couple on here) I have but my radio stations did not import. Since I mostly listen to the radio while on the computer (ipod when I am not), I bit the bullet and recreated all my radio stations by hand.
Most worked but a few of my favorites do not.BBC World Service did not work so I launched Rhythmbox since it is still installed and BBC and the other stations played fine.Searching around the net it looks like Banshee had problems with BBC before since it is an .asx type link but that was supposed to be fixed in one of the 1.x releases.I found Vermont Public Radio hosts BBC World in a different format but my other stations are out of luck unless I stick with RB for now.
I have a Hitachi HDD Camcorder here that I'm trying to import video from that was taken with the camcorder. I cannot seem to figure it out. If I plug in USB nothing happens. Nothing mounts... just nada. The same thing happens with Windows XP as well. What can I do to import this video?
Background: I'm digitizing an old record. I used Sound Recorder to make FLACs of each side of the LP, and now I need to edit them down to individual tracks. I'm using the development version of Ubuntu 10.04.
Problem: Audacity ignores these FLAC files when I attempt to import or open them.
The FLAC files play if I hover the mouse over them in GNOME.
Audacity gladly imports FLAC files I ripped from CD last year (using Sound Juicer I think).
But when I try to do the same for my recorded FLAC files, nothing happens. I tried running audacity in a terminal window, and there is no additional output when I attempt the import. This comes out when I start it:
Looking at the file properties, they're basically the same except the Juicer-generated file has values filled in for title, artist, album, year. They are all FLAC Stereo 44100 Hz. I thought it might be a file-size problem, so I made a 5-second test with Sound Recorder, and that also refuses to import.
So, why do only the ripped files work with Audacity?
I have been trying to get video import to work on Xubuntu 1104 for nearly 2 weeks without success. All I am trying to do is to drag video from my Sony Digital 8 Handycam via firewire onto my PC for safekeeping and editing.
- Installed Kino, then found it did not work because of a permissions error. Used gksudo to get around that then found it was giving me a firewire error..raw 1394 kernel not loaded or failure to. Did a load of research and de-blacklisted the ohci drivers. Also installed dvgrab to make sure this aspect worked ok
- Used the list command to determine that the PC could see the firewire card, all OK
- Went back, using gksudo, etc to drag the video files in, same error as before
- Went onto the Kino website [URL].. (seems not to be updated that much) and , again, de blacklisted the firewire drivers
- Went to the Ubuntu website and found this.[URL]...but none of that worked for me.
- Searched through the Ubuntu help forums, not yet found a solution that works for me. Installed Ubuntu studio to see if that worked, no joy. I am now at a complete dead end. I am simply trying to find a piece of software that plugs in, works first time without issues, and allows me to initiate video imports as outlined above. Is anyone able to help me resolve this problem please?
My only other option, if I can't solve this, would be to install a copy of Windows 7 on my machine and use e.g a Pinnacle product to solve the problem. That would be a major failure as I much prefer to do this using my current set-up.
Connected Camera. Imported photos to Shotwell.Shotwell asked whether to keep or erase photo from camera. I chose to erase.Started viewing the imported photos. After sometime Shotwell froze.Checked my photos folder, the photos haven't been copied there yet. Checked the camera; It's empty.There were 2 sqlite databases (.tmp files) in /tmp. Copied. I couldn't find those photos in either /tmp or ~/.shotwell or anywhere else.
I have a directory of about 1500 tagged mp3s (the directory contains a sub-dir for each artist which contains a sub-dir for each album which contains mp3s). What I am looking for at the moment is a player that allows me to import this directory once and then allows me to navigate the mp3 by tag. I have looked at audacious and abraca but either these don't have such a feature. How to me how to achieve what I need? I use 64-bit squeeze
I connect my iPod to the computer, open Amarok, and select the "Copy To -- Local Collection" option. I have over 2,000 songs on my iPod, but only 638 are imported. There is no rhyme or reason to which songs are imported and which are not.
Individually selecting the unimported songs and attempting to copy them is unsuccessful. I have followed the multimedia installation guide to the letter with success.