
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (17)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (5015)
-
How to load test FFMPEG streams to NGINX RTMP server without Server error : Already publishing ?
23 novembre 2022, par NavMy objective is to have an EC2 server running NGINX with RTMP module, and another EC2 server running multiple FFMPEG processes in the background, which stream a video to the first EC2 server. The video is stored on the second EC2 server. The idea is to measure the amount of CPU and RAM consumed and to see if the streaming fails at any point due to the server being overloaded. This would help identify the load a server can support, and help decide how many servers are required when handling
n
number of simultaneous users.

This is the script I tried using :


#!/usr/bin/env bash
for i in {1..10}; do
 ffmpeg -nostdin -re -i myVideo.mp4 -c:v copy -c:a aac -ar 44100 -ac 1 -f flv rtmp://<first server="server" ipv4="ipv4" address="address">/mystream &
done;
</first>


When running the script, I get this error :


Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (aac (native) -> aac (native))
[rtmp @ 0x55a0c3a4bc0] Server error: Already publishing
rtmp://<ip address="address">/mystream: Operation not permitted
[rtmp @ 0x55d9d5bc0c0] Server error: Already publishing
rtmp://<ip address="address">/mystream: Operation not permitted
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Stream mapping:
[rtmp @ 0x55779e9bc0] [rtmp @ 0x55dd17e1bc0] Server error: Already publishing
Server error: Already publishing
rtmp://<ip address="address">/mystream: Operation not permitted
rtmp://<ip address="address">/mystream: Operation not permitted
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (aac (native) -> aac (native))
[rtmp @ 0x55c06b6dbc0] Server error: Already publishing
rtmp://<ip address="address">/mystream: Operation not permitted
[rtmp @ 0x56210db9bc0] Server error: Already publishing
rtmp://<ip address="address">/mystream: Operation not permitted
</ip></ip></ip></ip></ip></ip>


Should I use different ports for each FFMPEG streaming command ? So I'd have to enable a range of ports on the EC2 instance and specify a different port in the URL of the FFMPEG RTMP command and also allow multiple ports in NGINX-RTMP config ? Does anyone know a good way to do load testing for RTMP without errors ? How would I know if the server is unable to handle the load ? Would packets start dropping ? How would it be measured ? It's not necessary to use FFMPEG. Anything is fine, but tools like Apache Bench don't seem to be for RTMP.


-
FFMPEG Android, android/arm : No such file or directory while compiling the ffmpeg for android with ndk10
10 juin 2016, par PrabhatI am compiling the ffmpeg library i am facing some issues while compiling this.
I follow the steps of compilation form here.But i am failed to compile. The issues are as below.
WARNING: /home/prabhat/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.
libavcodec/bsf_list.c is unchanged
libavformat/protocol_list.c is unchanged
common.mak:26: *** unterminated call to function `foreach': missing `)'. Stop.
common.mak:26: *** unterminated call to function `foreach': missing `)'. Stop.
common.mak:26: *** unterminated call to function `foreach': missing `)'. Stop.
sumit@sumit-H81M-S:~/android-ndk-r10e/sources/ffmpeg$ -
How to run python when I receive post request
28 septembre 2021, par BigJI made python code for capture the image from rtsp streaming server using ffmpeg. I want to make api that when I receive POST request include rtsp address in message, then run python file using with the rtsp address. Like running child-process.

I'm using loopback(typescript) for api developing.

Can you recommend useful library or sample code ??