[Sugar-devel] Sugar-devel Digest, Vol 58, Issue 47

Tony Anderson tony_anderson at usa.net
Fri Aug 23 08:22:54 EDT 2013


Hi,

I use the following script to supply the codecs:

#!/usr/bin/bash

#script to enable mp3,mp4

sudo cp libgstmad.so /usr/lib/gstreamer-0.10
sudo chmod 755 /usr/lib/gstreamer-0.10/libgstmad.so
sudo cp libmad.so.0 /usr/lib
sudo chmod 755 /usr/lib/libmad.so.0
sudo cp libgstfaad.so /usr/lib/gstreamer-0.10
sudo chmod 755 /usr/lib/gstreamer-0.10/libgstfaad.so
sudo cp libfaad.so.2.0.0 /usr/lib
sudo chmod 755 /usr/lib/libfaad.so.2.0.0
sudo yum install gstreamer-ffmpeg-0.10.13-8.fc18.i686.rpm
sudo ldconfig
sudo rm -rf /home/olpc/.gstreamer-0.10/registry.i386.bin
gst-inspect

This works for gstreamer 0.10.

The 13.2.0 Jukebox uses gstreamer 1.0 but 13.2.0 also installs gstreamer 
0.10.

The simplest solution may be to delete Jukebox and install version 26 
from ASLO.

In addition, the applicable mime-types need to be added in

/home/olpc/Activities/Jukebox.acivity/activity

to activity.info.

I added video/mp4;audio/mp4;video/webm;audio/aac;

I was able to play a sample mp3 clip, a sample m4a (mp4 audio) and  Khan 
Academy videos in mp4, m4v, and webm formats.

Tony

On 08/23/2013 03:43 AM, sugar-devel-request at lists.sugarlabs.org wrote:
> essage: 3
> Date: Fri, 23 Aug 2013 12:42:37 +1100
> From: "David Leeming"<david at leeming-consulting.com>
> To: "'Gonzalo Odiard'"<gonzalo at laptop.org>
> Cc: 'Sugar devel'<sugar-devel at lists.sugarlabs.org>
> Subject: Re: [Sugar-devel] Jukebox activity issue
> Message-ID: <003f01ce9fa2$0bf3f9e0$23dbeda0$@com>
> Content-Type: text/plain; charset="us-ascii"
>
> When the list of rpms below were installed on a machine with 13.1.0, I still
> could not play mp3, mpg, mp4, flv on Jukebox. It seems it's already using
> gstreamer version 0.10
>
>
>
>
>
> a52dec-0.7.4-16.fc17.i686.rpm
>
> gstreamer-ffmpeg-0.10.13-9.fc18.i686.rpm
>
> gstreamer-plugins-ugly-0.10.19-5.fc18.i686.rpm
>
> lame-libs-3.99.5-1.fc18.i686.rpm
>
> libmad-0.15.1b-15.fc18.i686.rpm
>
> libmpeg2-0.5.1-9.fc17.i686.rpm
>
> opencore-amr-0.1.3-2.fc18.i686.rpm
>
> twolame-libs-0.3.13-2.fc17.i686.rpm
>
> x264-libs-0.128-2.20121118gitf6a8615.fc18.i686.rpm
>
>
>
> Plus the latest Flash rpm
>
>
>
> These were obtained by running the latest:
>
>
>
> rpmfusion-free-release-stable.noarch.rpm
>
> rpmfusion-nonfree-release-stable.noarch.rpm
>
>
>
> followed by
>
>
>
> yumdownloader -resolve gstreamer-plugins-ugly
>
> yumdownloader -resolve gstreamer-ffmpeg
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> From:godiard at gmail.com  [mailto:godiard at gmail.com] On Behalf Of Gonzalo
> Odiard
> Sent: Thursday, 22 August 2013 9:02 p.m.
> To: David Leeming
> Cc: Sugar devel
> Subject: Re: [Sugar-devel] Jukebox activity issue
>
>
>
> Try installing gstreamer-plugins-ugly-0.10 and gstreamer-ffmpeg-0.10
>
> Jukebox is using a new version of gstreamer.
>
>
>
> Gonzalo



More information about the Sugar-devel mailing list