Navigatrix.net - A Voyager's Companion http://navigatrix.net/ |
|
[solved] libx264 codecs install http://navigatrix.net/viewtopic.php?f=4&t=373 |
Page 1 of 1 |
Author: | nautic [ 16 Apr 2013, 01:51 ] |
Post subject: | [solved] libx264 codecs install |
Please advice how to install libx264 codecs, it is required to make openshot video editor functionality full. I've tried to execute Code: sudo apt-get install ubuntu-restricted-extras but some dependences got wrong after. Than i have tried to execute Code: sudo apt-get -f install and begin to execute this but it has been done with error also. After i could not start some of media applications installed on the hard at all and had to re-install Navigatrix.But may be the reason was in that i've ticked all repositories in "Other sofware" of Package Manager and made update prior above mentioned action and it infringe some dependences? Now just would not want to re-insatll system again cause it is too much for my hard last time, may be there are some one evident way? Thanks in advance. |
Author: | Moe [ 16 Apr 2013, 03:25 ] |
Post subject: | Re: libx264 codecs install |
The x264 video coding library (libx264-85) is already installed in Navigatrix. Attachment: libx264-apt-get.png [ 66.84 KiB | Viewed 13856 times ] Attachment: libx264-synaptic.png [ 99.54 KiB | Viewed 13856 times ] I installed "ubuntu-restriced-extras" but the installer wants to overwrite a file that one of ubuntu-restricted-extras dependencies has just created three seconds before. It's not supplied with the instruction to do this ...so it gives an error. You need to install libavcodec52 which has the proper instructions. This will then allow ubuntu-restricted-extras to finish installation. I'm not sure what has happened by ticking the "other" software sources...maybe that's not a good idea. |
Author: | nautic [ 16 Apr 2013, 04:03 ] |
Post subject: | Re: libx264 codecs install |
Exactly, after all it was done, the problem was with libavcodec52. Terminal reported about wrong dependences of libavcodec52. Should i execute Code: sudo apt-get remove libavcodec52 to remove it first? Is it correct command?
|
Author: | Moe [ 16 Apr 2013, 04:16 ] |
Post subject: | Re: libx264 codecs install |
This might be a result of the "other" software source...OR a blanket upgrade. Blanket upgrades paint more people into corners and break more things in complex systems than any other factor. Un-tick the ones you had previously selected; reload (update) and see if you are given another chance. You can use sudo apt-get remove <package> or sudo apt-get purge <package> Purge is a little more definitive. It removes the package and any trace of the package (...not completely true. Sometimes remove or purge will leave menu entries, empty directories, directories where you've added data in the form of personal configuration files...etc.) But it's not a perfect world. |
Author: | nautic [ 16 Apr 2013, 04:35 ] |
Post subject: | Re: libx264 codecs install |
Yes, remember that i did upgrade... |
Author: | nautic [ 16 Apr 2013, 04:40 ] |
Post subject: | Re: libx264 codecs install |
I made Code: sudo apt-cache show libavcodec52 and get following: Code: andrey@andrey-navi:~$ sudo apt-cache show libavcodec52 [sudo] password for andrey: Package: libavcodec52 Priority: optional Section: libs Installed-Size: 10872 Maintainer: Ubuntu Developers <[email protected]> Original-Maintainer: Debian multimedia packages maintainers <[email protected]> Architecture: i386 Source: ffmpeg Version: 4:0.5.9-0ubuntu0.10.04.3 Replaces: ffmpeg (<< 4:0.5.1-1) Depends: libavutil49 (>= 4:0.5.9-0ubuntu0.10.04.3) | libavutil-extra-49 (>= 4:0.5.9-0ubuntu0.10.04.3), libavutil49 (<< 4:0.5.9-99) | libavutil-extra-49 (<< 4:0.5.9-99), libc6 (>= 2.7), libgsm1 (>= 1.0.13), libschroedinger-1.0-0 (>= 1.0.0), libspeex1 (>= 1.2~beta3-1), libtheora0 (>= 0.0.0.alpha7.dfsg), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), zlib1g (>= 1:1.1.4) Filename: pool/main/f/ffmpeg/libavcodec52_0.5.9-0ubuntu0.10.04.3_i386.deb Size: 4007044 MD5sum: 2a1d8e56ea2d1b2daf0c7c25f735e6bb SHA1: 167ad3e9af5f7f21c072ff328aad7f0682e40e0e SHA256: 1f6974e009a16104e57f705c4986c0081bf2234159354d6e6437364d96e07297 Description: ffmpeg codec library This is the codec library from the ffmpeg project. It supports most existing encoding formats (MPEG, DivX, MPEG4, AC3, DV...). . This package contains a Debian-specific version of the libavcodec shared object that should only be used by Debian packages. Homepage: http://ffmpeg.org/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 3y Task: mythbuntu-backend-master, mythbuntu-backend-slave, mythbuntu-desktop, mythbuntu-frontend Package: libavcodec52 Status: install ok installed Priority: optional Section: libs Installed-Size: 10884 Maintainer: Ubuntu Developers <[email protected]> Architecture: i386 Source: ffmpeg Version: 4:0.5.1-1ubuntu1.3 Replaces: ffmpeg (<< 4:0.5.1-1) Depends: libavutil49 (>= 4:0.5.1-1ubuntu1.3) | libavutil-extra-49 (>= 4:0.5.1-1ubuntu1.3), libavutil49 (<< 4:0.5.1-99) | libavutil-extra-49 (<< 4:0.5.1-99), libc6 (>= 2.7), libgsm1 (>= 1.0.13), libschroedinger-1.0-0 (>= 1.0.0), libspeex1 (>= 1.2~beta3-1), libtheora0 (>= 0.0.0.alpha7.dfsg), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), zlib1g (>= 1:1.1.4) Description: ffmpeg codec library This is the codec library from the ffmpeg project. It supports most existing encoding formats (MPEG, DivX, MPEG4, AC3, DV...). . This package contains a Debian-specific version of the libavcodec shared object that should only be used by Debian packages. Homepage: http://ffmpeg.org/ Original-Maintainer: Debian multimedia packages maintainers <[email protected]> Package: libavcodec52 Priority: optional Section: libs Installed-Size: 10884 Maintainer: Ubuntu Core Developers <[email protected]> Original-Maintainer: Debian multimedia packages maintainers <[email protected]> Architecture: i386 Source: ffmpeg Version: 4:0.5.1-1ubuntu1 Replaces: ffmpeg (<< 4:0.5.1-1) Depends: libavutil49 (>= 4:0.5.1-1ubuntu1) | libavutil-extra-49 (>= 4:0.5.1-1ubuntu1), libavutil49 (<< 4:0.5.1-99) | libavutil-extra-49 (<< 4:0.5.1-99), libc6 (>= 2.7), libgsm1 (>= 1.0.13), libschroedinger-1.0-0 (>= 1.0.0), libspeex1 (>= 1.2~beta3-1), libtheora0 (>= 0.0.0.alpha7.dfsg), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), zlib1g (>= 1:1.1.4) Filename: pool/main/f/ffmpeg/libavcodec52_0.5.1-1ubuntu1_i386.deb Size: 3998186 MD5sum: 38e3100a2d31366a2a2153488b3cbaad SHA1: 395e32d08184dc447d7f5d388112a84c1c2ed0ad SHA256: 365cbf524384d141864295b21b040f06afa6fc692ad615b97444e7d849d7fd0b Description: ffmpeg codec library This is the codec library from the ffmpeg project. It supports most existing encoding formats (MPEG, DivX, MPEG4, AC3, DV...). . This package contains a Debian-specific version of the libavcodec shared object that should only be used by Debian packages. Homepage: http://ffmpeg.org/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 3y Task: mythbuntu-backend-master, mythbuntu-backend-slave, mythbuntu-desktop, mythbuntu-frontend so, as i understand i need to remove it Code: sudo apt-get remove libavcodec52 and than install Code: sudo apt-get install ubuntu-restricted-extras Am i correct? |
Author: | nautic [ 16 Apr 2013, 05:14 ] |
Post subject: | Re: libx264 codecs install |
Because in may case Openshot reports about missing of libx264 codec when i try to render piece in specific format for example mpeg4, taking in mind that libavcodec52 installed on the hard. Thus i conclude that may be libavcodec52 is not suited for Openshot. I installed Openshot with Code: sudo add-apt-repository ppa:jonoomph/openshot-edge sudo apt-get update sudo apt-get install openshot openshot-doc and had no problem with installation. May be the problem is in that said above in terminal: Quote: This package contains a Debian-specific version of the libavcodec shared
object that should only be used by Debian packages.... |
Author: | nautic [ 16 Apr 2013, 08:34 ] |
Post subject: | Re: libx264 codecs install |
So, it was easy. I've just install libavcodec-extra-52 and OSh started ok! Therefore i replaced libavcodec52 prior - it is decision. But as a result all media application as Openshot, Video Player and Web Cam app became dead (not started at all) and i had to re-install it. Also wxcam refuse to be installed evidentially conflicting with new dependencies, i have installed cheese instead Code: sudo apt-get cheese Cheese works ok. |
Author: | Moe [ 16 Apr 2013, 10:13 ] |
Post subject: | Re: libx264 codecs install |
No, sorry...sometimes I don't remember what I've done on my own machine. Upgrading and still having flexibility is very difficult. It's like assembling a very complex puzzle. It's really easy until it all goes wrong. Because of the nature of some of the software packages they should be labelled with health warnings "Use of this software can lead to chemical dependency, premature ageing, psychological trauma, even abject resignation. Proceed at your own risk." For example, you upgrade to the swanky new library lib2cool...latest version 2.65.4...whatever. It's a fake name, but you're upgrading from 2.4 to 2.65.4 One of your favourite applications uses lib2cool. It lists lib2cool as a dependency; but lib2cool is not a dependency of your favourite application. (E.g., my sails need wind, but the wind blows regardless of my sails.) But now this favourite application is a little unstable, or it just doesn't work. The logical step is to upgrade it. It doesn't upgrade. Pulling your hair out you find it requires lib2cool that is at least version 2.5. ...this is where you start drinking. Both you and I know that version 2.65.4 is 'newer' than version 2.5. But this favourite application doesn't. In the computer's little pea-sized brain it 'knows' 2.65.4 is not 2.5 and it wants...it needs 2.5. The update you're trying to install was written before lib2cool 2.65.4 was even released. It's not going to budge. ...so you resolve to downgrade to lib2cool 2.5 which was skipped over in the upgrade process. When you try to downgrade lib2cool all hell breaks loose. Sure you can remove it but the package management system informs you there are 83 other applications, other libraries, core systems that will not work and will be removed as well. If you try to downgrade you 'pith' your system; remove it you pith it...leave it in it's just crippled. This is the point you drink straight from the bottle and don't bother putting the cap back on. Not every upgrade goes wrong. However, when the prime reason for upgrading (anything in the universe, not just software) is "it's new"....there is a greater chance you will loose functionality, freedom, or money. Since Navigatrix is free open source (mostly) software that pretty much just leaves functionality at risk. |
Author: | Moe [ 16 Apr 2013, 10:29 ] |
Post subject: | Re: libx264 codecs install |
nautic wrote: so, as i understand i need to remove it Code: sudo apt-get remove libavcodec52 and than install Code: sudo apt-get install ubuntu-restricted-extras Am i correct? On the test I ran I had the default repositories and reloaded (sudo apt-get update sudo apt-get install ubuntu-restricted-extras It failed. Really? I thought to myself and ran the command again. sudo apt-get install ubuntu-restricted-extras Same thing. I ran sudo apt-get install libavcodec52 It installed and stated it was attempting to recover from a previous failure. It stated it completed without error. Really? I ran the command again. sudo apt-get install ubuntu-restricted-extras It was already installed...along with the other 40+ packages that are its dependencies. If you're failing in this attempt; go back two steps. Remove libavcodec52 and ubuntu-restricted-extras and try ubuntu-restricted-extras first. It should fail. Then install libavcodec52 and then ubuntu-restricted-extras again. If it doesn't work for you through the commandline try the Package Manager....see if that will handle it. I'll take a look at that Openshot ppa when I have some time. |
Author: | Moe [ 16 Apr 2013, 11:10 ] |
Post subject: | Re: libx264 codecs install |
I just double checked the process using the Package Manager. Installing the 46 packages that go along with ubuntu-restricted-extras fails. Install libavcodec52 and the entire process succeeds....but in that order. |
Author: | nautic [ 18 Apr 2013, 05:38 ] |
Post subject: | Re: libx264 codecs install |
Yes, as i understood key way is in uninstall libavcodec52, install ubuntu-restricted-extras and again libavcodec52. And on second installation libavcodec52 via Package Manager required libavcodec-extras-52 are included in libavcodec52. Reasoning above there is no libavcodec-extras-52 in originally installed libavcodec52. I can't understand the magic but it is ) |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |