
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (47)
-
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9057)
-
ffplay : always show stats at all log levels if requested by user
3 avril 2020, par Gyan Doshi -
avcodec/h264_ps : Show VUI and SPS overread messages just once per frame thread
16 janvier 2020, par Michael Niedermayer -
Not able to show RTSP stream with Angular
15 mai 2020, par Q.Reyi'm working on a web application with angular where i need to show an rtsp stream inside my window.
I'm using JSMpeg player related to this topic : Not able to Show live camera RTSP streaming with Angular.



For my websocket i used the node websocket library and i runned it like this in my cmd :
node websocket-relay.js supersecret 8081 8082



It detect each connection i make on it.



Then for the conversion part i used FFMPEG where I convert a h264 format to mpegts (mpegvideo1 gave me an error)
I run it like this :



ffmpeg -i "rtsp://myurl/media.smp" -vcodec h264 -f mpegts -max_muxing_queue_size 9999 -b 800k -r 30 http://localhost:8081/supersecret/640/480/



For the angular part I have this :



@ViewChild('streaming', {static: true}) streamingcanvas: ElementRef; 

constructor( ... ) { }

ngOnInit() {
 ....
 let player = new JSMpeg.Player('ws://localhost:8081/supersecret', {
 canvas: this.streamingcanvas, autoplay: true, audio: false, loop: true
 })
}








What did i missed to make it works and get a real video stream ?



Thanks for help



EDIT : My first ffmpeg command was wrong, only the audio was sent, now i got this :



ffmpeg -i "rtsp://myurl/media.smp" -vcodec h264 -f mpegts -codec:v mpeg1video -s 640x360 -b: 700k -r 25 -bf 0 -codec:a mp2 -ar 44100 -ac 1 -b:a 64k -max_muxing_queue_size 9999 http://localhost:8081/supersecret/640/360/




It still doesnt work but the canvas is not black anymore