
Recherche avancée
Autres articles (49)
-
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 (...) -
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. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (3641)
-
Cropping black bars in video with ffmpeg on ubuntu changes video size
9 décembre 2013, par pramodI have a source video size that's 720x576 with black rectangles on the top and bottom.
I want to remove the black rectangles and set the output video size to 640x352.
I tried
-vf cropdetect
and the value it gave was 640:192:0:80.However, putting that same value in
crop=<parameter></parameter>
changes the output video size.How can I fix this ?
E.g. :
ffmpeg -i all_the_best_test.mpg -s 640x352 -deinterlace -b 500k -minrate 500k \
-maxrate 500k -aspect 1.82 -force_fps -vcodec libx264 -me_method 10 \
-vf crop=640:192:0:80 -r 25 -acodec libfaac -ac 2 -ar 44100 -ab 96k -subq 6 \
-vpre medium /vod/Movies/final/allthebest-crop-2.mp4 -
How to include both audios when overlay video on video with FFMPEG
28 septembre 2021, par YogasI have 2 inputs :
video.mp4
(with audio) andnotif.mov
(with audio). I want to overlaynotif.mov
onvideo.mp4
. I tried this code :

ffmpeg -y -i video.mp4 -i "notif.mov" -filter_complex "[0:v][1:v]overlay=0:0" output.mp4



Both videos playing simultaneously, but sound missing from second input (
notif.mov
).

-
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