
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (10)
-
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. -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
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 (...)
Sur d’autres sites (5319)
-
NGinx RTMP live stream text overlay and push to multiple
26 avril 2020, par chrisaleI have been banging my head against this wall for a long time. Hoping you all can get me over.



I have a live stream coming from an IP Camera to my computer.



Nginx publishes to YouTube and to an FFmpeg stream that takes a frame every minute to use for a static webcam image.



Here is the code with the exec_push that I've tried to use with no success. The YouTube stream and frame capture work fine. I have FFmpeg installed with freetype. This is all on MacOS X 10.15.4 Catalina with home-brew FFmpeg —HEAD installed.



Update : I should also say I have tried outputting the overlay using command line FFmpeg and it works great with this command :



/usr/local/bin/ffmpeg -i rtmp://localhost:1935/live/68.1. -vf drawtext="fontfile=/System/Library/Fonts/Supplemental/Arial.ttf:text='Stack Overflow': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" /Users/user/Desktop/test.mp4




So it seems that the output portion is the part FFmpeg doesn't like in Nginx.conf



My thought is I should be passing the overlayed FFmpeg stream to the "overlay" app and have the stream published to Youtube and the frame capture from there. (And also potentially recorded).



Update : When I have tried point to a sh file to run the command rather than the direct FFmpeg exec_push I get :



[alert] 56849#0: kevent() error on 15 filter:-1 flags:4002 (2: No such file or directory)




Thanks so much !



rtmp {
server {
 listen 1935;
 chunk_size 4096;

 application live {
 live on;
 record off;
 exec_push /usr/local/bin/ffmpeg -i rtmp://localhost:1935/live/68.1. -vf drawtext="fontfile=/System/Library/Fonts/Supplemental/Arial.ttf:textfile=/Users/Shared/overlayescaped.txt: reload=1: fontcolor=white: fontsize=20: box=1: boxcolor=black@1: boxborderw=75: x=70: y=925" -c:v libx264 -maxrate 6000k -bufsize 4000k -c:a aac -b:a 160k -ar 44100 -b:a 128k -f mp4 rtmp://localhost:1935/overlay/test;
 #push rtmp://localhost:1935/overlay;

 }

 application overlay {
 live on;
 record off;
 push rtmp://a.rtmp.youtube.com app=live2 playpath=yourstreamkey;
 exec_push /usr/local/bin/ffmpeg -i rtmp://localhost:1935/overlay/$name -vf fps=1/60 /Users/Shared/stream/netcam.jpg;
 }

 }

}



-
ffmpeg live stream sound desynch
26 août 2017, par gregI’m trying to use ffmpeg to re-encode a live rtmp stream like this :
ffmpeg -stream_loop -1 -r 25 -i rtmp://127.0.0.1:1935/live/input -c:a aac -b:a 128k -vf scale=600:356 -c:v libx264 -vprofile baseline -b:v 500K -f flv rtmp://127.0.0.1:1935/live/test
It’s working but the sound is about 2 seconds late over the video.
What can I do to fix this ?
Thanks in advance
-
How to video-record selenium tests running headless inside a docker ?
1er juin 2021, par AlexI am running python-selenium tests inside a docker using a headless firefox.


During these tests I am able to make screenshots with the selenium method for screenshots - but can I use something to 'video' record the virtual display during the whole test (several test scripts with several test methods, with many webdrivers started and stopped).


So how can I video-record a complete test session ?


Addendum : I have found a webpage that describes exactly what I need : here. Unfortunately I get an error when I try to do the recording. Here are the commands I am doing :


xvfb-run --listen-tcp --server-num 44 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1920x1080x24" python seltest.py &
ffmpeg -f x11grab -video_size 1920x1080 -i 127.0.0.1:44 -codec:v libx264 -r 12 /tmp/behat_1.mp4



and the error is (for the second command) :


[x11grab @ 0x1d289c0] Cannot open display 127.0.0.1:44, error 1.
127.0.0.1:44: Input/output error