LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   OpenShot does not see codecs (https://www.linuxquestions.org/questions/linux-software-2/openshot-does-not-see-codecs-864146/)

darkduck 02-21-2011 04:33 PM

OpenShot does not see codecs
 
I have OpenShot 1.1.3 installed on my Debian Squeeze.
I want to export my project to Youtube-HD format. When I try this, whatever I select in Video Profile and Quality, I get error message that codecs libx264 and libmp3lame are missing. I have downloaded them from http://debian-multimedia.org and installed .deb's. Libmp3lame required dependency package libmp3lame0, which I also installed.
But OpenShot error is still here? What have I done wrong?

{BBI}Nexus{BBI} 02-21-2011 05:51 PM

You could check to make sure the libs have installed to the correct location. Some place like /usr/lib, and that they are marked as executable.

darkduck 02-21-2011 05:58 PM

/usr/lib/libx264.so.54 exists.
there are also quite a few libmp3lame.* files in same place.
Probably that is what's needed.

almatic 02-21-2011 09:13 PM

you have ffmpeg installed, right ?

darkduck 02-22-2011 04:42 PM

It was not installed. But installation did not help. Same error still occurs. 8-(

almatic 02-22-2011 06:14 PM

can you post the output of "ffmpeg -codecs | grep x264".
Do you have ffmpeg of debian-multimedia installed or from the debian repository ?
Make sure that you have debian-multimedia in your /etc/apt/sources.list.

darkduck 02-22-2011 06:21 PM

Quote:

Originally Posted by almatic (Post 4267866)
can you post the output of "ffmpeg -codecs | grep x264".
Do you have ffmpeg of debian-multimedia installed or from the debian repository ?
Make sure that you have debian-multimedia in your /etc/apt/sources.list.

Code:

darkduck@darkduck-laptop:~$ ffmpeg -codecs | grep x264
FFmpeg version SVN-r0.5.2-4:0.5.2-6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.2-6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
  libavutil    49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat  52.31. 0 / 52.31. 0
  libavdevice  52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale    0. 7. 1 /  0. 7. 1
  libpostproc  51. 2. 0 / 51. 2. 0
  built on Oct  5 2010 08:33:07, gcc: 4.4.5
ffmpeg: missing argument for option '-codecs'

I installed ffmpeg from Software Centre, and debian-multimedia is not in my sources list.

darkduck 02-22-2011 06:39 PM

update.
added debian-multimedia into list of sources. removed and re-installed ffmpeg. also x264 appeared in the list in Synaptic, so was also installed. now:
Code:

darkduck@darkduck-laptop:~$ ffmpeg -codecs | grep x264
FFmpeg version SVN-r25838, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jan 21 2011 09:10:31 with gcc 4.4.5
  configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
  libavutil    50.33. 0 / 50.33. 0
  libavcore      0.14. 0 /  0.14. 0
  libavcodec    52.97. 2 / 52.97. 2
  libavformat  52.87. 1 / 52.87. 1
  libavdevice  52. 2. 2 / 52. 2. 2
  libavfilter    1.65. 0 /  1.65. 0
  libswscale    0.12. 0 /  0.12. 0
  libpostproc  51. 2. 0 / 51. 2. 0
  EV    libx264        libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

And I can now convert in OpenShot!!!

b-rain 07-05-2011 02:49 AM

Still the same problem
 
Hello

I still have the export Problem. OpenShot says i don't have the codecs. I used OpenShot 1.2.x, now i have the 1.3.1. Same Problem
Now, in the OpenShot FAQ it says to install the
a) libavformat-extra
b) libavformat-unstripped
I did so. Still does not work. (yes, restarted everything)
Now, when i check ffmep: ffmpeg -codecs | grep x264
I got the wrong version as above.

I tried to add debian-multimedia to my sources. Doesn't seem to work. Anyway i took the package from debian-multimedia.org
to be precise and it tells me that i have to install

libavformat52 !!!
which is contrary to what the OpenShot FAQ tells me! And i can not have both installed of course!

Also, when i try to install this, it wants to uninstall many programs from gnomebaker to vlc.
Also OpenShot.
I will repost the links, for this is my first post.

Once it all worked.. once.. alas, so long ago (other machine)

b-rain 07-05-2011 02:50 AM

So these are the links:
this is the OpenShot FAQ
and this the ffmep-package from debian-multimedia


All times are GMT -5. The time now is 10:25 AM.