
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (102)
-
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) (...)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (4778)
-
rstp stream into chunks net c# console application with ffmpeg
10 juin 2022, par Hasnat AdilI developed a c# console application in NET 5 which will get live streams from 5 cameras and create chunks of 5 minutes. Here is my argument of ffmpeg


List<processstartinfo> processes = new List<processstartinfo>();
 ProcessStartInfo processForChunk = new ProcessStartInfo();
 processForChunk.CreateNoWindow = false;
 processForChunk.UseShellExecute = false;
 processForChunk.FileName = "ffmpeg.exe";
 string argumentUrl = "-re -threads 0 -thread_queue_size 2048 -rtsp_transport tcp -i \"rtsp://{camUrl}\" -map 0 -c copy -reset_timestamps 1 -pix_fmt yuv420p -c:v libx264 -preset superfast -profile:v high -bsf:a aac_adtstoasc -vf scale=1280x720 -b:v 900k -r 30 -g 60 -c:a aac -b:a 128k -ac 1 -ar 44100 -bufsize 2500k -f segment -segment_time 60 -segment_format mp4 \"C:\\Users\\User\\Documents\\LiveStreamVideosAitis\\Soho2-%03d.mp4\" " +
 // "-re -threads 0 -thread_queue_size 2048 -rtsp_transport tcp -i \"rtsp://{camUrl}\" -map 1 -c copy -reset_timestamps 1 -pix_fmt yuv420p -c:v libx264 -preset superfast -profile:v high -bsf:a aac_adtstoasc -vf scale=1280x720 -b:v 900k -r 30 -g 60 -c:a aac -b:a 128k -ac 1 -ar 44100 -bufsize 2500k -f segment -segment_time 30 -segment_format mp4 \"C:\\Users\\User\\Documents\\LiveStreamVideosAitis\\HS2_1-%03d.mp4\" " +
 "-re -threads 0 -thread_queue_size 2048 -rtsp_transport tcp -i \"rtsp://{camUrl}\" -map 1 -c copy -reset_timestamps 1 -pix_fmt yuv420p -c:v libx264 -preset superfast -profile:v high -bsf:a aac_adtstoasc -vf scale=1280x720 -b:v 900k -r 30 -g 60 -c:a aac -b:a 128k -ac 1 -ar 44100 -bufsize 2500k -f segment -segment_time 60 -segment_format mp4 \"C:\\Users\\User\\Documents\\LiveStreamVideosAitis\\HS2_2-%03d.mp4\" " +
 "-re -threads 0 -thread_queue_size 2048 -rtsp_transport tcp -i \"rtsp://{camUrl}\" -map 2 -c copy -reset_timestamps 1 -pix_fmt yuv420p -c:v libx264 -preset superfast -profile:v high -bsf:a aac_adtstoasc -vf scale=1280x720 -b:v 900k -r 30 -g 60 -c:a aac -b:a 128k -ac 1 -ar 44100 -bufsize 2500k -f segment -segment_time 60 -segment_format mp4 \"C:\\Users\\User\\Documents\\LiveStreamVideosAitis\\HS2_3-%03d.mp4\" " +
 "-re -threads 0 -thread_queue_size 2048 -rtsp_transport tcp -i \"rtsp://{camUrl}\" -map 3 -c copy -reset_timestamps 1 -pix_fmt yuv420p -c:v libx264 -preset superfast -profile:v high -bsf:a aac_adtstoasc -vf scale=1280x720 -b:v 900k -r 30 -g 60 -c:a aac -b:a 128k -ac 1 -ar 44100 -bufsize 2500k -f segment -segment_time 60 -segment_format mp4 \"C:\\Users\\User\\Documents\\LiveStreamVideosAitis\\HS2_4-%03d.mp4\" ";


 //string[] arguments = { cam1, cam2, cam3, cam4, cam5 };
 string[] arguments = { argumentUrl };
 processForChunk.Arguments = String.Join(" ", arguments);
 Console.WriteLine(processForChunk.Arguments);
 processForChunk.RedirectStandardOutput = true;
</processstartinfo></processstartinfo>


Issue I am facing is sometimes it starts ignoring some camera stream and not creating chunks for that while other cameras are working fine. I want to handle this thing and also how to handle if there is some issue with a single camera then it starts creating chunks. I need to hanlde these problems.


-
pyglet's video example application not working
3 octobre 2020, par C. E.I'm trying to get the pyglet video player example to work, but I'm getting the following error :




pyglet.media.codecs.ffmpeg.FFmpegException : avformat_open_input in
ffmpeg_open_filename returned an error opening file
/home/ce/Downloads/sample-mp4-file.mp4 Error code : -1094995529




I decoded this number, and it turns out that it corresponds to the "INDA" error code in FFMPEG's error.h, which means




Invalid data found when processing input




The example video that I used can be downloaded here. I tried the mp4 one, the avi one and the webm one. I also tried other files that I have locally. They all work in other video players, and in fact some were created using FFMPEG.


Finally, I used
pyglet.media.have_ffmpeg()
to make sure that pyglet agrees with me that I haveffmpeg
installed.

Originally, I had ffmpeg 3.4 installed globally, i.e.
which ffmpeg
pointed to a 3.4 binary. I then replaced that binary with a ffmpeg 4.1 binary. However, when I runpyglet.info.dump_ffmpeg()
it still say3.4.8
so I may not have suceeded in trying 4.1. I tried settingos.environ["LD_LIBRARY_PATH"]
but it is still printing3.4.8
.

Operating system : Ubuntu 18.04. I have gotten it to work on Ubuntu 20.04. It uses a newer FFMPEG which I suspect is important.


What can I do ?


-
ffmpeg native player started from spring application freezes
21 mars 2018, par Jemo MgebrishviliI have a spring-mvc project, from browser on button click I’m starting ffmpeg player (ffplay) for video/audio streaming, the problem is that, when player window is opened after the button click, it freezes and not responds, it shows one frame and stops frame updates but has audio voice, also I can’t move it and change player position, if I start the ffplay from cmd (outside from my app) it works fine.
this is how I am starting the playerThread({
val cmd = arrayOf("pathToTheffplay", "-loglevel", "verbose", "rtmp://localhost:portNum/streamName")
val pb = ProcessBuilder(*cmd)
pb.start()
println("player started")
}).start()what I am missing ? Any advice ?