
Recherche avancée
Autres articles (19)
-
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 (...) -
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 (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (2061)
-
How to merge audio video file in mac system using action script ?
18 avril 2017, par SushilKI am creating a screen recording application using action script. I am able to record the screen and audio files separately but the issue i am facing is that i am not able to merge these audio and video files in Mac.
For windows version i have used the ffmpeg and it is working fine But for Mac system it is not working. Do you guys have any other suggestions or any way to run the ffmpeg from the action script directly for Mac ?
-
bash script | ffmpeg encoding videos + hardsub
17 avril 2017, par Rifat N MaswadehHello stackoverflow ,
i’m using this bash script to encode videos (*.mp4) in same folder
Script :
#!/bin/bash
for i in *.mp4;
do name=`echo "${i%.*}"`;
echo $name;
ffmpeg -i "${i}" -vcodec libx264 -b:v 1800k -maxrate 2200k -acodec aac -movflags +faststart -tune zerolatency "${name}".enc.mp4;
donemy question how i can add capability to hard subtitle ? automatically .
Example :
i have 20 video (video1.mp4 .. video2.mp4 ...) and 20 subtitle (video1.ass .. video2.ass video3.ass ..) in same folder .
how i can do it with bash script ?
- hard sub in ffmpeg ** -vf "ass=video1.ass" **
Thanks all ,
-
ASP.NET : Powershell script finishes after the first ffmpeg call
24 mars 2014, par sk904861The following Powershell script only executes the first ffmpeg call, no matter which one is first. Both the ffmpeg and the powershell processes never finish.
Param($InputFile, $OutputFile, $Thumbnail, $Sprites)
$ThumbnailWidth = 120
$ThumbnailHeight = 120
# Thumbnail
ffmpeg -i $InputFile -f image2 -vframes 1 -filter:v "crop=min(iw\,ih):min(iw\,ih), scale=$($ThumbnailWidth):$($ThumbnailHeight)" -crf 18 "$($Thumbnail)\150x150.png"
# Poster
ffmpeg -i $InputFile -f image2 -vframes 1 -filter:v "crop=min(iw\,ih):min(iw\,ih), scale=$($PosterWidth):$($PosterHeight)" -crf 18 "$($Thumbnail)\1000x1000.png"The script gets called within an ASP.NET application as follows :
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "powershell.exe";
startInfo.Arguments = String.Format("-executionpolicy RemoteSigned -file \"{0}\" \"{1}\" \"{2}\" \"{3}\" \"{4}\"", scriptPath, fullPath, videoPath, thumbnailPath, sprites);
startInfo.RedirectStandardOutput = true;
startInfo.RedirectStandardError = true;
startInfo.UseShellExecute = false;
startInfo.CreateNoWindow = true;
Process process = new Process();
process.StartInfo = startInfo;
process.EnableRaisingEvents = true;
process.Exited += delegate
{
// Do some cleaning up
};
process.Start();Does anyone have a clue, why only the first the two ffmpeg calls is working, while each call seems to be correct ?