
Recherche avancée
Autres articles (39)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (4493)
-
How to fix "FFmpeg command cannot work when multiple mp3 file to process into one" on server side
9 février 2019, par Harshil DholakiyaI am using FFmpeg in my php yii2 project. FFmpeg working fine in my project but one major problem is execute FFmpeg command with multiple input file. When i try to use single file to process in ffmpeg command then it works. so, how can i fix this problem ? I am using hostGator shared plan for my project. Please, help if is there any process limit or file open limit on server that i don’t know.
I have tried using this command in php exec() :
ffmpeg -y -i /uploads/ac/10122018-09351115-a94rlvlawvikskb4vdrca.mp3 -i /uploads/ac/09012019-035928988-assknyrk8oujccwevir7.mp3 -f lavfi -i anullsrc -filter_complex "[2]atrim=duration=3[g0];[2]atrim=duration=1[g1];[2]atrim=duration=5[g2];[g0][0][g1][1][g2]concat=n=5:v=0:a=1" /uploads/jm/concat.mp3 2>&1
Above command works local side but not working on server side.
output on server side with error code 1:
Press [q] to stop, [?] for help
pthread_create failed: Resource temporarily unavailable. Try to increase `ulimit -v` or decrease `ulimit -s`.
Conversion failed!ulimit -v
unlimited
ulimit -s
15240 -
How to fix "FFmpeg command cannot exec when multiple mp3 file to process into one" on server side
7 février 2019, par Harshil DholakiyaI am using FFmpeg in my php yii2 project. FFmpeg working fine in my project but one major problem is execute FFmpeg command with multiple input file. When i try to use single file to process in ffmpeg command then it works. so, how can i fix this problem ? I am using hostGator shared plan for my project. Please, help if is there any process limit or file open limit on server that i don’t know.
I have tried using this command in php exec() :
ffmpeg -y -i /uploads/ac/10122018-09351115-a94rlvlawvikskb4vdrca.mp3 -i /uploads/ac/09012019-035928988-assknyrk8oujccwevir7.mp3 -f lavfi -i anullsrc -filter_complex "[2]atrim=duration=3[g0];[2]atrim=duration=1[g1];[2]atrim=duration=5[g2];[g0][0][g1][1][g2]concat=n=5:v=0:a=1" /uploads/jm/concat.mp3 2>&1
Above command works local side but not working on server side.
output on server side with error code 1:
Press [q] to stop, [?] for help
pthread_create failed: Resource temporarily unavailable. Try to increase `ulimit -v` or decrease `ulimit -s`.
Conversion failed! -
How to add cover art to MP4 ?
27 décembre 2018, par CeetchI’m trying to find an effective way to update the metadata for my MP4 files that I plan to put on a DLNA server. First thing, I want to have the video files have a cover art.
I’m specifically using
640x360
JPG files to be the cover art.
I might also want to add some other tags, like media type or update the Title. Please let me know what can be done.If code suggestions are available, please know I have the file name details in a variable
%file%
to handle things. The JPG has the same name as the source MP4 file, so it’s easy enough to get the file type and remove the extension, which is what I’ve done so far.My goal is to be able to simply drop the MP4 file on the following batch file and know its filename and full path, the JPG file, and attach it to the orgininal MP4 file. Apparently
ffmpeg.exe
won’t write to the file it pulled from, so I have it go to a temp file and then use MOVE to replace the old file with the fixed file.@ECHO OFF
set arg=%1
set file=%arg:~1,-5%
ffmpeg -i "%file%.mp4" -i "%file%.jpg" -acodec copy -vcodec copy -map 0 -map 1:0 "%file%WIP.mp4"
move /Y "%file%WIP.mp4" "%file".mp4"This code did not seem to work. It doesn’t show up in Windows as the cover art, so I’d say it failed.