
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (49)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (5006)
-
How to extract video from multiple videos with ffmpeg ?
6 janvier 2021, par Abbas PerçinI want to extract video from multiple videos with ffmpeg. Normally, I could extract the video file from one large video file with the following command.


ffmpeg -ss 648 -t 29 -i /MatrixMovie.ts -f mpegts -pix_fmt yuv422p -c:v libx264 -preset ultrafast -map 0 snapshot.ts



But now I have 10 minutes of parts of this video file (MatrixMovie_part1.ts, MatrixMovie_part2.ts etc) instead of one large file. And the video that I want to extract starts on one of these parts and ends on the other.


My question is How to extract video from multiple videos with ffmpeg ?


I've been dealing with ffmpeq for days but couldn't manage it. I would appreciate it if you could help. Thank you.


-
How to Convert Video to MP4 using FFMPEG in PHP
4 octobre 2020, par KenI am trying to find *.mkv and to convert into *.mp4
right now I'm using the following codes to convert .mkv videos to .mp4


<?php 
 $folder = '/path/to/video/folder';
 $filename = 'a.name.of.the.video.mkv';
 $newFilename = pathinfo($filename, PATHINFO_FILENAME).'.mp4';
 exec('/usr/bin/ffmpeg -i '.$folder.DIRECTORY_SEPARATOR.$filename.' -codec copy '.$folder.DIRECTORY_SEPARATOR.$newFilename.' 2>&1', $out, $error);

?>



The above codes are working fine but I want to convert all videos ending with .mkv to .mp4 without manually setting their names.


I want the PHP version of the following command using above working codes.


for i in *.mkv; do
 ffmpeg -i "$i" -codec copy "${i%.*}.mp4"
done



I have tried this so far but did not work


exec('/usr/bin/ffmpeg for i in '.$folder.'*.mkv; do ffmpeg -i "$i" -codec copy "${i%.*}.mp4" done');



-
How do you merge an audio mp4 and video mp4 with ffmpeg in python 3 ?
29 septembre 2020, par myth0sI'm creating a script in python, that at one point needs to take two files, an audio mp4 file and video mp4 file, and merge them together. They are both of the same length, and the video file matches with the audio file. However, I can't seem to get them to merge.


I first tried :


input_video = ffmpeg.input(onlyVidPath + "/" + inputVidTitle + ".mp4")
input_audio = ffmpeg.input(audioPath + "/" + inputAudTitle + ".mp4")
fullOut = ffmpeg.output(input_video, input_audio, vidPath, f='mp4', vcodec='copy', acodec='aac', strict='experimental')
fullOut.run()



Which gave a long Traceback error, that seemed to go through the ffmpeg library, and finally gave the error "FileNotFoundError : [WinError 2] The system cannot find the file specified"


That didn't work.
Next I commented that out (except for input_video and input_audio), and tried this :


ffmpeg.concat(input_video, input_audio, v=1, a=1).output(vidPath, f='mp4', vcodec='copy').run()



This went through the same error, ending with "FileNotFoundError : [WinError 2] The system cannot find the file specified".


Am I using this correctly ? How do I merge two files, one video only, one audio only, in python with ffmpeg ?