LouiZeForum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
LouiZeForum

3D vrml
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  3Dchats / forums3Dchats / forums  
Le deal à ne pas rater :
Réassort du coffret Pokémon 151 Électhor-ex : où l’acheter ?
Voir le deal

 

 Play in streaming

Go down 
4 posters
AuthorMessage
alain
fondateur
fondateur
alain


Number of posts : 23529
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

Play in streaming Empty
PostSubject: Play in streaming   Play in streaming EmptyMon 30 Mar - 9:10

I will write in english soon ..

The question is :

how to get , in vrml or in a html page embeded , un sound from a guy playing from home .

I looked at shoucast , broadwave etc


...

as I heard :

Quote :
She used to broadcast her synthesizer sound in realtime, using windows media encoder or a similar encoder for winamp... much better than a shared vrml piano played by mouse-strokes.

If you get your piano-man to install and use an encoder and a dyndns account, I will make the life-sound available on scene.
Back to top Go down
peter le cochon
+1000
+1000
peter le cochon


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptyMon 30 Mar - 17:58

Confused lol, listen Alain, it will not be easy to get the piano-man streaming his piano-play life.

1) He needs a pickup or mic input on his puter, close enough to the piano
2) He needs to install an encoder (WME for Windows or Shoutcast for Winamp)
3) If using a router, he will need to do the right port-forwarding settings
3) He needs to set-up a dyndns (or similar) account, if his IP is not static
4) He needs to set-up and handle an encoder session


There he will be able to stream his sound ....

If he tells us what DNS or IP and what port he is streaming at, just a few people will be able to connect to his stream (2,3 ... maybe 5 people).


There was a thread somwhere else in this forum about streaming video to a movie-texture.... there I did explain how to make WME (Windows Media Encoder) broadcast a stream.

But I don't find it ...

Cool pig


Last edited by peter le cochon on Mon 30 Mar - 19:47; edited 1 time in total
Back to top Go down
alain
fondateur
fondateur
alain


Number of posts : 23529
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptyMon 30 Mar - 18:38

peter le cochon wrote:


But I don't find it ...


I did , 2 days ago ,

remember I use Google to get something LOL

***+louizeforum


so we have


3D gallery / Streaming-Tutorial

and the horrible

3D gallery / webcam in vrml

....with 249 posts and 17 pages Sad LOL

Peugeofats was very alive at these times ,
but all his links are dead now Sad

Well ...I think we will play the piano with the mouse ,
and not shared ,
it will be enought for the moment ...

and btw this topic was not for you , Dear Peter , you know why Smile

but merci Smile
Back to top Go down
peter le cochon
+1000
+1000
peter le cochon


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptyMon 30 Mar - 19:49

Shocked ... ahm ... sorry.
Back to top Go down
alain
fondateur
fondateur
alain


Number of posts : 23529
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptyWed 1 Apr - 10:02

scuse , Peter , I just archieve :

legloups wrote:
Un truc du style :

Code:

//appel son en javascript
function playmysound(thisSound){
if (thisSound) {
var link=document.getElementById("ma_zik" )
link.innerHTML= '<embed src="sons/' + thisSound + '.wav" width="0.1" height="0.1" />'
}
}

Il te reste plus qu'à bosser sur la partie vrml Wink

ou alors tu fais ton stream en flash Very Happy

Code:

s.loadSound("ton adresse/ma_zik.mp3",true);

Et là tu sais l'intégrer dans un vrml Wink
Back to top Go down
legloups
+200
+200
legloups


Number of posts : 678
Localisation : var
Registration date : 2006-05-05

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptyThu 2 Apr - 19:03

Ben alors tu as réussis où il faut que je me creuse encore les méninges Laughing

Nan pas facile cette histoire de streaming musical... ah tu as vu pour le flash tu as plusieurs façons de le présenter suivant ce que tu veux faire... Wink
Back to top Go down
http://perso.wanadoo.fr/l-goulois
alain
fondateur
fondateur
alain


