Python (v2.7) requires to install plugins to play files of the following types: • MPEG-4 AAC decoder • H.264 decoder

Asked by Balram Jamale on 2012-11-09

The movie player cannot play any video file with extensions: mp4, mpeg, avi, etc

The RhythmBox (audio player) also cannot play even the mp3 files.
Message in the dialogue box:

Python (v2.7) requires to install plugins to play files of the following types:
• MPEG-4 AAC decoder
• H.264 decoder

As per the advice given by actionparsnip (andrew-woodhead666) on 2012-11-09; I have tried and got the following screen output:

ubuntu@ubuntu:~$ sudo apt-get install ubuntu-restricted-extras vlc gnome-mplayerE: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
ubuntu@ubuntu:~$ sudo apt-get install ubuntu-restricted-extras vlc gnome-mplayerReading package lists... Done
Building dependency tree
Reading state information... Done
W: Duplicate sources.list entry cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)/ precise/main i386 Packages (/var/lib/apt/lists/Ubuntu%2012.04.1%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20120823.1)_dists_precise_main_binary-i386_Packages)
W: Duplicate sources.list entry cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)/ precise/restricted i386 Packages (/var/lib/apt/lists/Ubuntu%2012.04.1%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20120823.1)_dists_precise_restricted_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Unable to locate package ubuntu-restricted-extras
E: Unable to locate package gnome-mplayer
ubuntu@ubuntu:~$ sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
--2012-11-16 05:52:57-- http://www.medibuntu.org/sources.list.d/precise.list
Resolving www.medibuntu.org (www.medibuntu.org)...
88.191.127.22
Connecting to www.medibuntu.org (www.medibuntu.org)|88.191.127.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 284 [text/plain]
Saving to: `/etc/apt/sources.list.d/medibuntu.list'

100%[======================================================================================================>] 284 --.-K/s in 0s

2012-11-16 05:54:30 (33.8 MB/s) - `/etc/apt/sources.list.d/medibuntu.list' saved [284/284]

Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/main/binary-i386/ InRelease
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/restricted/binary-i386/ InRelease
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) precise InRelease
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/main/binary-i386/ Release.gpg
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/restricted/binary-i386/ Release.gpg
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/main/binary-i386/ Release
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/restricted/binary-i386/ Release
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/main/binary-i386/ Packages/DiffIndex
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/restricted/binary-i386/ Packages/DiffIndex
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/main/binary-i386/ Translation-en_US
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/main/binary-i386/ Translation-en
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/restricted/binary-i386/ Translation-en_US
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) dists/precise/restricted/binary-i386/ Translation-en
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) precise/main TranslationIndex
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) precise/restricted TranslationIndex
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) precise/main Translation-en_US
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) precise/main Translation-en
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) precise/restricted Translation-en_US
Ign cdrom://Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1) precise/restricted Translation-en
Get:1 http://packages.medibuntu.org precise InRelease [7,096 B]
Ign http://packages.medibuntu.org precise InRelease
Get:2 http://packages.medibuntu.org precise/free amd64 Packages [3,237 B]
Get:3 http://packages.medibuntu.org precise/non-free amd64 Packages [6,049 B]
Get:4 http://packages.medibuntu.org precise/free i386 Packages [3,243 B]
Get:5 http://packages.medibuntu.org precise/non-free i386 Packages [6,636 B]
Ign http://archive.ubuntu.com precise InRelease
Ign http://packages.medibuntu.org precise/free TranslationIndex
Ign http://packages.medibuntu.org precise/non-free TranslationIndex
Ign http://archive.ubuntu.com precise-updates InRelease
Ign http://security.ubuntu.com precise-security InRelease
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://security.ubuntu.com precise-security Release
Hit http://archive.ubuntu.com precise Release
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Get:6 http://archive.ubuntu.com precise/universe amd64 Packages [4,786 kB]
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Ign http://packages.medibuntu.org precise/free Translation-en_US
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://packages.medibuntu.org precise/free Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Ign http://packages.medibuntu.org precise/non-free Translation-en_US
Ign http://packages.medibuntu.org precise/non-free Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
sudo apt-get install w64codecs
Hit http://archive.ubuntu.com precise/main i386 Packages

bzip2: Data integrity error when decompressing.
 Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Hit http://archive.ubuntu.com precise/restricted i386 Packages
