Outils pour utilisateurs

Outils du site


prog:piwigo

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
prog:piwigo [2020/04/29 20:17] – mhtml -> html rootprog:piwigo [2022/05/19 23:31] (Version actuelle) – [Support des vidéos] : ajout du script powershell root
Ligne 55: Ligne 55:
     avconv -ss $i -i $fichier.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 120x68 -y $fichier-th_$i.jpg     avconv -ss $i -i $fichier.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 120x68 -y $fichier-th_$i.jpg
 done done
 +</file>
 +
 +<file powershell thumb.ps1>
 +mkdir pwg_representative
 +$fichier='VID_20200501_165121'
 +& "ffmpeg.exe" -itsoffset -4 -i "$fichier.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -y "pwg_representative\$fichier.jpg"
 +& "ffmpeg.exe" -ss 0:0:0.1 -i "$fichier.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 120x68 -y "pwg_representative\$fichier-th_0.jpg"
 +
 +for ($i=1; $i -lt 6; $i++)
 +{
 +    & "ffmpeg.exe" -ss "$i" -i "$fichier.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 120x68 -y "pwg_representative\$fichier-th_$i.jpg"
 +}
 </file> </file>
  
prog/piwigo.1588184272.txt.gz · Dernière modification : 2020/04/29 20:17 de root