Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (6582)

  • ffmpeg c/c++ get frame count or timestamp and fps

    25 octobre 2020, par broschb

    I am using ffmpeg to decode a video file in C. I am struggling to get either the count of the current frame I am decoding or the timestamp of the frame. I have read numerous posts that show how to calculate an estimated frame no based on the fps and frame timestamp, however I am not able to get either of those.

    



    What I need : fps of video file, timestamp of current frame or frame no(not calculated)

    



    What I have : I am able to get the time of the video using

    



    pFormatCtx->duration/AV_TIME_BASE


    



    I am counting the frames currently as I process them, and getting a current frame count, this is not going to work longterm though. I can get the total frame count for the file using

    



    pFormatCtx->streams[currentStream->videoStream]->nb_frames


    



    I have read this may not work for all streams, although it has worked for every stream I have tried.

    



    I have tried using the time_base.num and time_base.den values and packet.pts, but I can't make any sense of the values that I am getting from those, so I may just need to understand better what those values are.

    



    Does anyone know of resources that show examples on how to get this values ?

    


  • avformat/mvi : Check count for overflow

    19 octobre 2020, par Michael Niedermayer
    avformat/mvi : Check count for overflow
    

    Fixes : left shift of 21378748 by 10 places cannot be represented in type 'int'
    Fixes : 26449/clusterfuzz-testcase-minimized-ffmpeg_dem_MVI_fuzzer-5680463374712832

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/mvi.c
  • ffmpeg add watermark by output part count (watermark1.png for part 1, ...)

    12 octobre 2020, par Steapy

    I have currently following code (not optimized yet !) :

    &#xA;

    converter.StartInfo.Arguments = @"-i video.mp4 -i watermark.png -filter_complex ""overlay = x = (main_w - overlay_w) / 2:y = (main_h - overlay_h) / 2"" output%03d.mp4";&#xA;

    &#xA;

    This renders all my parts with the same "watermark.png" file as a watermark. But now i want to do something like this :

    &#xA;

    converter.StartInfo.Arguments = @"-i video.mp4 -i watermark%03d.png -filter_complex ""overlay = x = (main_w - overlay_w) / 2:y = (main_h - overlay_h) / 2"" output%03d.mp4";&#xA;

    &#xA;

    "output000.mp4" has "watermark000.png" as a watermark,&#xA;"output001.mp4" has "watermark001.png" as a watermark,&#xA;"output002.mp4" has "watermark002.png" as a watermark, ...

    &#xA;

    I need it in only one line, as if i would type it in cmd and it should work in c# with UseShellExecute=false.

    &#xA;

    Any idea ?

    &#xA;