Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (42)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une 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 (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette 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.

Sur d’autres sites (4547)

  • Directly response video to the client for download when ffmpeg cutting the video

    7 mars 2023, par web disiner

    I 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

    


  • How to include both audios when overlay video on video with FFMPEG

    28 septembre 2021, par Yogas

    I have 2 inputs : video.mp4 (with audio) and notif.mov (with audio). I want to overlay notif.mov on video.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).

    


  • Cropping black bars in video with ffmpeg on ubuntu changes video size

    9 décembre 2013, par pramod

    I 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