
Recherche avancée
Autres articles (36)
-
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 -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (6649)
-
How to create a slideshow using ffmpeg with the length of output file based on the audio file
8 janvier 2018, par NPVI’m trying to create some videos from a certain photos and audio. I’ve been looking for something similar but haven’t figured out yet. My idea looks something like this.
I have some photos, let’s name them a b c d e (all in jpg) and an audio file A.mp3 and an overlay image P.npg
I want to create a slideshow with its length equal the audio file’s length. Photos in the slide can be place randomly. The overlay image is on top of the video.Can anyone help me with this ? Thank you guys so much.
-
Fetch an input file dynamically in a batch file to perform operations on it
25 mars 2019, par Piyush — batch-file, ffmpegI have created a batch-file which uses ffmpeg to extract frames of a video to
.jpg
.ffmpeg -i sample.mp4 -r 5 E:\frames\createdFrames%%d.jpg
It works completely fine and created the desired frames, however I want to give the sample video dynamically, i.e. pass it when the batch file is being executed.
How can I pass the input file dynamically ?
If possible, also discuss how to store the file dynamically, i.e pass the directory where I want to store the file when the batch is being executed.
-
FFmpeg opening key info file - could not write header for output file
13 mars 2021, par Hoang NamI want muxer mp4 to m3u8 with key.
I can do this when I put all files in same directory.


- 

- File 480.mp4.key
- File video 480.mp4
- File hls info have name : "480.mp4.keyinfo"








When I run the command
ffmpeg -i 480.mp4 -hls_time 10 -hls_key_info_file 480.mp4.keyinfo output.mp4.m3u8

everything runs normally.

However, I meet a problem when I move file "480.mp4.key" and file "480.mp4.keyinfo" into another directory such as
/usr/local/WowzaStreamingEngine/keys/auto_scan/testhh/2/123/480.mp4.keyinfo

I also change key directory in file keyinfo

After that I run


ffmpeg -i 480.mp4 -hls_time 10 -hls_key_info_file 480.mp4.keyinfo output.mp4.m3u8 ffmpeg -i output/testhh/2/123/480.mp4 -hls_time 10 -hls_key_info_file /usr/local/WowzaStreamingEngine/keys/auto_scan/testhh/2/123/480.mp4.keyinfo output/testhh/2/123/480.mp4.m3u8



But I get an error :


error opening key info file /usr/local/WowzaStreamingEngine/keys/auto_scan//testhh/2/123/output/testhh/2/123/480.mp4.keyinfo
Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
Error initializing output stream 0:0 --