
Recherche avancée
Médias (1)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Autres articles (75)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
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 (11247)
-
Extract first non black keyframe with FFMPEG
4 septembre 2013, par Simone MargaritelliI'm trying to extract a thumbnail image from a video keyframes using ffmpeg, my command line is :
ffmpeg -i video.mp4 -vframes 1 -s 200x200 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 -f image2 video.jpg
But the keyframe it extracts is totally black (the video starts with a black frame i guess) ... is there a way to automatically extract the first non black keyframe from a video, without seeking to a specific time (i have to manage multiple videos of many durations) ?
Thanks
-
ffmpeg fails in crontab running as root
21 décembre 2020, par Steve LloydI am trying to convert a video from mov to mp4 from a crontab.


/usr/bin/ffmpeg -y -nostdin -hide_banner -loglevel panic -i "/var/www/sample.mov" -vcodec h264 -acodec mp3 "/var/www/sample.mp4"



When I run it from a terminal it works fine. From a crontab I get the following errors. I have already tried adding "export LD_LIBRARY_PATH=/usr/lib/ && /usr/bin/ffmpeg" without success. Any help would be appreciated.


[h264_v4l2m2m @ 0x4e8290] Could not find a valid device
[h264_v4l2m2m @ 0x4e8290] can't configure decoder
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (h264_v4l2m2m) -> h264 (libx264))
 Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
Error while opening decoder for input stream #0:0 : Permission denied



-
Why pkg-config overrides 'prefix' with another default one ?
12 janvier, par SteveHI have an issue in using pkg-config to link some libraries to a program. The problem is 'prefix' variable in each library pkg-config files (*.pc) are overridden with an unwanted directory leading to building the program could not find the library's header and lib files.



Here, one of '*.pc' files, x264.pc :



prefix=/e/x264/x64-windows-rel 
exec_prefix=${prefix} 
libdir=${exec_prefix}/lib 
includedir=${prefix}/include 
...




I run this from MSYS2 terminal :



pkg-config --cflags --debug x264




This is some of the output it traced out :



...
 Parsing package file 'D:/msys64/usr/local/lib/pkgconfig\x264.pc'
 line>prefix=/e/x264/x64-windows-rel
 Variable declaration, 'prefix' overridden with 'D:/msys64/usr/local'
...




Note that MSYS2 and pkg-config are updated to newest versions.



Could anybody tell me why it happens and how to solve the issue without renaming 'prefix' to something else.?
Thanks.