
Advanced search
Medias (91)
-
Les Miserables
9 December 2019, by
Updated: December 2019
Language: français
Type: Textual
-
VideoHandle
8 November 2019, by
Updated: November 2019
Language: français
Type: Video
-
Somos millones 1
21 July 2014, by
Updated: June 2015
Language: français
Type: Video
-
Un test - mauritanie
3 April 2014, by
Updated: April 2014
Language: français
Type: Textual
-
Pourquoi Obama lit il mes mails?
4 February 2014, by
Updated: February 2014
Language: français
-
IMG 0222
6 October 2013, by
Updated: October 2013
Language: français
Type: Picture
Other articles (111)
-
MediaSPIP v0.2
21 June 2013, byMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 March 2010, byLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3); le plugin champs extras v2 nécessité par (...)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 January 2010, byLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation; Oggz-tools : outils d’inspection de fichiers ogg; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores;
Binaires complémentaires et facultatifs flvtool2 : extraction / (...)
On other websites (13170)
-
FFMPEG thumbnail in php application's is not rotated properly
4 September 2015, by VigneshI have created a FFMPEG thumbnail in a php application and tried to rotate the thumbnail image if the video is bottom up(reversed).But the image rotate is not working properly.
The below is the code for image rotation$video = $storeHere.$mediaFile;
$tImage = $upload_output['uploaded_file'].'.jpg';
$thumbnail = $storeHere.$tImage;
// shell command [highly simplified, please don't run it plain on your script!]
shell_exec("ffmpeg -i $video -deinterlace -an -ss 1 -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg -s 250x250 $thumbnail 2>&1");
/* image rotate fix */
$source = imagecreatefromjpeg($thumbnail);
$degrees = 270;
$rotate = imagerotate($source, $degrees, 0);
imagejpeg($rotate,$thumbnail);
/* rotate fix ends */ -
Scaling Application for video decoding using ffmpeg
6 July 2020, by jasoosI am building an application to read multiple IP camera streams (rtsp) and run different Machine Learning Algorithms over it in real time. For each camera stream,


- 

- I spawn an ffmpeg process which continuously break the rtsp streams
into frames and store them as images (JPEG). The streams use H.264
encoding. I am taking 1 frame every second as output.
- Message queues corresponding to models are given the message
containing location of the file.
- Models keep on picking up the file and drawing inferences








The problem I am facing is the CPU usage by ffmpeg decoding process. For real time inference without any loss of frames, I have to beef up my server by a core for every 2 camera streams. Is there any optimization I am missing for ffmpeg?


I am using Intel Xeon Gold processor with Ubuntu 18.04 OS


-
How can I create a c++ console application which makes use of an open source c project
2 October 2018, by Bogdan DanielI’ve been playing around with a compiled version of https://github.com/FFmpeg/FFmpeg. But it has some problems, during the closing of an opened stream using
avio_close
(it takes a really long time to close it).I’ve been trying to understand what could go wrong by reading through the implementation, but couldn’t find anything.
What I would like to do, is to actually have a C++ console application which uses the c files and to debug them while running the code(using breakpoints and so on).
Unfortunately I cannot find any information on how to set it up. Simply copying the files in a new console application is not enough.
Thanks in advance for any suggestions.
Edit: I can already see a closing vote. If this question is not appropriate for this website, I will delete it. But please point me in the right direction of where to post it.Although it is quite a general question, I believe that it is clear and enough information has been provided.
Edit2: Yes, I was a bit unclear about what I’m using.
I’m using Visual Studio Community 2017 on Windows 10 for creating the C++ console application.
Edit3:
Steps that I’ve taken into using the source files into my console application which was using the DLLs.
- Copy all of the contents of the FFmpeg-master to my console application
- Include all of them in the c++ console application project
- Run a build - takes forever and has infinite build errors( > 1000) - probably compiler related
Edit4:
I have no actual errors with
avio_close
, it just takes too long to close the stream. What I found out when playing around with the settings is that when thefifo_size
parameter is set, closing the stream is a lot faster depending on how small the set value is. And it sort of makes sense sincefifo_size
is related to the packet size, but I haven’t found out where in the code this size has an impact.fifo_size=units
Set the UDP receiving circular buffer size, expressed as a number of packets with size of 188 bytes. If not specified defaults to 7*4096.Edit5: I still haven’t found a way to compile the open source ffmpeg project into libs, dlls and pdbs. Am I the first one needing such files(seems unrealistic)?
The only tool capable of delivering those so far isvcpkg
. The only problem is that it compiles the 3.3.3 version and the latest is 4.0.2 .I tried to modify the
vcpkg\ports\ffmpeg\portfile.cmake
file to include the latest version of ffmpeg, but it doesn’t build it.Are there any other suggestions?