Solicito soporte a los archivos OGG (audio) en el almacen

El Guille
#1 por El Guille el 08/08/2007
q tal !

queria subir una cancion pero paraece que no se permite esta extensión..

no quiero usar el .mp3 porque es un formato cerrado, en realidad espero que consideren mi sugerencia :| ..

un saludo!..;)

http://www.fsf.org/resources/formats/playogg
Subir
OFERTASVer todas
  • -21%
    Harley Benton Fusion-T HH Roasted FBB
    298 €
    Ver oferta
  • Boss Katana 50 MKII
    249 €
    Ver oferta
  • Taylor 214ce-SB DLX
    1.198 €
    Ver oferta
theknowsbe
#2 por theknowsbe el 08/08/2007
expon el por qué es cerrado. :saludo:
Subir
toni
#3 por toni el 08/08/2007
Hola, he creado una nueva plantilla con el reproductor para los archivos ogg.
Sube uno a ver si el reproductor funciona, si funciona perfecto, pero si no funciona me temo que tendremos que desabilitar la opción para subir archivos ogg (a no ser que alguien sepa programar un reproductor de archivos ogg que funcione en los 3 navegadores más usados...)
Saludos! :saludo:
Subir
El Guille
#4 por El Guille el 08/08/2007
Perdón, me he confundido de palabra, el formato .mp3 es un formato <NO libre>, ya que su uso esta limitado en ciertos paises como EEUU, debido a q alli los codecs libres para reproducirlo son ilegales, entonces cualquiera con algun sistema libre, que no disponga de codecs privativos q funcionen para ese Ssistema (porque nisiquiera existen) no podrá escuchar un simple mp3 ... o por lo menos no legalmente ... (malditos legalismos)

un saludo! ..
Subir
El Guille
#5 por El Guille el 09/08/2007
Gracias Toni por tomarlo en cuenta, pero me aparece esto:

Alguien escribió:

Error enviando archivo:
oracion.ogg: Tipo de archivo incorrecto (ogg, application/octet-stream)
Subir
El Guille
#6 por El Guille el 29/09/2007
Hola, he encontrado un reproductor online q esta para ser usado con java:

http://j-ogg.de/core/main?/demoroom-applet.html
Subir
toni
#7 por toni el 29/09/2007
Que bien!!

Dame un código similar a este que implemente ese reproductor y lo pruebo ;)

[CODE]<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="100" height="100"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
id="WinMediPlay" type="application/x-oleobject">
<param name="src" value="{media_src}"/>
<param name="autoStart" value="false" />
<param name="showControls" value="true" />
<param name="fileName" value="{media_src}">
<param name="animationatStart" value="1">
<param name="transparentatStart" value="0">
<param name="autoSize" value="0">
<param name="loop" value="0">
<param name="ShowDisplay" value="1">
<param name="ShowStatusBar" value="1">
<embed type="video/x-ms-asf-plugin"
pluginspace="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp"
src="{media_src}"
name="mediaplayer"
showcontrols=2
showdisplay=0
showstatusbar=0
autostart=1>
</embed></object>
<p></p>

<!-- Template file for MP3 Audio Files -->
<br><br>
<OBJECT
ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName" VALUE="{media_src}">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="false">
<PARAM NAME="autoSize" VALUE="false">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="loop" VALUE="false">
</OBJECT>
<br>
<br>[/CODE]

Saludos! :saludo:
Subir
frasco
#8 por frasco el 30/09/2007
He encontrado esto:


Streaming audio from your website (mp3 and ogg!)
Posted by hordia on August 1st, 2007

If you noticed, in my last post I had added ready to play demos through del.icio.us streaming script, which it’s really simple, you only have to copy the code below and place it in anywhere you want in your HTML and your mp3 links will automatically become playable.


<script type="text/javascript" src="http://del.icio.us/js/playtagger"></script>
Then you have something like this: Elvis harmonized


There are many other options like odeo players with different sizes and also ready to embed where you want... Indeed, this google player (flash based) should work too:


<iframe style="border: 1px solid rgb(170, 170, 170); width: 500px; height: 25px;" id="musicPlayer"
src="http://mail.google.com/mail/html/audio.swf?audioUrl=URLMP3FILE MP3"></iframe>

But all those implementations only work with mp3 files and aren’t free software..., and that was annoying me a little (check this) so I was looking for ogg vorbis alternatives... and luckily I found one: Cortado.

It’s a Java applet from Fluendo which is able to play Ogg Theora, Ogg Vorbis, Mulaw audio, MJPEG and his own Smoke codec. It’s also free software and it’s released under GPL. As I read only works with SUN’s jre version... so isn’t completely free either... but I think is closer and I can choose ogg files again... btw, SUN java version should (or at least they say that) be GPL compatible very soon...

The bad thing: has poorly documentation (and not clear)... anyway I managed to get it working. I’ve downloaded the ogg vorbis last pre-compiled jar file and with an applet code like below, I get it working more or less quickly.


<applet archive="cortado-ovt.jar" code="com.fluendo.player.Cortado.class" width="320" height="20">
<param name="url" value="http://audiores.uint8.com.ar/files/audios/elvis-harmonized.ogg" />
<param name="local" value="false" />
<param name="framerate" value="5.0" />
<param name="keepaspect" value="true" />
<param name="video" value="false" />
<param name="audio" value="true" />
<param name="seekable" value="true" />
<param name="autoPlay" value="false" />
<param name="duration" value="203" /></applet>
Then you have something like this:

enjoy!

Update: For many applets in the same page check this post: “Many files to stream with cortado in the same page”









Y también he encontrado esto:

Many files to stream with cortado in the same page
Posted by hordia on August 6th, 2007

Recently I’ve added cortado applet to my server to have ogg streaming (check this) in this blog... but then I realized that does not work with many applets in the same page... (bad for a blog) so I had to move the streaming parts to many separate (new) html pages (for example one for each post or topic)

And for each one add a code like this one:


<body>
<script language="javascript">
function restart() {
document.applets[0].restart();
}
function loadUrl(uri, audio) {
document.applets[0].setParam("audio", audio);
document.applets[0].setParam("url", uri);
restart();
}
</script>
<applet archive="../cortado-ovt.jar" code="com.fluendo.player.Cortado.class" width="320" height="20">
<param name="url" value="" />
<param name="local" value="false" />
<param name="framerate" value="5.0" />
<param name="keepaspect" value="true" />
<param name="video" value="false" />
<param name="audio" value="true" />
<param name="seekable" value="true" />
<param name="autoPlay" value="false" />
<param name="duration" value="200" /></applet>
<br />

<button onClick="loadUrl('http://audiores.uint8.com.ar/files/audios/morph/Piano.ff.C5-mono-short.ogg', 'true')">
Piano C5
</button>
<button onClick="loadUrl('http://audiores.uint8.com.ar/files/audios/morph/oboe.mf.C5B5-mono-short.ogg', 'true')">
Oboe C5
</button>
<button onClick="loadUrl('http://audiores.uint8.com.ar/files/audios/morph/take1.ogg', 'true')">
Take1
</button>
<button onClick="loadUrl('http://audiores.uint8.com.ar/files/audios/morph/take2-inverted.ogg', 'true')">
Take2
</button>
</body>


No sé si te servirá pero voy a seguir la pista.

Lo he sacado de este enlace:

http://audiores.uint8.com.ar/blog/?p=131

:saludo:
Subir
toni
#9 por toni el 30/09/2007
Ese código es bueno para poner un reproductor en una web y que pinche los archivos OGG que tu quieras, pero el software que usa el almacen es algo más complejo...
Saludos! :saludo:
Subir
Nuevo post

Regístrate o para poder postear en este hilo