
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (70)
-
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 (...) -
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 (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (4595)
-
How to create a FFMPEG VIDSTAB batch script Windows
2 octobre 2019, par esdoublelefi’m a photographer and I download photographs (.jpg) and videos (.mov) into a single Windows folder
I’m looking to create a script that will run the below 3 lines of FFMPEG for every instance of .mov in the folder and let it create stabilized .mp4 copies of the video. I’ll delete the originals manually later.
ffmpeg -i DSCF0229.MOV -vf vidstabdetect=shakiness=5:accuracy=15:stepsize=6:mincontrast=0.3:show=2 -y dummy.mp4
ffmpeg -i DSCF0229.MOV -vf scale=trunc((iw*1.15)/2)*2:trunc(ow/a/2)*2 -y scaled.mp4
ffmpeg -i scaled.mp4 -vf vidstabtransform=smoothing=30:input="transforms.trf":interpol=linear:crop=black:zoom=0:optzoom=1,unsharp=5:5:0.8:3:3:0.4 -y DSCF0229stabilized.mp4i can tweak a bit of code, but i’m clueless on where to start. i tried "for do" and even a batch.bat file, but i just can’t get the proper syntax right.
really appreciate any help here !!
-
How can I run this command in a shell script
21 janvier 2011, par SaschaThis is my shell script but it gives errors :
#!/bin/sh
while getopts "i:o:" flag
do
case $flag in
i) file_input=$OPTARG
;;
o) file_output=$OPTARG
;;
esac
done
mplayer -nosound -benchmark -vo yuv4mpeg:file=>(x264 --demuxer y4m \
--crf 20 --threads auto --output $file_output - ) $file_inputThe error message is :
Can't get memory or file handle to write ">(x264 —demuxer y4m —crf 20 —threads auto —output video.264 - )" !FATAL : Cannot initialize video driver.
When I run this cmd on putty :
mplayer -nosound -benchmark -vo yuv4mpeg:file=>(x264 --demuxer y4m \
--crf 20 --threads auto --output video.264 - ) video.wmvit works perfectly..
What am I doing wrong ?
-
Redirect shell output for ruby script
2 juin 2015, par rs41I have simple ruby script :
#! /usr/bin/env ruby
require 'fileutils'
FileUtils.rm "output.mkv" if File.exists?("outp ut.mkv")
pid = Process.spawn("ffmpeg -i wrong_file.mp4 -c:v libx264 -preset veryslow -qp 0 output.mkv", STDOUT => "output.txt", STDERR => "error.txt")
puts "pid : #{pid}"
Process.wait(pid)But, STDOUT and STDERR outputs into error.txt, why ?
It looks, that ffmpeg have another exit codes ?(in usual case 0 for stdout, and 1 for stdin)
Note : I don’t want to use native shell redirect like ’> output.txt 2> error.txt’ because i want to get pid of ffmpeg process, not shell process and kill it in future.