
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (100)
-
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 ;
-
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.
Sur d’autres sites (13851)
-
Error : ffmpeg -php with centos 6.4
3 août 2013, par Kamoliddin UsmonovI have problem with
ffmpeg
oncentos 6.4
.
FFmpeg
is working, butFFmpeg -php
not working. When I checkffmpeg -php
errorffmpeg version N-55188-gbdccfc3 Copyright (c) 2000-2013 the FFmpeg developers
built on Aug 3 2013 01:16:57 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
configuration: --enable-gpl --enable-libfdk_aac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
libavutil 52. 40.100 / 52. 40.100
libavcodec 55. 19.100 / 55. 19.100
libavformat 55. 12.102 / 55. 12.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 82.100 / 3. 82.100
libswscale 2. 4.100 / 2. 4.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100Unrecognized option 'php'.
Error splitting the argument list: Option not foundphp -r 'phpinfo();' | grep ffmpeg
PHP Warning : PHP Startup : Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so : cannot open shared object file : No such file or directory in Unknown on line 0
PHP Warning : PHP Startup : Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so : cannot open shared object file : No such file or directory in Unknown on line 0
PHP Warning : PHP Startup : Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so : cannot open shared object file : No such file or directory in Unknown on line 0
/etc/php.d/ffmpeg.ini,Please help me ! Beforehand thanks =)
-
Generate a thumbnail image every X seconds
1er août 2013, par rabotaliusI'm trying to generate a thumbnail every minute, but i'm getting the following error :
ffmpeg -i Hung.mp4 -f image2 -vf fps=fps=1/60 img%03d.jpg
[mjpeg @ 0x2f06da0] bitrate tolerance too small for bitrate
[mjpeg @ 0x2f1b7c0] ff_frame_thread_encoder_init failed
Output #0, image2, to 'img%03d.jpg':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: mp41
Stream #0:0(eng): Video: mjpeg, yuvj420p, 1280x536 [SAR 1:1 DAR 160:67], q=2-31, 200 kb/s, 90k tbn, 0.02 tbc
Metadata:
creation_time : 2013-07-22 00:01:41
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mjpeg)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height -
Set a subtitle language using ffmpeg
19 mars 2017, par SamI tried googling a way to set the language of a subtitle stream with ffmpeg and found the -slang option. So I tried the following command but immediately receive an error :
ffmpeg -i input.avi -i subs.srt -c:a copy -c:s mov_text -slang eng -c:v libx264 -profile:v high -level:v 4.0 output.mp4
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 18 2013 23:00:53 with Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Unrecognized option ’slang’.
Error splitting the argument list : Option not found
After more googling I found another way to do it using the -metadata command :
ffmpeg -i input.mp4 -i subs.srt -c:a copy -c:v copy -c:s mov_text -metadata:s:s:0 language=eng output.mp4
And that works absolutely fine. But this isn’t mentioned in the ffmpeg man page, whereas -slang is, which makes me think the -metadata command is maybe outdated or in some other way not as good as -slang.
- What is the difference between using the two above methods (-slang vs -metadata) ?
- Why did my -slang command give an error ? Have I used it incorrectly ?