[Sugar-devel] Sugar-devel Digest, Vol 58, Issue 47
David Leeming
david at leeming-consulting.com
Sat Aug 24 00:13:53 EDT 2013
That's all understood. However the task at hand is that a regional bank has
donated 200 XO 1.5s to two schools in the Solomons and they want to play
videos and music on them. I can't say, well sorry they gave you the wrong
ones.
Another issue was that 2GB 1.5s were supplied with 11.3.1 and have very
limited memory and the journals become full within a few days use, so we
have the job now of upgrading them all with 8GB cards kindly forwarded to us
by OLPC.
With the extra memory we thought we'd upgrade to 13.2.0 but if we can't find
a way to conveniently install codecs on them all we have the choice of
staying with 11.3.1 which is still pretty good.
The method that works for that allows the paying of mpg, mp3, flv (including
Khan Academy videos in flv format) and possibly other video formats.
David
-----Original Message-----
From: quozl at laptop.org [mailto:quozl at laptop.org]
Sent: Saturday, 24 August 2013 11:19 a.m.
To: David Leeming
Cc: 'Tony Anderson'; sugar-devel at lists.sugarlabs.org
Subject: Re: [Sugar-devel] Sugar-devel Digest, Vol 58, Issue 47
David,
The "why is it so difficult" has to do with legal restrictions on OLPC
because of the jurisdictions it operates within. It prevents OLPC OS
from containing everything that might be useful; including the ability
to play all video formats.
You might not so hindered.
We're happy to host the process documentation on the OLPC Wiki, as we
do already with how to add these packages in a custom build:
http://wiki.laptop.org/go/OS_Builder/Add_repositories_and_packages
You seem more interested in retrofitting; adding functionality back to
OLPC OS, rather than using a custom build, and so this documentation
is not as useful to you.
So please, (both Tony and David), do publish your retrofit solution on
our Wiki so that other users (in such jurisdictions) can benefit.
Other pages that deserve updates include:
http://wiki.laptop.org/go/GStreamer
http://wiki.laptop.org/go/Vmeta
http://wiki.laptop.org/go/Restricted_formats
http://wiki.laptop.org/go/Licensing
On Sat, Aug 24, 2013 at 10:18:48AM +1100, David Leeming wrote:
> 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
>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
James Cameron
http://quozl.linux.org.au/
More information about the Sugar-devel
mailing list