
Recherche avancée
Autres articles (69)
-
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 -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6951)
-
Directly response video to the client for download when ffmpeg cutting the video
7 mars 2023, par web disinerI am bulding a web application using Node.js with Express framework. That simply cut the video and send to the client browser as a response for download. For cutting a video i use FFmpeg tool.
all things working fine but ffmpeg cutted video save to working directory.


Below is my code..


const child_process= require("child_process")

const cutting =async()=>{
 ffmpeg = child_process.spawn('ffmpeg', [

 "-i", /video.mp4,
 "-ss", "00:02:20",
 "-to","00:02:50",
 "-c:v", "copy", 
 "-c:a", "copy", 
 "output3.mp4"






 ])
 ffmpeg.stderr.on('data', function(data) {
 console.log('ffmpeg stderr data = '+data );
 });

}



This is image of working directory


Now i want when
**ffmpeg cutting the video it directly send chunks of video to the client for download **
without saving it in working directory or server where my code is hosted.

How can i do this ? which approch will useful for this ?
Anyone help me. much appreciated
Thanks


-
ffmpeg terminal : How can I re-encode a video file using all the parameters copied from another video ? [closed]
5 décembre 2022, par LeverI have two videos A and B. How can I re-encode B using ALL the parameters of A ?
I would like to use both A and B as inputs, but all parameters are extracted from A, then B is re-encoded with the A-parameters including both video and audio. Is there a simple command to copy ALL the parameters of A ?


Thanks !


I know the typical parameters of a video includes the resolution, fps and so on. But it seems that I always miss something rather than get ALL the parameters to make A and B the same.


The background is that I need to concatenate about 100 videos, but only a few of which has lower quality than others. I don't want to re-encode all of them. Therefore I'm trying to re-encode the lower ones to match the others, and then I can use the file-level concatenation command avoiding re-encode all of them.


-
ffmpeg merge silent video with another video+audio
4 mars 2016, par Mark DaggerI want to create, in a single command, a video from 3 sources :
- a silent background video ;
- a smaller video to be overlayed (same length of 1), KEEPING its AUDIO ;
- a PNG logo to be overlayed
I can create the video but cannot get the audio track. I don’t understand if
-vf
is supposed to work in this case. This is what I’ve tried to do :ffmpeg.exe -y -i MASTER_SILENT_VIDEO.mp4 -vf "movie=SMALLER_VIDEO_WITH_AUDIO.flv, scale=320:-1[inner];movie=MY_LOGO.png[inner2]; [in][inner] overlay=800:480,amerge [step1]; [step1][inner2] overlay=30:30 [out]" completed.mp4
The "amerge" filter should do the audio merging job, but of course it doesn’t work. I’ve found similar questions involving
-map
or filtergraph but they refer to mixing a video source and an audio source ; I tried several filtergraph examples without success. Any idea ?