Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (70)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8713)

  • aarch64 : vp9 : loop_filter : fix typo in skip flatout8 check

    14 novembre 2016, par Janne Grunau
    aarch64 : vp9 : loop_filter : fix typo in skip flatout8 check
    

    The 16_16 loop filter functions could miss an early exit before
    flatout8.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/aarch64/vp9lpf_neon.S
  • Any other better ways to extract frames from a large size video according to the timecode given ?

    6 avril 2020, par Yong En

    Given a video from youtube with at least 600 MB. The video is annotated with labels that happens in multiple timecodes. The timecodes are in millisecond (SSSS.ss). I am trying to get the frames that fall within a time period (2 timecodes). There are TWO approaches that I used with different tools, one is using openCV in python and FFmpeg in bash script :

    &#xA;&#xA;

    I would stick with few variables here,

    &#xA;&#xA;

      &#xA;
    • fps = 25
    • &#xA;

    • timecode (after convert into second) = 333.44 to 334.00 take note that I am dealing with time period that might less than a second.
    • &#xA;

    &#xA;&#xA;

    openCV

    &#xA;&#xA;

      &#xA;
    1. Using openCV in python, I read the video as frames into a numpy array. Using the fps from video, 25. I can estimate where do the frames that fall under this time period by diving total video duration in second with length of the numpy array.
    2. &#xA;

    3. Problem here is I will miss out some frames here due to the video fps is not really 25 as given by the video meta info, it could be 24.xx. Any solutions ?
    4. &#xA;

    &#xA;&#xA;

    ffmpeg

    &#xA;&#xA;

      &#xA;
    1. What I did, every time I want to get the frames, I run the script.
    2. &#xA;

    3. Problem here is I need to read the video 100 times if I have 100 time periods. Any ways to overcome this ?
    4. &#xA;

    &#xA;&#xA;

    Thanks for reading it.

    &#xA;

  • FFmpeg convert video to images with complex logic

    18 juillet 2020, par Udi

    I'm trying to use FFMPEG in order to solve some complex logic on my videos.

    &#xA;

    The business logic is the following :&#xA;I get videos from the formats : avi, mp4, mov.

    &#xA;

    I don't know what is the content in the video. It can be from 1M to 5G.

    &#xA;

    I want to output a list of images from this video with the higher quality I can get. Capturing only frames that have big changes from their previous frame. (new person, a new angle, big movement, etc)

    &#xA;

    In addition, I want to limit the number of frames per second that even if the video is dramatically fast and has changed all the time it will not produce more frames per second than this parameter.

    &#xA;

    I'm using now the following command :

    &#xA;

    ./ffmpeg -i "/tmp/input/fast_movies/3_1.mp4" -vf fps=3,mpdecimate=hi=14720:lo=7040:frac=0.5 -vsync 0 -s hd720 "/tmp/output/fast_movies/(#%04d).png"&#xA;

    &#xA;

    According to my understanding it doing the following :&#xA;fps=3 - first cut the video to 3 frames per second (So that is the limit I talked about)

    &#xA;

    mpdecimate - filter frames that doesn't have greater changes than the thresholds I set.

    &#xA;

    -vsync 0 - sync video timestamp - I'm not sure why but without it - it makes hundereds of duplicate frames ignoring the fps and mpdecimate command. Can someone explain ?

    &#xA;

    -s hd720 - set video size to

    &#xA;

    It works pretty well but I'm not so happy with the quality. Do you think I miss something ? Is there any parameter in FFMPEG that I better use it instead of these ones ?

    &#xA;