
Recherche avancée
Autres articles (78)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
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 (...)
Sur d’autres sites (9465)
-
Time issues in ffmpeg script (MP4 to MP3 conversion)
16 février 2018, par AlexI use the code below as script on my Debian PC to create MP3 files from MP4 video files for adding to podcast app on android phone.
But each time I click pause/forward time position (not indication) is set up in random way after resuming. Please help improve the code below to solve this problem.
for f in *.mp4; do
ffmpeg -i "$f" -map 0:a -codec:a libmp3lame -b:a 96k "${f%.mp4}.mp3"
done
for f in *.mp3; do
vbrfix -always -makevbr -lameinfo "$f" "${f%.mp3}.mp3"
rm -rf vbrfix.log vbrfix.tmp
done -
How to optimize this ffmpeg script ?
5 juillet 2015, par user3673952I’m trying to run a script to add a intro + watermark a lot of videos, the thing is i only managed to do this with 2 scripts :
ffmpeg -i "%a" -i logo.png -filter_complex "scale=1280x738,setsar=1:1,overlay=main_w-overlay_w-10:main_h-overlay_h-10" path\_%a
&
ffmpeg -i path\intro.mp4 -i path\_%a -filter_complex "[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -bsf:a aac_adtstoasc path\%a
So i have to encode two videos (the scaled & watermarked one and the final one) every time. Can i do this with only one command ?
Also, is there any way i can further optimize the command so i can do this encoding faster ?
-
How to set file name after merging video files (batch script, FFMPEG)
4 juin 2022, par Subhradip SarkarI use this bat script for converting .mp4(x264) files to .mp4(x265)


for %% in ("*.mp4") do ffmpeg -i "%%a" -c:v hevc "%dp0NewFolder\%%~na[HEVC].mp4"



So I'm trying to make another bat script for merging video files(concat).


for %%i in (*.mp4) do echo file '%%i'>> vlist.txt
ffmpeg -f concat -safe 0 -i vlist.txt -c copy %~dp0NewFolder\%%~na.mp4



Files to merge would be like
Vid_1.mp4,
Vid_2.mp4,
Vid_#.mp4
...


I want to keep the part before "_" in the new file name


What should I use instead of %% na ? To make it just Vid.mp4


Currently it creates % na.mp4