
Recherche avancée
Autres articles (80)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10661)
-
ffmpeg live stream recording stops on stream interrupt
3 septembre 2018, par Anton AntonovI have to record live stream with ffmmpeg. It is easy. Here is my command line :
ffmpeg -i /source/address> -s 320x240 -r 25 -c:v libx264 -g 125 -vb 300000 -maxrate 400000 -bufsize 600000 -profile:v baseline -deinterlace -preset veryfast -ac 2 -ar 48000 -c:a libfdk_aac -b:a 64000 -f mp4 to/dst/file>
But my task is to make ffmpeg to stop and exit when live stream is stopped.
Is there easy way to do this ?
-
How to play live h264 stream with python [closed]
27 juillet 2020, par vkh53121Acuoly.comI have a socket that listen to h264 stream, I can save this stream to file and play it with ffplay.


This not rtp/rtsp that wraps h264 .that only h264.


I want to watch this stream live, not save to file and after that run ffplay.


How can I do that with python,so that work on windows and linux


-
Creating a live, updating video stream with ffmpeg
15 avril 2020, par MattJHoughtonI've set up a data stream from my webcam using the
MediaSource
api and set it to send data from my webcam in webm format, every 4 seconds. I then grab that on a node server, usecreateWriteStream
to set up a pipe and start streaming !


I'm stuck at converting the media from webm to a live m3u8. Below is the ffmpeg command I'm running (It's been through numerous iterations as I've tried things from the docs).



const cmd = `ffmpeg
 -i ${filepath}
 -profile:v baseline
 -level 3.0
 -s 640x360 -start_number 0
 -hls_time 10
 -hls_list_size 0
 -hls_flags append_list
 -hls_playlist_type event
 -f hls ${directory}playlist.m3u8`

 const ls = exec(cmd.replace(/(\r\n|\n|\r)/gm," "), (err, stdout, stderr) => {
 if(err) {
 console.log(error);
 }

 })




I can't remove the
#EXT-X-ENDLIST
at the end of the playlist, to keep the stream live for my web players, so when I hit play - the video plays the playlist in its current state and stops at the end.


Thanks



UPDATE



This may be a quality/speed issue. When I reduced the quality down to ;



const cmd = `ffmpeg
 -i ${filepath}
 -vf scale=w=640:h=360:force_original_aspect_ratio=decrease
 -profile:v main
 -crf 51
 -g 48 -keyint_min 48
 -sc_threshold 0
 -hls_time 4
 -hls_playlist_type event
 -hls_segment_filename ${directory}720p_%03d.ts
 ${directory}playlist.m3u8




I was able to get a pixelated live video. However, it quickly crashed... Maybe this is not possible in Node/Web Browsers yet ?