[Sugar-devel] Sugar-devel Digest, Vol 58, Issue 47
David Leeming
david at leeming-consulting.com
Fri Aug 23 19:18:48 EDT 2013
Tony,
Can we massage this into a process that provides us with all the rpms needed
for offline install in a folder, eliminating the need to be online with
every XO - only the first one used to grab the rpms?
And then script that runs as below but replaces the yum installs with
offline install - such as rpm -ihv *.rpm ?? Can everything including the
mime-types be managed in one script?
How would 13.2.0 differ from 13.1.0? We really don't want to go down the
road of changing Activity versions.
This would then be run on any freshly installed XO (13.1.0 or we can jump
to 13.2.0 if its easier) in one step from a flashdrive.....
Finally - why is it so difficult to do something that is often the first
thing teachers and students ask - can they play videos and music (on their
own terms). It's a barrier to uptake!!!
I admit my frustration may be mostly out of ignorance, and would be very
happy to be corrected or enlightened!
David
-----Original Message-----
From: Tony Anderson [mailto:tony_anderson at usa.net]
Sent: Friday, 23 August 2013 11:23 p.m.
To: sugar-devel at lists.sugarlabs.org; David Leeming
Subject: Re: Sugar-devel Digest, Vol 58, Issue 47
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