
Advanced search
Other articles (90)
-
Mise à jour de la version 0.1 vers 0.2
24 June 2013, byExplications 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 profit de (...) -
MediaSPIP version 0.1 Beta
16 April 2011, byMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 September 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
On other websites (12567)
-
Call ffmpeg in c++ with system() function fails
2 September 2014, by zhen leeI write a c++ program which needs to convert some(say:10) mp4 videos to flv videos.
I use ffmpeg in my program for each video like this:system("ffmpeg -i video -filter:v yadif -ar 44100 -sameq -y -f flv temp.flv")
however,it turns out:only first video will be converted successfully,the others will fail.
it means:
when i change the input order of which video to convert and re-execution the program,it behave the same:only the first video(will be different each time as i changed the input video order) will be converted successfully.The error message like:
[h264 @ 0xaee0740] concealing 45 DC, 45 AC, 45 MV errors
[h264 @ 0xaee0ce0] AVC: nal size 305665
Last message repeated 1 times
[h264 @ 0xaee0ce0] no frame!
[h264 @ 0xaee1280] AVC: nal size 572993
Last message repeated 1 times
[h264 @ 0xaee1280] no frame!
[aac @ 0xad9ccc0] channel element 0.13 is not allocated
Error while decoding stream #0:1
[aac @ 0xad9ccc0] channel element 0.13 is not allocated
Error while decoding stream #0:1
[aac @ 0xad9ccc0] channel element 0.13 is not allocated
Error while decoding stream #0:1
......
The most strange thing is :when i run ffmpeg command in bash shell,all video will be converted successfully .After google it,I have try these(certainly failed):
- remove -sameq option,the result is same;
-
write ffmpeg commod in a shell script ConvertToFlv.sh like:
/usr/local/bin/ffmpeg -i "$dir/$1" -filter:v yadif -ar 44100 -sameq -y -f flv "$dir/temp.fiv"
then call this script in program like
system("ConvertToFlv.sh"+video)
or
system("sh ConvertToFlv.sh"+video)
The result is same.
The ffmpeg configure is:
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 17 2012 16:17:30 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration: --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-swscale --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libfaac --disable-ffserver --disable-ffplay
libavutil 51. 41.100 / 51. 41.100
libavcodec 54. 4.100 / 54. 4.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100and my machine envirment is:
Linux master 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I’m irritable now,I hope someone can give me some advice,really appreciate it.
-
How to overlay a logo on a video every 60 seconds using ffmpeg?
17 June 2024, by Wolf WolfI am trying to overlay a logo on a video every 60 seconds for a duration of 5 seconds using ffmpeg. Here's the command I am using:


ffmpeg -i input.mp4 -i logo.png -filter_complex "[0:v]setpts=PTS-STARTPTS[v0];[1:v]loop=-1:size=1:start=0,setpts=N/(FRAME_RATE*TB)[logo];[v0][logo]overlay=enable='mod(t,60)<5':x=W-w-10:y=H-h-10[out]" -map "[out]" -map 0:a -c:a copy output.mp4



However, I am encountering the following error:




[overlay @ 000002199e0b3f00] [Eval @ 000000f94f9feff0] Invalid chars '<5' at the end of expression 'mod(t,60)<5'

[overlay @ 000002199e0b3f00] Error when evaluating the expression 'mod(t,60)<5' for enable

[AVFilterGraph @ 000002199e098b00] Error initializing filters

Failed to set value '[0:v]setpts=PTS-STARTPTS[v0];[1:v]loop=-1:size=1:start=0,setpts=N/(FRAME_RATE*TB)[logo];[v0][logo]overlay=enable='mod(t,60)<5':x=W-w-10:y=H-h-10[out]' for option 'filter_complex': Invalid argument

Error parsing global options: Invalid argument

I am using ffmpeg version X.XX on [your OS here, e.g., Windows 10].




I want the logo to appear every 60 seconds for 5 seconds at the bottom-right corner of the video.


The input video and logo files are valid and can be processed with simpler ffmpeg commands.


How can I correctly format the ffmpeg command to overlay the logo every 60 seconds without encountering the invalid argument error?


-
Anomalie #3779: Erreur ""Un dossier temporaire est manquant pour télécharger les fichiers"
7 May 2016, by Franck DalotBuenos dias, :-)
necesito mas informaciones para tratar de reproducir el problema
version de PHP?
Version de spip 3.1.x ; 3.0.x ; 2.1.x ?
Se trata de una version NATIVA o de un sitio que ,por ejemplo paso de una version 3.0.x a una version 3.10x?
tipo del’magen?jpeg?gif?...