
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (84)
-
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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (10956)
-
How to write the Mat/Image to the RTMP stream in OpenCV
27 octobre 2018, par Bahramdun AdilI can open RTSP video stream by using the
VideoCapture
and read the frames.It is the URL of RTSP stream :
rtsp://username:password@xxx.xxx.xxx.xxx:554/Streaming/Channels/102
Now I want to send/write the image/mat back to the output stream (RTMP stream over LAN network)
I have already set up the RTMP server which is NGINX, and for a test, I downloaded the FFMPEG, and when running the following command (in CMD) then it works well, and successfully read and write the stream to NGINX server.
ffmpeg -i rtsp://username:password@xxx.xxx.xxx.xxx:554/Streaming/Channels/102 -vcodec copy -acodec copy -f flv rtmp://xxx.xxx.xxx.xxx:1395/mylive/test
And now if I put this
rtmp://xxx.xxx.xxx.xxx:1395/mylive/test
URL to thevideo
tag ofHTML
, then the video can be opened.So the question is how I can push the image through RTMP (NGINX) from my code after processing ?
Any suggestion. Thanks in advance !!
Edit :
I used
VideoWriter
class as the following ways, but no one was working :VideoWriter writer = new VideoWriter();
writer.open("rtmp://xxx.xxx.xxx.xxx:1395/mylive/test", CAP_FFMPEG, 0, 25,
new Size(640, 480));
//writer.open("ffmpeg -vcodec copy -acodec copy -f flv
//rtmp://xxx.xxx.xxx.xxx:1395/mylive/test", CAP_FFMPEG, 0, 25, new Size(640,
//480));
// or without CAP_FFMPEG
if (!writer.isOpened()) {
System.out.println("open error");
} -
compiling ffmpeg for iPhone SDK 4.3 [error : is unable to create an executable file.]
12 février 2012, par user509020Like many others.. I'm compiling ffmpeg using gas preprocessor
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-October/077701.html
This is my command
./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk --enable-cross-compile --target-os=darwin --arch=arm7 --cpu=cortex-a8 --enable-pic
the error :
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 is unable to create an executable file.
C compiler test failed.I looked up the
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
folder usingFinder
..
arm-apple-darwin10-gcc-4.2.1 was there..Thanks,
Suhas -
iphone ios sample ffplay main.c —> FFmpeg.c change and input parameter , following errer please advice
4 août 2017, par 224okFFmpeg main c source
int main(int argc, char **argv)
{
int flags, i;
argv[1] = "-i";
argv[2] = "ipod-library://item/item.mp3?id=1218551163727305907";
//argv[2] = "mon.mp3";
argv[3] = "-acodec";
argv[4] = "libfaac";
argv[5] = "-ac";
argv[6] = "2";
argv[7] = "-ar";
argv[8] = "44100";
argv[9] = "-ab";
argv[10] = "128k";
argv[11] = "output.aac";
argv[3] = "-vn";
argv[4] = "-acodec";
argv[5] = "libfaac";
argv[6] = "-ac";
argv[7] = "2";
argv[8] = "-ar";
argv[9] = "44100";
argv[10] = "-ab";
argv[11] = "128k";
argv[12] = "output.aac";
// argv[14] = "rtsp://video.bouygtel.fr/50400/tf1.sdp";
argc += 12;error : ipod-library ://item/item.mp3 ?id=1218551163727305907 : No such file or directory
and if
argv[2] = "mon.mp3" ; ---> mon.mp3 : No such file or directoryplease advice.