
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (41)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (5916)
-
FFMPEG : Generate 7.1 channel audio file with the longest time of input file
10 juin 2020, par AnthonyI want to use ffmpeg to generate 7.1 channel audio file from 8 different audio files.
But I found the output file's duration is decided by the input file with shortest duration.
I didn't find any parameter to auto-pad the shorter audio file or choose the longest duration as final duration.



I already have seen the offlical document as below.
https://ffmpeg.org/ffmpeg-all.html
https://trac.ffmpeg.org/wiki/AudioChannelManipulation
But nothing is helpful.



This is the command I use right now :



ffmpeg -i fl.wav -i fr.wav -i fc.wav -i lfe.wav -i bl.wav -i bl.wav -i sl.wav -i sr.wav -filter_complex "[0:a][1:a][2:a][3:a][4:a][5:a][6:a][7:a]join=inputs=8:channel_layout=7.1[a]" -map "[a]" output.wav


-
Access files in a directory and write the file paths to a text file in ascending order using PHP
26 mars 2014, par SCCI have a list of video files in my server. I would like to list out all the video files in this directory and write it to a text file. These video files are all having the same name output-x.mp4, and x is the number from 0 to an unknown figure. The total number of video files is dynamic and therefore I don't get to know the number of the last video. I have the below code to access all the video files in this directory. It works fine with only one problem : The video files written to the text file are not sorted in ascending order.
$directory = "video/myvideo";
$fp = fopen($_SERVER['DOCUMENT_ROOT']."Path/to/text/file", "wb");
$split_video_files = scandir($directory);
foreach($split_video_files as $file)
{
$content = "file ".$directory.$file."\r\n";
fwrite($fp, $content);
}
fclose($fp);What the text file gave me is this :
video/myvideo/output-0.mp4
video/myvideo/output-1.mp4
video/myvideo/output-10.mp4
video/myvideo/output-11.mp4
video/myvideo/output-12.mp4
video/myvideo/output-13.mp4
video/myvideo/output-14.mp4
video/myvideo/output-2.mp4
video/myvideo/output-3.mp4
video/myvideo/output-4.mp4
video/myvideo/output-5.mp4
video/myvideo/output-6.mp4
video/myvideo/output-7.mp4
video/myvideo/output-8.mp4
video/myvideo/output-9.mp4It lists out all the filename that start with "1" first before proceed to "2" and so on. Any ways for me to sort it in ascending order so that it starts from 0, 1, 2,… ?
-
check if file is downloaded in temp in GCF from GCS
3 septembre 2020, par soshiIm making video encoder using GCF


that downloads video file from gcs to /tmp and encode it by ffmpeg.


I want to ask how to check if file is downloaded in tmp ?


I tried console.log(process.cwd()) but tmp folder is not displayed


exports.encodeVideo = async (req, res) => {

 mkdirp('/tmp')

 storage.bucket('video-bucket').file('raw/samplevideo.mp4').download({ 
 destination:'encoded/samplevideo.mp4' })

ffmpeg........
}