Recherche avancée

Médias (91)

Autres articles (64)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (11650)

  • Extracting audio from video per video frame (C++) [on hold]

    5 septembre 2015, par PaulZyCZ

    Several days ago I had written an interface (in C) to simple DLL library which processes video in OpenCV using Qt5 framework. There is a function which takes frame ID and returns the raw picture data of the frame (so it can be played in Unity using C#). There is however no function to extract corresponding audio. So I am looking for a way to write such a function.

    I am thinking of a way to extract audio from video file (say MP4 with MPEG-4), with length of the corresponding video frame. But so far I have found only tutorials about extracting whole track (via FFMPEG) either to save or play the sound.

    Is there a way to extract only a "frame" (1/fps seconds of audio) ? Or would it be better to create indexes and extract whole track ?

    Thank you for answers.

    PS : Usual questions deal with whole track, not one frame-length sample specified by video frame ID. I have little knowledge of the FFMPEG and it has been several months since I used it last in uni project.

    I have frame, it’s ID, but no sound to it.

  • How to add audio of both the video when overlaying one video over the other in FFmpeg ?

    22 juillet 2022, par Sanyem Nazkani

    I want to overlay V1 video over D2 video and want to use the audio of both V1 and D2. Can someone please help me in this ?

    


    ffmpeg -i D ://python/E1.mp4 -i D ://python/V1.mp4 -filter_complex "[1]setpts=PTS-STARTPTS+10/TB[top] ;[0:0][top]overlay=275:300:enable='between(t,18.20,27.10)'[out]" -shortest -map [out] -map 0:1 -pix_fmt yuv420p -c:a copy -c:v libx264 -crf 18 D ://python/Output.mp4

    


  • How to get video size of compressed video by ffmpeg ?

    28 septembre 2017, par Mani Kandan

    Hi we are using ffmpeg for compressing the video through php script, now what i need is i want to get the video size of compressed image, but am getting an video path so kindly guide me how i need to over come this ?

    Below is the code what i used for compressing the video

    original path

    $path = "sample.mp4";

    Command to compress

    exec("ffmpeg -i sample.mp4 -vcodec h264 -acodec aac -strict -2 compressed_video.mp4);

    The command what i used for getting video size

    $compressed_video_information = exec("ls -h1 compressed_video.mp4);
    echo $compressed_video_information;

    I get just file path instaed of getting video file size, so someone help me how to overcome this issue ?