
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (61)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (13016)
-
FFmpeg Image to Video command consuming 100% CPU
23 décembre 2023, par Dishan VermaI am working on a project where I need to first extract all the frames of videos and after extracting the frames I need to stitch the frames back again showing 1 frame for exactly 1 seconds i.e I need to create a 1 FPS video from extracted frames.


I am successfully able to extract frames of video using ffmpeg without any issues.


But my FFmpeg command which I am using to convert frames to 1 FPS video is consuming 100% CPU, for example a 40 mb video input is consuming 8 GB of CPU. Below is how my FFmpeg command looks like.


final String ffmpegCommandFormat = "%s -framerate 1 -i %s -c:v libx264 -pix_fmt yuv420p -crf 18 -y %s";
final String ffmpegCommand = String.format(ffmpegCommandFormat, FFMPEG_EXEC_PATH, framesPathRegex, pathToStoreProcessedVideo);



I am creating a service which needs to support around 2 GB sized videos and with the current behaiviour it cannot even support 100 MB of video.


Can anyone please help me here to understand why FFmpeg is consuming too high CPU and how can i resolve this issue ?
Is there any alternate/better/fast/efficient command which I can use to created 1 FPS video wither from extracted frames or directly from input video ?


I am new to ffmpeg so not sure what else to explore.


-
FFMPEG - Crop image so that height and width of image are equal
2 septembre 2020, par Sarmad S.Using ffmpeg, I want to be able to crop an image so that the dimensions become equal. For example if I have an input image that is 1600x1000, after cropping it should be 1000x1000 (because 1000 is the smallest amongst the two dimensions). When cropping the image, it should crop equally from both sides.


Some examples :
Input image : 1600x1000 -> crop 300px from the left and 300px from the right side. Final image 1000x1000.


Input image : 1100x1500 -> crop 200px from the top and 300px from the bottom. Final image 1100x1100.


I can use this the command below to crop left and right or bottom and top or both. But the problem is that I want to crop only the largest dimension. Is there any way to know the largest dimension ?


crop=in_w-in_h/2:in_h-in_w/2



-
How check the file is corrupted before concatenate them with FFmpeg ?
17 février 2021, par Ali EsmailporI'm using
child_process
package in NodeJS to run FFmpeg for concatenating some videos. The command that I use for concatenating is :

ffmpeg -f concat -i list_file.txt -c copy final.mp4



that
list_file.txt
is the list of videos file and it contains :

file '700010023590099933_1612945401707.mp4'
file '700010023590099933_1612945439023.mp4'
.
.



I want to check every video before concatenate them because if one of them be corrupted it stops the process and throws an error. So it makes the final video corrupted too.


In addition, I can check if a video file is OK or not with this command :


ffmpeg -i input.mp4 -c copy -f null -; echo $?



that returns
0
if file is OK and1
if not.

I want to check all the video files and if all of them are OK then concatenate them. And if each one was corrupted then exclude it and continue the process.
Is there a way to do this in one command ?