
Recherche avancée
Autres articles (45)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (5112)
-
How could I achieve different transition/animation on text using ffmpeg ? [closed]
7 mai 2021, par najam ulhassanI want to apply certain transition effects on my input text using mobile-ffmpeg i.e. we found in our videos now a days. I have added a transition to explore what I needs : How could I achieve this or related using 'ffmpeg' in android.


- 

- Note : I have to work on lyrics...






-
ffmpeg in bash only works on every second file
5 août 2016, par kay
EDIT :
The Solution is to change the original ffmpeg-call below to the following :
ffmpeg -nostdin -loglevel 16 -i "$dir/$var" -map_channel 0.0.0 "$left" -map_channel 0.0.1 "$right"
where the-nostdin
is the crucial thing.
For reference see apply ffmpeg to many files (comment by macmichael01)
I’m trying to convert all .wav-files in a given directory and it’s subdirectorys into two mono-files each with the following bash script. The crucial part is almost at the bottom - the ffmpeg call :
#!/bin/bash
# "[One] Stereo [file] to two mono [files] - stereo22mono"
# Syntax ffmpeg siehe: https://trac.ffmpeg.org/wiki/AudioChannelManipulation
ls -R $1 > .s22mtmp.txt
while read -r line || [[ -n "$line" ]]; do
var=$line
tst=$var
tst="${tst%:}"
if [ -d "${tst%./}" ] # is directory name
then
dir=$tst
elif [ -f "$dir/$var" ] # is file name
then
left=$dir/left_$var
right=$dir/right_$var
#loglevel 16 = only errors
# -i ...-> input file
# ffmpeg ... [SOURCE] ... [TARGET1] ... [TARGET2]
ffmpeg -loglevel 16 -i "$dir/$var" -map_channel 0.0.0 "$left" -map_channel 0.0.1 "$right"
fi
done < .s22mtmp.txt
rm .s22mtmp.txtIt almost works - besides the fact, that it only does it’s job on only every second file, although the for-loop correctly goes through all files (watched it with echo) and calls ffmpeg.
I thought it might be that ffmpeg has not finished it’s assigned work by the time it is asked to work on the next file and therefore just refuses, which seems to be true.
Because I made one try with disowning every call of ffmpeg like so :ffmpeg -loglevel 16 -i "$dir/$var" -map_channel 0.0.0 "$left" -map_channel 0.0.1 "$right" & disown
This worked almost, the problem was just that kind of hundreds of processes and multiple times more threads where starting to run and wouldn’t complete in a reasonable time, so I arborted. :D
But at least it didn’t skip every second file anymore with that kind of call.Can anyone give me a hint, how to get this done ? Would be very thankful.. it’s actually the first time I’m trying with bash scripts.
Thanks in advance ! -
Merge pull request #2787 from dougdomeny/master
5 décembre 2013, par blueimpMerge pull request #2787 from dougdomeny/master
Apply options limitMultiFileUploads AND limitMultiFileUploadSize, check for options.paramName