
Recherche avancée
Autres articles (48)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
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 (...)
Sur d’autres sites (9165)
-
How to loop through a 10 sec video for a live stream using ffmpeg [duplicate]
27 avril 2021, par XternetI'm using the below code to live stram to Instagram, now I want to loop a 10sec video so it'll go on forever as long as the process is running, it'll keep streaming. How do I go about it.


$videoFilename = "/var/www/html/video.mp4";

$broadcastProcess = $ffmpeg->runAsync(sprintf(
 '-rtbufsize 256M -re -i %s -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 720x1280 -bufsize 6000k -vb 400k -maxrate 1500k -deinterlace -vcodec libx264 -preset veryfast -g 30 -r 30 -f flv %s',
 \Winbox\Args::escape($videoFilename),
 \Winbox\Args::escape($streamUploadUrl)
 ));



-
Update .m3u8 playlist while live streaming
28 juillet 2022, par Juan TrejosIm using nginx-rtmp-module to create a RTMP server and I'm using hls directives to create the playlist.


hls on;
hls_path /var/www/html/cam/;
hls_fragment 10;
hls_nested on;
hls_playlist_length 7d;
hls_cleanup off;
hls_continuous on;
hls_fragment_naming system;



Now, I want to update manually the .m3u8 playlist file from this :


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:12
#EXTINF:10.000,
1658833177814.ts
#EXTINF:10.000,
1658833187826.ts
#EXTINF:10.000,
1658833197826.ts



to this, when the streaming is "on line" :


#EXTM3U
#EXT-X-VERSION:3 
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:12
#EXTINF:10.000,
1658833197826.ts



if I do it when there is no live streaming, that works, but if i do it when there is a live streaming, the .m3u8 file becames as the original after the server finish the creation of the last chunk. Even if i delete the .m3u8 file, it is recreated as the original one.


I've also tryed it using ffmpeg instead of hls directives without success, and looked this solution but 😥😥


-
Live video ffmpeg latency using RTMP
24 mars 2014, par bisc8I have a video stream that I want to broadcast via RTMP.
I'm using ffmpeg to do so, with the following command :
ffmpeg -i http://192.168.1.77:18000/stream.flv -c copy -f flv rtmp://localhost/myapp/mystream
As far as I know, transcoding the video stream would introduce some latency. So my question is : is it possible that I am introducing latency in the output stream by using this ffmpeg command (copy) ?
Side note :
I'm trying to redirect my live video stream to a nginx-server in order to broadcast it (via RTMP) for several jwplayers. So far I got a delay of 1 second and some frames and I am wondering if it is possible to reduce it.