Get:7 http://archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Get:8 http://archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:9 http://archive.ubuntu.com precise-updates/main amd64 Packages [429 kB]
Get:10 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [8,366 B]
Get:11 http://archive.ubuntu.com precise-updates/universe amd64 Packages [154 kB]
Get:12 http://archive.ubuntu.com precise-updates/main i386 Packages [438 kB]

bzip2: Data integrity error when decompressing.
 Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Get:13 http://archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:14 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:15 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Get:16 http://archive.ubuntu.com precise/universe Translation-en [3,341 kB]

Question information

Language:
Indonesian Edit question
Status:
Answered
For:
Ubuntu rhythmbox Edit question
Assignee:
No assignee Edit question
Last query:
2012-11-17
Last reply:
2012-11-18
Balram Jamale (balramvjamale) said : #1

Required plugin could not be found

Python (v2.7) requires to install plugins to play media files of the following type: MPEG-1 Layer 3 (MP3) decoder

Python (v2.7) requires to install plugins to play media files of the following type: Advanced Streaming Format (ASF) demuxer

Python (v2.7) requires to install plugins to play files of the following types: • MPEG-4 AAC decoder • H.263 decoder

In a separate session, nobleman, mikewhatever, from askubuntu.com forum said: Ubuntu doesn't include non-free codecs by default, so that playin anything other then ogg or flac won't work. I would like to draw your attention to Sabayon which plays all formats without need to add from out.

Yes, I am using Live USB.

My question is after installing the "Ubuntu restricted extras" via Ubuntu software centre, will the downloaded software remain in the pen drive forever, or will it get deleted after shutdown. If so what to do so as to keep the persistence working, which is not working.

N1ck 7h0m4d4k15 (nicktux) said : #2

If you are running Ubuntu via LIVE-USB then you have to create a persistent-space for your configurations to be saved.

See here about persistent-space: https://wiki.ubuntu.com/LiveUsbPendrivePersistent

If you haven't a persistent space , every time you reboot everything is lost.

Thanks

Balram Jamale (balramvjamale) said : #3

I already have the persistent space created at the time of making the Live
USB, still every time I reboot everything is
lost. Please suggest.

On Fri, Nov 9, 2012 at 4:31 AM, NikTh
<email address hidden>wrote:

> Your question #213733 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/213733
>
> Status: Open => Answered
>
> NikTh proposed the following answer:
> If you are running Ubuntu via LIVE-USB then you have to create a
> persistent-space for your configurations to be saved.
>
> See here about persistent-space:
> https://wiki.ubuntu.com/LiveUsbPendrivePersistent
>
> If you haven't a persistent space , every time you reboot everything is
> lost.
>
> Thanks
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/213733/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/213733
>
> You received this question notification because you asked the question.
>

--
Balram Jamale

N1ck 7h0m4d4k15 (nicktux) said : #4

I have a USB with persistent too , and nothing lost in reboot. Try to create a user from users accounts and see if working better.

Thanks

sudo apt-get install ubuntu-restricted-extras vlc gnome-mplayer

sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

sudo apt-get install w32codecs

(I assume you are using 32bit Gnome based Ubuntu).

Balram Jamale (balramvjamale) said : #6

Please read the screen copy message pasted yesterday, regarding the following:

sudo apt-get install ubuntu-restricted-extras vlc gnome-mplayer
sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
sudo apt-get install w64codecs

Moreover, the Live USB (startup disk), though have the persistance space created, thrice, and also created a user from users accounts, bit did not work.

Any file or folder was not saved upon exit.

I also follwed the https://wiki.ubuntu.com/LiveUsbPendrivePersistent and tried, but not helped. Gparted shows the pendrive as FAT16.

Also tried to delete casper-RW and create a new partition with the same same.

Balram Jamale (balramvjamale) said : #7

Also tried to delete casper-RW and create a new partition with the same name*.

Balram Jamale (balramvjamale) said : #8

To enable the persistant mode, do I need to change the Live USB's file system to FAT32 or EXT3 or EXT4 (something like that)?

Will any downloads and installations still can be saved even efter shutdowns. Any other alternatives, please?

Thank you everyone.

N1ck 7h0m4d4k15 (nicktux) said : #9

FAT32 . The native filesystem of the Usb-stick and use the Startup-Disk-Creator. This program is pre-installed in Ubuntu.
Thanks

Can you help with this problem?

Provide an answer of your own, or ask Balram Jamale for more information if necessary.

To post a message you must log in.