
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (107)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
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 (11977)
-
ffmpeg rtmp broadcast on youtube speed below 1x
23 septembre 2020, par usr6969i made an python and opencv program that produce frame per second around 8-15fps with MJPEG output format where MJPEG address served on localhost webserver (0.0.0.0:5000) and, i do attempt to broadcast its frame to rtmp server like youtube using ffmpeg so basically i do convert MJEG to flv and forward to rtmp server with following command
ffmpeg -f mjpeg -i http://0.0.0.0:5000/video_feed -f lavfi -i anullsrc -c:v libx264 -vf "scale=trunc(oh*a/2)*2:320,unsharp=lx=3:ly=3:la=1.0" -crf 24 -c:a aac -ac 1 -f flv rtmp://a.rtmp.youtube.com/live2/xxx-xxx-xxx
but unfortunatelly youtube stream has too many buffering that occur every around 5 second and ffmpeg terminal tell that writing speed is only around 0.317x (expected to be sync with youtube around 0.99-1x), my question is

does there a way to stream 'realtime' around 8-15fps and automatically sync with youtube rtmp server without buffering because i thought that youtube require around 30fps while my fps only 9-15fps that probably causing buffer.
do there an such like additional ffmpeg's parameter that able to speed up writing ? thank you






-
FFMPEG - Delete unused files or streaming without saving files
8 septembre 2020, par M.DemiralI need to get live video from a device. I have to play the video on the browser. live video can be received as RTP or UDP.


Since there is no support for VLC, I published the video by getting it via RTP with FFMPEG and creating a web server with Nginx. But later I realized that it is recording video tracks to disk. This is a situation I don't want.


I can show it in web browser using HLS.js. It is saving to HDD when I use the following command.


ffmpeg -i udp://127.0.0.1:5000 -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -max_muxing_queue_size 1024 -f flv rtmp://127.0.0.1/show/stream



I don't want it to save to HDD.


When the codec I understand is changed, it saves the video to HDD.
I think I prevented it from recording like this. But I don't know how to play from the web browser.


ffmpeg -i udp://127.0.0.1:5000 -strict -2 -max_muxing_queue_size 1024 -f flv rtmp://127.0.0.1/show/stream



Is there any way to delete unused files or stream without saving to disk ?


P.S.


First question as it may be needed : How to play a live video in the browser ?


-
How to encode bmp images to H264, H265 losslessly with and without Nvenc
26 août 2020, par Hamza GhizaouiSo, let s assume that i have 5000 BMP images (1920x1080) that i want to encode into a video.


I managed to do that losslessly using FFMPEG using the following 4 encoders :


- 

- libx264
- libx265
- h264_nvenc
- hevc_nvenc










The problem is that when i try to test my results using PSNR, i get extremly high values, in the 30-70 range. What is happening ?
Is the problem with color space conversion ? (None of the encoders above seem to support RGB, a conversion to YUV occur and I m assuming that a lot of averaging is happening. stuff that PSNR test is very sensetive toward).


If my reasoning is correct, is it possible to encode BMP 100% losslessly. the resuling video will be streamed locally. the network is 10 GBS, so the size isn t that important.


thank you