Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (94)

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

  • 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

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

  • How to process video stream ?

    27 avril 2016, par sharpener

    I would like to ask some experienced multimedia professional how to proceed with following task :

    Given URL provides video stream and we would like to get access to decoded frames (byte stream in memory) in managed Win7+ application (C#). We don’t want to render/present the frames the standard way. The video format is known but not fixed (might get changed between two successive sessions, but we will know the parameters).

    So far, I have found there are several methods and I have build following picture in my mind :

    1. ffmpeg wrapper
      • Pros
        1. Self contained (no dependency to windows technologies)
        2. Powerful
      • Cons
        1. Little more complex to understand
        2. Lot of different wrapping variants (FFmpeg.NET, ffmpeg-sharp, ffmpeg-shard, FFmpeg.AutoGen, ...)
    2. DirectShow wrapper
      • Pros
        1. Widely used/supported technology (variaous filters freely available)
        2. Nice/detailed documentation on MSDN
      • Cons
        1. Quite old
        2. Considered obsolete from the point of author’s view (available only for desktop model on runtime >= Win8)
    3. MediaFoundation wrapper
      • Pros
        1. Theoretical successor of DirectShow, so should be available in the future
      • Cons
        1. Seems to be not as good as DirectShow
        2. Not very popular, limited "community" support
    4. FFmpegInterop wrapper
      • Pros
        1. Microsoft’s open source wrapper alternative
      • Cons
        1. Not available for runtime < Win8
  • Extract alpha from video ffmpeg android

    24 juin 2018, par Yarik Denisyk

    I want to overlay transparent video on the background image. I have a video where the top half is RGB object and bottom half is an alpha mask.

    My frame for example

    Now, for making this I do next steps :

    1) I am extracting all frames from video and save to the folder

    2) Each frame splitting to top and bottom half bitmap

    3) Top bitmap composite with bottom mask for extract alpha and get a frame with transparent background

    3) I am drawing each frame on the background and save to a folder

    4) Create a video using FFmpeg

    The problem is step 2, 3 and 4, they very slow. Maybe has another way to overlay transparent video on the background image ?

  • ffmpeg zoompan + crop

    24 février 2021, par andykais

    I need to pan across a video that is also being cropped by ffmpeg. How can I accomplish this in a single ffmpeg command ?

    &#xA;

    So far I see two possible options :

    &#xA;

    Option #1 : use crop variables pan across the video. This is choppy, but possibly fixed by upscaling the input.

    &#xA;

    ffmpeg -i input.mp4 -vf &#x27;crop=w=in_w/2:h=in_h:x=t*10&#x27; crop_panned_output.mp4&#xA;

    &#xA;

    Option #2 : create an alpha mask in the shape of the crop, and then apply it on top of the input video with a zoompan filter. ffmpeg is doing extra work in this case, because we have to pad the input, then zoom in on it, then pan across it, then apply the alpha mask. This is actually using the "zoompan" feature to "pan" though.

    &#xA;

    magick -size 1920x1080 xc:none -fill black -draw "rectangle 480,0 1440,1080" rectangular-alpha-mask.png&#xA;ffmpeg -i input.mp4  -i rectangular-alpha-mask.png  -filter_complex "&#xA;  [0:v]pad=2112:1188,zoompan=z=1.1:px&#x2B;0.5:d=1:fps=60:s=1920x1080[input_pan];&#xA;  [1:v]alphaextract[alf];&#xA;  [input_pan][alf]alphamerge[masked];&#xA;  color=s=1920x1080:color=red[base];&#xA;  [base][masked]overlay=shortest=1&#xA;"  mask_panned_output.mp4&#xA;

    &#xA;

    Are either of these the right way to do it or are they incredibly inefficient ? Is there another option ? Cropping & panning together feels like a fairly common workflow, but these solutions feel a bit hacky.

    &#xA;

    Here is a visual description of what panning and cropping a video looks like :

    &#xA;

    First start with a video. Here is a simple one.&#xA;testing description

    &#xA;

    I want to crop the video to a certain width/height, and move from the left to the right across the video. The background is colored red for clarity&#xA;enter image description here

    &#xA;

    The video moves from left to right across the original video, and keeps the same crop ratio.&#xA;enter image description here

    &#xA;