<div dir="ltr">Part of the problem is legal.<div>OLPC or Fedora can't distribute legally software to play mp3 without</div><div>pay royalties. But in many countries in the world, the software patents </div><div>are not applicable, then, maybe you can install the software without problem.</div>
<div>In the XO-4, the payment is already done, then is a issue solved,</div><div>but not in the older models.</div><div><br></div><div>Gonzalo </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 23, 2013 at 8:18 PM, David Leeming <span dir="ltr"><<a href="mailto:david@leeming-consulting.com" target="_blank">david@leeming-consulting.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tony,<br>
<br>
Can we massage this into a process that provides us with all the rpms needed<br>
for offline install in a folder, eliminating the need to be online with<br>
every XO - only the first one used to grab the rpms?<br>
<br>
And then script that runs as below but replaces the yum installs with<br>
offline install - such as rpm -ihv *.rpm ?? Can everything including the<br>
mime-types be managed in one script?<br>
<br>
How would 13.2.0 differ from 13.1.0? We really don't want to go down the<br>
road of changing Activity versions.<br>
<br>
This would then be run on any freshly installed XO (13.1.0 or we can jump<br>
to 13.2.0 if its easier) in one step from a flashdrive.....<br>
<br>
Finally - why is it so difficult to do something that is often the first<br>
thing teachers and students ask - can they play videos and music (on their<br>
own terms). It's a barrier to uptake!!!<br>
<br>
I admit my frustration may be mostly out of ignorance, and would be very<br>
happy to be corrected or enlightened!<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: Tony Anderson [mailto:<a href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a>]<br>
Sent: Friday, 23 August 2013 11:23 p.m.<br>
To: <a href="mailto:sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a>; David Leeming<br>
Subject: Re: Sugar-devel Digest, Vol 58, Issue 47<br>
<br>
Hi,<br>
<br>
I use the following script to supply the codecs:<br>
<br>
#!/usr/bin/bash<br>
<br>
#script to enable mp3,mp4<br>
<br>
sudo cp libgstmad.so /usr/lib/gstreamer-0.10<br>
sudo chmod 755 /usr/lib/gstreamer-0.10/libgstmad.so<br>
sudo cp libmad.so.0 /usr/lib<br>
sudo chmod 755 /usr/lib/libmad.so.0<br>
sudo cp libgstfaad.so /usr/lib/gstreamer-0.10<br>
sudo chmod 755 /usr/lib/gstreamer-0.10/libgstfaad.so<br>
sudo cp libfaad.so.2.0.0 /usr/lib<br>
sudo chmod 755 /usr/lib/libfaad.so.2.0.0<br>
sudo yum install gstreamer-ffmpeg-0.10.13-8.fc18.i686.rpm<br>
sudo ldconfig<br>
sudo rm -rf /home/olpc/.gstreamer-0.10/registry.i386.bin<br>
gst-inspect<br>
<br>
This works for gstreamer 0.10.<br>
<br>
The 13.2.0 Jukebox uses gstreamer 1.0 but 13.2.0 also installs gstreamer<br>
0.10.<br>
<br>
The simplest solution may be to delete Jukebox and install version 26<br>
from ASLO.<br>
<br>
In addition, the applicable mime-types need to be added in<br>
<br>
/home/olpc/Activities/Jukebox.acivity/activity<br>
<br>
to <a href="http://activity.info" target="_blank">activity.info</a>.<br>
<br>
I added video/mp4;audio/mp4;video/webm;audio/aac;<br>
<br>
I was able to play a sample mp3 clip, a sample m4a (mp4 audio) and Khan<br>
Academy videos in mp4, m4v, and webm formats.<br>
<br>
Tony<br>
<br>
On 08/23/2013 03:43 AM, <a href="mailto:sugar-devel-request@lists.sugarlabs.org">sugar-devel-request@lists.sugarlabs.org</a> wrote:<br>
> essage: 3<br>
> Date: Fri, 23 Aug 2013 12:42:37 +1100<br>
> From: "David Leeming"<<a href="mailto:david@leeming-consulting.com">david@leeming-consulting.com</a>><br>
> To: "'Gonzalo Odiard'"<<a href="mailto:gonzalo@laptop.org">gonzalo@laptop.org</a>><br>
> Cc: 'Sugar devel'<<a href="mailto:sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a>><br>
> Subject: Re: [Sugar-devel] Jukebox activity issue<br>
> Message-ID: <003f01ce9fa2$0bf3f9e0$23dbeda0$@com><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
> When the list of rpms below were installed on a machine with 13.1.0, I<br>
still<br>
> could not play mp3, mpg, mp4, flv on Jukebox. It seems it's already using<br>
> gstreamer version 0.10<br>
><br>
><br>
><br>
><br>
><br>
> a52dec-0.7.4-16.fc17.i686.rpm<br>
><br>
> gstreamer-ffmpeg-0.10.13-9.fc18.i686.rpm<br>
><br>
> gstreamer-plugins-ugly-0.10.19-5.fc18.i686.rpm<br>
><br>
> lame-libs-3.99.5-1.fc18.i686.rpm<br>
><br>
> libmad-0.15.1b-15.fc18.i686.rpm<br>
><br>
> libmpeg2-0.5.1-9.fc17.i686.rpm<br>
><br>
> opencore-amr-0.1.3-2.fc18.i686.rpm<br>
><br>
> twolame-libs-0.3.13-2.fc17.i686.rpm<br>
><br>
> x264-libs-0.128-2.20121118gitf6a8615.fc18.i686.rpm<br>
><br>
><br>
><br>
> Plus the latest Flash rpm<br>
><br>
><br>
><br>
> These were obtained by running the latest:<br>
><br>
><br>
><br>
> rpmfusion-free-release-stable.noarch.rpm<br>
><br>
> rpmfusion-nonfree-release-stable.noarch.rpm<br>
><br>
><br>
><br>
> followed by<br>
><br>
><br>
><br>
> yumdownloader -resolve gstreamer-plugins-ugly<br>
><br>
> yumdownloader -resolve gstreamer-ffmpeg<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> <a href="mailto:From%3Agodiard@gmail.com">From:godiard@gmail.com</a> [mailto:<a href="mailto:godiard@gmail.com">godiard@gmail.com</a>] On Behalf Of Gonzalo<br>
> Odiard<br>
> Sent: Thursday, 22 August 2013 9:02 p.m.<br>
> To: David Leeming<br>
> Cc: Sugar devel<br>
> Subject: Re: [Sugar-devel] Jukebox activity issue<br>
><br>
><br>
><br>
> Try installing gstreamer-plugins-ugly-0.10 and gstreamer-ffmpeg-0.10<br>
><br>
> Jukebox is using a new version of gstreamer.<br>
><br>
><br>
><br>
> Gonzalo<br>
<br>
<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</div></div></blockquote></div><br></div>