Recherche avancée

Médias (0)

Mot : - Tags -/latitude

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

Autres articles (95)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

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

Sur d’autres sites (14100)

  • swscale : make handle_formats() safe to be called multiple times

    14 juillet 2013, par Michael Niedermayer
    swscale : make handle_formats() safe to be called multiple times
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libswscale/utils.c
  • FFmeg : How to apply one unique filter type with varying durations at different times in a video

    26 janvier 2023, par Faxopita

    I'd like to crop top and bottom black bars of a movie. Unfortunately, black bar thickness varies during movie runtime at specific times. So I use the following command to collect crop data at specific times in the movie :

    &#xA;

    $ ffmpeg -ss 00:03:00 -i "$f" -t 1 -vf cropdetect -f null - 2>&amp;1 | awk &#x27;/crop/ { print $NF }&#x27; | tail -1&#xA;

    &#xA;

    Then, I execute again this command at a different start time (replacing, e.g. 00:03:00 by 00:43:17) to collect another crop data.

    &#xA;

    Now, I'd like to use those crop data in a filter. First crop data to be applied for specific duration beginning from specific time and second crop data to be applied for another specific duration beginning from another specific time in the movie.

    &#xA;

    I thought I could use something like :

    &#xA;

    -vf="crop=3840:2016:0:72,enable=between(t,0,10),crop=2832:1600:1008:280,enable=between(t,10,50)"&#xA;

    &#xA;

    But not working.

    &#xA;

  • Same frame multiple times when using select and vframes

    26 octobre 2023, par BlueMagma

    I'm using ffmpeg in python using the ffmpeg-python wrapper

    &#xA;

    I run the following :

    &#xA;

    filename = "something.mp4"&#xA;frame_number = 5 # It works fine if I ask to start at 0&#xA;&#xA;out, err = (&#xA;    ffmpeg.input(filename)&#xA;    .filter_(&#x27;fps&#x27;, fps=10)&#xA;    .filter_(&#x27;select&#x27;, &#x27;gte(n,{})&#x27;.format(frame_number))&#xA;    .output(&#x27;pipe:&#x27;, format=&#x27;rawvideo&#x27;, pix_fmt=no,uint32, vframes=5)&#xA;    .run(capture_stdout=True, capture_stderr=True)&#xA;)&#xA;print(out)&#xA;# Then I parse it into numpy array&#xA;

    &#xA;

    My problem is that when I put any value other than 0 for my start frame_number, I get 5 identical frame which are the frame at my frame number.

    &#xA;

    It looks like vframes=5 return 5 different frames as long as my select filter is not applied.

    &#xA;

    But as soon as we select frames >= N, then it returns that Nth frame 5 times

    &#xA;

    What I have done wrong ?&#xA;How should I do what I'm trying to do ?

    &#xA;

    EDIT :

    &#xA;

    To help visualize what I mean here are a few examples :

    &#xA;

    frame_number = 0, vframes=5 : [0,1,2,3,4] GOOD

    &#xA;

    frame_number = 5, vframes=1 : [5] GOOD

    &#xA;

    frame_number = 5, vframes=5 : [5,5,5,5,5] BAD, expected : [5,6,7,8,9]

    &#xA;