Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (75)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (12174)

  • 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

    


  • ffmpeg terminal : How can I re-encode a video file using all the parameters copied from another video ? [closed]

    5 décembre 2022, par Lever

    I 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 Dagger

    I want to create, in a single command, a video from 3 sources :

    1. a silent background video ;
    2. a smaller video to be overlayed (same length of 1), KEEPING its AUDIO ;
    3. 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 ?