Number of posts : 23529
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptyFri 3 Apr - 9:30

Merci legloups ,

ce qui me manque c'est de savoir envoyer le son sur le web ,

et régler la sortie de la livebox ,

ça , I guess :

Quote :
3) If using a router, he will need to do the right port-forwarding settings
3) He needs to set-up a dyndns (or similar) account, if his IP is not static

dans mes

BroadWave et autres VRS Recording System ,

je ne trouve même pas où sont ces options Sad

ni dans Shoutcast ...

enfin merci , et , non , te prends pas la tête , je mets ça de coté pour plus tard

Smile
Back to top Go down
peter le cochon
+1000
+1000
peter le cochon


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptyFri 3 Apr - 20:56

alain wrote:
3) If using a router, he will need to do the right port-forwarding settings
3) He needs to set-up a dyndns (or similar) account, if his IP is not static

dans mes

BroadWave et autres VRS Recording System ,

je ne trouve même pas où sont ces options Sad

ni dans Shoutcast ...


No, Alain ... these settings are not to be done at the encoder, but on your router, if there is one.

Normaly, your encoder will ask you what port you want to broadcast at (eg. 2020).

You must tell your router to forward all requests received for port 2020 to the puter the stream is being broadcasted from.

CU later ...

pig
Back to top Go down
fabricator
+200
+200
fabricator


Number of posts : 227
Localisation : Australia
Registration date : 2005-08-28

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptySat 4 Apr - 7:53

I have this one which works for the Icecast streaming server (works with winamp).

Just replaced localhost with the proper server name/IP, and 8012 if you change which port it uses.

