
Recherche avancée
Autres articles (61)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (12941)
-
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



-
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.


-
Encode to h265 with ffmpeg in batch
20 septembre 2022, par RicardoI have several Movies/Animes in Full HD and encoded in h264 (current market standard), and I need to perform the Encode to h265 of all these files (separated by folder and subfolders) to save space, which is the proper way to execute in batch (
.bat
file) ; below current code :

for %%f in (*.mkv, *.mp4) do (
 ffmpeg -i "%%a" -c:a copy -c:v libx265 -vtag hvc1 lossless=1 -preset veryslow "Out\%%~na.mkv"
)



In order to have the best compression of the final file and better image quality (which is visually identical to the current h264 file)


Obs1 : I have both animations and movies and series with real people, can the "ffmpeg" configuration be different for each type ?


Obs2 : In most files have multiple audio and video tracks and multiple subtitles, it is necessary that all audio, video and subtitles remain in the final files.