Recherche avancée

Médias (91)

Autres articles (87)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (11876)

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