Code:
Transform {
 translation 0 -1.75 0
 children [
  DEF Frame Group {
  children [
    DEF T TouchSensor {}
    Shape {
    appearance Appearance {
      material Material {
      diffuseColor 0 0 0
      ambientIntensity 0
      specularColor 0.025 0.025 0.025
      shininess 0.06615
      }
    }
    geometry IndexedFaceSet {
      coord Coordinate { point [
        0.672 0.805 0.0381, 0.678 0.805 0.0204, -0.677 0.805 0.0193,
        -0.67 0.805 0.0377, 0.658 0.785 0.0487, -0.657 0.785 0.0476,
        0.644 0.775 0.0487, 0.644 0.035 0.0487, -0.642 0.775 0.0483,
        -0.657 0.02 0.0476, 0.631 0.765 0.0381, -0.63 0.765 0.0377,
        0.624 0.755 0.0197, -0.622 0.755 0.0201, -0.657 0.785 -0.0471,
        0.658 0.785 -0.0475, 0.658 0.02 -0.0475, 0.671 0.805 -0.0362,
        -0.67 0.805 -0.0372, 0.678 0.805 -0.0192, -0.677 0.805 -0.0188,
        0.672 0.007 0.0381, 0.678 0 0.0204, 0.658 0.02 0.0487,
        -0.642 0.035 0.0483, 0.631 0.047 0.0381, 0.624 0.055 0.0197,
        0.671 0.007 -0.0362, 0.678 0 -0.0192, -0.67 0.007 0.0377,
        -0.677 0 0.0193, -0.63 0.047 0.0377, -0.622 0.055 0.0201,
        -0.657 0.02 -0.0471, -0.67 0.007 -0.0372, -0.677 0 -0.0188]
      }
      coordIndex [
      1, 2, 3, -1, 0, 1, 3, -1, 4, 0, 3, -1, 4, 3, 5, -1, 4, 5, 6, -1,
      6, 7, 4, -1, 8, 6, 5, -1, 8, 5, 9, -1, 10, 6, 8, -1,
      10, 8, 11, -1, 10, 11, 13, -1, 12, 10, 13, -1, 14, 15, 16, -1,
      14, 18, 17, -1, 17, 15, 14, -1, 20, 19, 17, -1, 17, 18, 20, -1,
      1, 19, 20, -1, 1, 20, 2, -1, 21, 22, 1, -1, 21, 1, 0, -1,
      21, 0, 4, -1, 23, 21, 4, -1, 7, 24, 23, -1, 4, 7, 23, -1,
      25, 7, 6, -1, 25, 6, 10, -1, 25, 10, 12, -1, 26, 25, 12, -1,
      15, 17, 27, -1, 27, 16, 15, -1, 19, 28, 27, -1, 27, 17, 19, -1,
      22, 28, 19, -1, 22, 19, 1, -1, 29, 30, 22, -1, 29, 22, 21, -1,
      29, 21, 23, -1, 9, 29, 23, -1, 9, 23, 24, -1, 24, 8, 9, -1,
      24, 7, 25, -1, 31, 24, 25, -1, 32, 31, 25, -1, 32, 25, 26, -1,
      16, 33, 14, -1, 27, 34, 33, -1, 33, 16, 27, -1, 27, 28, 35, -1,
      35, 34, 27, -1, 35, 28, 22, -1, 30, 35, 22, -1, 2, 30, 29, -1,
      3, 2, 29, -1, 5, 3, 29, -1, 5, 29, 9, -1, 8, 24, 31, -1,
      11, 8, 31, -1, 13, 11, 31, -1, 13, 31, 32, -1, 34, 18, 14, -1,
      14, 33, 34, -1, 34, 35, 20, -1, 20, 18, 34, -1, 2, 20, 35, -1,
      2, 35, 30, -1]
    }

    }
  ]
  }
  DEF Sphere01 Transform {
  translation -0.6 0.03253 0.04627
  children [
    Shape {
    appearance Appearance {
      material DEF Mat Material {
      diffuseColor 1 0 0
      }
    }
    geometry Sphere { radius 0.012 }
    }
  ]
  }
  DEF AudioDummy Shape {
  appearance DEF App Appearance {
    material Material {
    diffuseColor 1 1 1
    }
  }
  #geometry Box { size 0.001 0.001 0.001 }
  geometry Box { size 1 1 1 }
  }
 ]
}
DEF MovieControl Script {
 eventIn SFTime startTime
 eventIn SFBool isOver
 field SFNode app USE App
 field SFNode mov DEF Mov MovieTexture {  # Icecast streaming server (linux only?)
  url "http://localhost:8012/playlist.pls?mount=/&file=dummy.pls"
  speed 0.1
 }
 field SFNode mat USE Mat
 field SFNode n NULL
 field SFBool playing FALSE
 directOutput TRUE
 url "javascript:
 function startTime (val,ts) {
  if (!playing) {
  app.material.diffuseColor=new SFColor(1,1,1);
  mat.diffuseColor=new SFColor(0,1,0);
  app.texture=mov;
  app.texture.startTime=ts+1;
  }
  else {
  app.material.diffuseColor=new SFColor(0.2,0.2,0.2);
  mat.diffuseColor=new SFColor(1,0,0);
  app.texture.stopTime=ts;
  app.texture=n;
  }
  playing=!playing;
 }
 function isOver (v,t) {
  if (v) Browser.setDescription('Radio | Click to listen in');
  else Browser.setDescription('');
 }
 "
}
ROUTE T.touchTime TO MovieControl.startTime
ROUTE T.isOver TO MovieControl.isOver
Back to top Go down
http://www.vrmlworlds.com
alain
fondateur
fondateur
alain


Number of posts : 23529
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming EmptySat 4 Apr - 9:03

thank you very much , fab , I am off 2 days , but I will try that on monday , and re trying to upload sounds
Back to top Go down
Sponsored content





Play in streaming Empty
PostSubject: Re: Play in streaming   Play in streaming Empty

Back to top Go down
 
Play in streaming
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
LouiZeForum :: ARTS :: 3D art :: Script-
Jump to: