
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (29)
-
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
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 -
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) (...)
Sur d’autres sites (3690)
-
Recursively convert images in each subfolder into individual videos using FFmpeg
17 décembre 2024, par arutan edramI am using this script to convert all images in a folder into a video. Each image is shown for 4 seconds and the script runs from a bat file.


`ffmpeg -framerate 1/4 -i %%03d.jpg -pix_fmt yuv420p video.mp4`



I have hundreds of subfolders each containing images with the same resolution and I want to convert them into one moive per subfolder.


I might be close to a solution but it still does not do the job


@echo off
setlocal enabledelayedexpansion

:: Set the frame rate and file format
set "framerate=1/4"
set "image_format=%%03d.jpg"
set "output_video=video.mp4"

:: Traverse all subfolders
for /d /r %%F in (*) do (
 echo Processing folder: %%F
 cd "%%F"
 :: Check if images exist
 if exist "%image_format%" (
 echo Converting images in %%F to video...
 ffmpeg -framerate %framerate% -i "%image_format%" -pix_fmt yuv420p "%%~nxF.mp4"
 ) else (
 echo No images found in %%F, skipping...
 )
 cd ..
)



Any help is appreciated


-
PKG_CONFIG_PATH can't be seen by configure
23 mars 2019, par HashimI’m using Cygwin to compile a MinGW version of FFmpeg (I already use Cygwin so it didn’t make sense to use anything else to build).
I was originally getting an error that someone on the Doom9 forums suggested might be due to mixing MinGW-64 and Cygwin dependencies. I then compiled or sourced MinGW-64 versions of all of the required dependencies (as some dependencies could not be compiled with Cygwin alone), and FFmpeg still fails to configure, always with the same error.
This error is always a variation of "package not found using pkg-config" - if libaom is enabled, I get :
ERROR : aom >= 1.0.0 not found using pkg-config
If I don’t add —enable-libaom in the configure script, I get :
ERROR : libass not found using pkg-config
I’m running the following on the command line, in a single shell, to compile FFmpeg :
cd /ffmpeg_sources/ffmpeg && export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" &&
./configure --arch=x86_64 --cross-prefix=x86_64-w64-mingw32- --target-os=mingw32 \
--prefix="/usr/local" \
--extra-cflags="-I/usr/local/include -static" \
--extra-ldflags="-L/usr/local/lib -static" \
--pkg-config-flags="--static" \
--extra-libs="-pthread -lm" \
--enable-libaom \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-gpl \
--enable-nonfree \
--enable-static \
--disable-shared &&
make -j$(nproc) &&
make installA similar question [here] indicates that it’s an issue with
PKG_CONFIG_PATH
not seeing the packages in/usr/local/lib/pkgconfig
, but when I do :cd /ffmpeg_sources/ffmpeg && PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" && pkg-config --exists --print-errors aom && echo $?
...it returns a 0, indicating
aom.pc
was found in thePKG_CONFIG_PATH
- which either rules out an issue withPKG_CONFIG_PATH
or makes it a very specific one in which onlyconfigure
andmake
aren’t able to seePKG_CONFIG_PATH
, despite being run from the same shell just a moment after.How can I resolve this ?
EDIT
I did some further investigation by looking into
ffbuild/config.log
, and noticed that it shows a warning :WARNING : x86_64-w64-mingw32-pkg-config not found, library detection
may fail.However, doing
apt-cyg search x86_64-w64-mingw32-pkg-config
shows that particular package as being installed.Sure enough, in the
/bin
folder, there is an extensionless file calledx86_64-w64-mingw32-pkg-config
, with the following contents :#!/bin/sh
exec pkgconf --personality=x86_64-w64-mingw32 $@I’ve also found the following related issues, in case they can help anyone else figure out what’s going on here :
https://ffmpeg.org/pipermail/ffmpeg-devel/2012-June/126683.html
Warning "i686-mingw32-pkg-config not found, library detection may fail" while cross compiling ffmpeg
https://github.com/Microsoft/FFmpegInterop/issues/106
-
Anomalie #3305 (Nouveau) : Balise fermée automatiquement dans un bloc code
21 octobre 2014, par Franck DalotBonjour
Je viens de me rendre compte d’un bug sur contrib (le bug est également présent sous SPIP 3.0.18-dev [21616]) mais semble absent sous spip 3.1
Quand une personne répond dans le forum en entourant par "code"<necessite version="[2.0.0;2.1.99]"></necessite>
La prévisalisation est ok, par contre après avoir valider le message, cela écris :<necessite version="[2.0.0;2.1.99]"></necessite>
Cordialement, Franck