This forum has been archived. All content is frozen. Please use KDE Discuss instead.

installing kdenlive 0.7 broke ffmpeg

Tags: None
(comma "," separated)
animationista
Registered Member
Posts
169
Karma
0
OS

installing kdenlive 0.7 broke ffmpeg

Tue Dec 02, 2008 10:22 pm

I installed kdenlive 0.7 yesterday, great app. by the way, and today ffmpeg is (almost) broken.

When using it from command line all I get is

Unsupported codec for output stream #0.0 for almost every format except mpeg. Formats I rendered just fine before installing Kdenlive 0.7;avi, mpeg4, mov with different codecs set to them.

So, how do I restore ffmpeg to usable state?



Ubuntu studio 8.10 64bit. Gnome desktop.

madsdyd
Registered Member
Posts
204
Karma
0

rylleman wrote:
I installed kdenlive 0.7 yesterday, great app. by the way, and today ffmpeg is (almost) broken.

When using it from command line all I get is

Unsupported codec for output stream #0.0 for almost every format except mpeg. Formats I rendered just fine before installing Kdenlive 0.7;avi, mpeg4, mov with different codecs set to them.

So, how do I restore ffmpeg to usable state?

Ubuntu studio 8.10 64bit. Gnome desktop.



How and where did you install kdenlive? Did you install also ffmpeg, mlt, mlt++?
animationista
Registered Member
Posts
169
Karma
0
OS

I installed with the Builder Wizard but didn't take close notice exactly on what was installed, just installed what Kdenlive said it needed.

It is probable that the wizard installed some other version of ffmpeg.

madsdyd
Registered Member
Posts
204
Karma
0

rylleman wrote:
I installed with the Builder Wizard but didn't take close notice exactly on what was installed, just installed what Kdenlive said it needed.

It is probable that the wizard installed some other version of ffmpeg.


OK. The wizard will indeed install ffmpeg (as well as mlt, mlt++, and kdenlive).



The question is if this install of ffmpeg (done by the wizard) have messed up your regular install.



You can find out where the wizard installed ffmpeg. Please locate your kdenlive_start script, and do

grep INSTALL_DIR kdenlive_start

When you have it, lets take it from there.



Regards



Mads

animationista
Registered Member
Posts
169
Karma
0
OS

I got this output from the command;

export INSTALL_DIR=/usr/local/bin/kdenlive
export PATH=$INSTALL_DIR/bin:$PATH
export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH
export MLT_PATH=$INSTALL_DIR
export MLT_REPOSITORY=$INSTALL_DIR/lib/mlt
export MLT_DATA=$INSTALL_DIR/share/mlt
export MLT_PROFILES_PATH=$INSTALL_DIR/share/mlt/profiles
WAY_TO_RUN=`kdialog --combobox "

Starting kdenlive from $INSTALL_DIR

Kdenlive can be started in two different ways, please select the way you wish to use.

Normal Normal mode, for normal use

GDB output capture Capture output from kdenlive in the Gnu Debugger in a format suitable for a crash report. Use when trying to isolate a bug

If in doubt, just click the Ok button.

" "Normal" "GDB output capture"`
echo INSTALL_DIR=$INSTALL_DIR
echo Running ldd $INSTALL_DIR/bin/kdenlive
ldd $INSTALL_DIR/bin/kdenlive
echo Running gdb --args $INSTALL_DIR/bin/kdenlive --nocrashhandler --mlt-path $MLT_PATH "${kdenlive_args[@]}"
gdb --args $INSTALL_DIR/bin/kdenlive --nocrashhandler --mlt-path $MLT_PATH "${kdenlive_args[@]}" <$INFILE
kdialog --error "There was an error running gdb on $INSTALL_DIR/bin/kdenlive. Please try a normal run"
animationista
Registered Member
Posts
169
Karma
0
OS

Installed the unstripped libraries from the Ubuntu repos and now everything seems to work alright again.

Probably the ordinary libraries got installed along with Kdenlive.

Thanks for your help.

madsdyd
Registered Member
Posts
204
Karma
0

rylleman wrote:
Installed the unstripped libraries from the Ubuntu repos and now everything seems to work alright again.

Probably the ordinary libraries got installed along with Kdenlive.

Thanks for your help.


I am glad your problem was solved, although I am a little bit worried that you had it at all.



I am thinking perhaps you have /usr/local/bin before /usr/bin in your path, but perhaps not /usr/local/lib before /usr/lib in your ld.config or something? Or ldconfig was not rerun (installing libs from your package system would most likely rerun ldconfig).



Oh well - we'll have to look out for similar problems - glad that yours was solved.



Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft