
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (112)
-
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 (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
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 (12030)
-
Révision 23588 : corriger l’utilisation du critere {annee_relatif} et autres relatif, utilise sans...
9 juin 2017, par cedric@yterium.comYEAR-YEAR = ’’
au lieu de
YEAR-YEAR = 0
Le premier marchant en mysql mais pas en sqlite(Par contre un annee_relatif=0 marchait bien dans tous les cas)
-
Could not find ref with POC ffmpeg H265
7 juin 2021, par user1307697I'm trying to develop a video streaming with H265. Unfortunately, in decoding phase, I have these errors :


[hevc @ 0x5563d05b4940] Could not find ref with POC


and the resulting frames are corrupted.


I cannot understand the meaning of this type of error. How can I fix it ?


-
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 !