
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 (14)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (6272)
-
Anomalie #4647 (Fermé) : Erreur de changement du logo dans la modale
5 février 2021Sur SPIP 3.3-dev (version 2021.02.04), si on clique sur le logo la 1er fois
on obtient failed loaded imagesi on regarde la console : on a une erreur de chemin
https://www.xxxx.tld/ecrire/IMG/logo/yyy.jpgsur le 2eme clic, on n’a plus l’erreur on appelle bien
Call lity image ../IMG/logo/yyy.jpg -
Which version of ffmpeg is newer ffmpeg-N-100679-g24dc6d386c or ffmpeg-N-4.3.1 ?
2 février 2021, par Tanishq BanyalFor my app i need FFmpeg, so i went to official website, for windows builds it said go here :-
https://github.com/BtbN/FFmpeg-Builds/releases/tag/autobuild-2021-01-20-13-01


But now i have a problem.
Which version of ffmpeg is newer ?


ffmpeg-N-100679
orffmpeg-n4.3.1-29
?

Is that "N" version unstable and "n4" version stable ?


Any help would be appreciated
-
av_interleaved_write_frame() : Connection reset by peer - Using ffmpeg connected to local nginx
10 avril 2019, par haxporI have a local nginx web server installed with nginx-rtmp-module.
I have 2 RTMP sources that are fed into local network at
rtmp://127.0.0.1/live-video
, andrtmp://127.0.0.1/live-audio
. Then these twos will be combined and fed intortmp://127.0.0.1/live
again. The latter one will be the one that I will be using.The reason I did just that is I want to do noise reduction via
sox
.The setup is as follows
-
rtmp://127.0.0.1/live-video
- it usesffmpeg
to capture only screen (video) then output to such URL with commandffmpeg -analyzeduration 0 -video_size 1280x1080 -framerate 25 -f x11grab -i :0.0 -vcodec libx264 -flags +global_header -preset ultrafast -minrate 7200 -maxrate 8k -vsync 1 -f flv -metadata streamName=ZombieHeroLiveStream rtmp://127.0.0.1/live-video
-
rtmp://127.0.0.1/live-audio
- it usessox
to do noise reduction then usesffmpeg
to feed into such URL with commandffmpeg -f alsa -ac 1 -i default -preset ultrafast -f flac - | sox - -p noisered /tmp/noise.prof 0.21 | ffmpeg -analyzeduration 0 -thread_queue_size 2 -i - -f flv -preset ultrafast rtmp://127.0.0.1/live-audio
-
rtmp://127.0.0.1/live
- it usesffmpeg
to combine the above two sources then output into such URL, this is the one I tested viewing via VLC (which is works fine) with commandffmpeg -analyzeduration 0 -thread_queue_size 512 -rtmp_live live -flags +global_header -i "rtmp://127.0.0.1/live-video" -analyzeduration 0 -thread_queue_size 512 -rtmp_live live -flags +global_header -i "rtmp://127.0.0.1/live-audio" -c:v copy -c:a copy -map 0:v -map 1:a -async 1 -vsync 1 -video_size 1280x1080 -fflags +genpts -framerate 30 -preset ultrafast -minrate 7200 -maxrate 8k -flags +global_header -segment_list_flags +live -rtmp_live live -f flv -metadata streamName=ZombieHeroLiveStream "rtmp://127.0.0.1/live"
The setup works fine, I tested and confirmed viewing via VLC targeting to URL of 3. The problem is that for some times after all threes above up and running, 1. will exit and thus make the whole encoding stop. The error shown is
av_interleaved_write_frame(): Connection reset by peer29.88 bitrate=2021.8kbits/s dup=1791 drop=0 speed=0.998x
Last message repeated 2 times
...
Error writing trailer of rtmp://127.0.0.1/live-video: Connection reset by peerNo matter how I change and modify command line’s flags/options, it will end up like error above. Please note, I’ve modified flags quite a lot thus a certain flags might be possibly not needed.
Full error log from 1. is here.
Configuration of nginx server is here. It’s pretty much basic, but I will further use it to relay to multiple target RTMP servers later.
I’m on Ubuntu 18.04, 4.18.0-17-generic with 8 GB of RAM, 4 CPU Cores with ffmpeg
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3), and with Nginx
nginx version: nginx/1.14.2
built by gcc 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
built with OpenSSL 1.1.0g 2 Nov 2017 (running with OpenSSL 1.1.1b 26 Feb 2019)
TLS SNI support enabled
configure arguments: --with-http_ssl_module --add-module=../nginx-rtmp-module-1.2.1So again the question is how can I fix such issue ?
Any suggestion would be appreciated.Important edit : I just found out I entered a wrong duplicated command for 3. Now it has been corrected ! Sorry about that.
Update : I’m able to record audio with ffmpeg then do noise filter with sox, then stream to target rtmp with ffmpeg. But noise reduction doesn’t satisfy me yet. See above at 2. for its updated command. And according to this, sox has problem in understand a few bytes so I use flac format in piping instead. Still my question remained as this update is for improvement for command in 2.
-