Ubuntu Multimedia :: 10.04: Openshot (mlt+ffmpeg) For Theora Ogv - 'portable' Build From Latest Source?
Jul 29, 2010
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
As I cannot use svn to download the latest ffmpeg from trunk.Can anyone explain to me how to use proxychains properly so I can download the latest ffmpeg and compile it?
I would like to install on my box FFMPEG with libx264 support. First of all I've tried yum install ffmpeg, but it occurs that it downloads a version from 2007 (?) and without libx264. Than I've tried this: [URL]. And everything goes ok till last ./configure: ./configure --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-libfaad --enable-swscale --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libfaac --disable-ffserver --disable-ffplay
And in this moment I do "make" and get: -bash-3.2# make gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/usr/local/lib/tmp/ffmpeg2/ffmpeg" -I"/usr/local/lib/tmp/ffmpeg2/ffmpeg" -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libswscale/swscale.o libswscale/swscale.c ..... libswscale/swscale.c:3409: warning: assignment discards qualifiers from pointer target type make: *** [libswscale/swscale.o] Error 1
And as you can see I get a lots of errors. Tried to install it for 5 day now, How to make this work??
is anyone else experiencing difficulties with the latest chromium daily build? whenever i click to launch it, it appears, then closes 1 second later i know that chromium daily build is obviosly not suppost to be a reliable browser, im just curios to see if anyone else is experiencing difficulties aswell
I followed the instructions for compiling the Gnome 3 Shell and it did compiled with a few errors here and there but it didn't run. I installed Gnome 3 Shell using sudo apt-get install gnome-shell but I got version 2.31.x but the latest is 2.91.5 or something. So is there a way for me to install the latest build? Is there some repository available for the latest build?
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 just install the latest beta chromium by executing these commands:
Code:
The problem is I still want the Stable version of Chromium, and I want the developer version of Chromium not the beta release. So I got 2 problems: I need to downgrade this Chromium to the Stable release and then I want to install the developer release of Chromium and not lose this Stable release. I'm currently running 11.04 Ubuntu..
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.
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 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.
I need address of ftp server that has the latest .iso of Debian testing (weekly build).unfortunately, cdimage.debian.org/cdimage/weekly-builds/ is useless to me as it does NOT support ACTIVE FTP.
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.
I have run into problems building GNOME Shell from source on the Lucid Lynx. The Lynx has GNOME 2.30, correct? Well, ~/gnome-shell-build-setup.sh tells me that "GNOME 2.26 or newer is required to build GNOME Shell" when I already have 2.30. Just look at this screenshot [URL]...
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'm attempting to compile the latest version of VLC from source. I'm able to run ./configure without any errors, however when I try to make I receive the following error. I don't want to install the program from the repositories because it's outdated and the tray icon doesn't blend in.
I downloaded latest mediawiki, moved the tarball to /usr/share/ exploded the tarball via
Code:
then
Code:
Then in your web browser point to local host 127.0.0.1/wiki
It will then bring you to the wiki configuration setup pages, and you may install databases for this package via phpmyadmin. im going to remove the alias to php my admin after i am done using it again to cut off outside world from seeing the php my admin login page for security reasons.
Im going to do this by adding a # infront of the alias in /etc/apache2/conf.d/phpmyadmin.conf and making it look like this.
Code:
My next to default ubuntu install says we should install caching, and pecl.
Pecl search in synaptic shows dh-make-php as first result. install that, then install [url] extension for mediawiki. i already have apache mysql and php installed, but if you dont have those installed they are requried.
download latest [url], tar -xf intl* to explode package.
## im clearly going to have to refine this.... php-apc shows up in synaptic, installing it does not stop the wiki installer page from throwing errors. going to try [url] to see if that resolves one
download the latest source of eaccelerator. [url]
tar -xf eaccelerator source package to explode it,
phpize command tells me i need php-dev package, i pull the package from synaptic. i also grab libicu-dev while i am at it.
Code:
goes through, then
Code:
Code:
add to the top of the file the e accelerator info.
Code:
Code:
Code:
Then purge eaccelerator source directory and pure the tarball out of your system.
At this point we are going to make a database for the mediawiki by uncommenting the alias that keeps phpmyadmin shut off from attacks.
Code:
Then
Code:
Then point the browser @ 127.0.0.1/phpmyadmin
Then setup your database for wikipedia, i named mine wiki
Make a user, i named mine wiki.
Password your database, and follow prompts in the media wiki package
Comment the alias of phpmyadmin to disable the phpmyadmin pannel/address
Restart apache and your good to go on linking the wiki.
I made a bunch of video files with Thoggen a few years back and now it seems I'm having issues with playback. As the audio and video are intact and VLC, mplayer and xine can all play the files perfectly and ffmpeg can happily reencode the files. I think I need to rebuild the container metadata without reencoding the video or audio streams but I'm not entirely sure exactly how to do this without using avidemux, which won't work for me.
Technical stuff follows: VLC works but complains Code: charles@wintermute:~/Videos/tmp$ vlc broken.ogg VLC media player 1.0.6 Goldeneye [0xff94b8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. TagLib: Vorbis::File::read() - Could not find the Vorbis comment header. [0x126af18] main input error: ES_OUT_RESET_PCR called [0x1787f18] pulse audio output: No. of Audio Channels: 2 QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 MythTV gives me silent video .....
I run Debian Squeeze on the powerpc architecture and I'd like to install the newest Iceweasel on it. The Debain Mozilla repo only has binary packages for i386 and amd64 but provides sources.
So I did: apt-get source iceweasel
which resulted in the creation of these files/directories: