Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (62)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

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

  • How to averagely extract frames from a video using ffmpeg by specifying "fps"

    14 juin 2021, par alanzzz

    I have a job of using ffmpeg to extract the frames averagely from a video, with different fps. I use this command for it.

    


    ffmpeg -i input.mp4 -r specified_fps -q:v 2 image %4d.png

    


    And I have 3 questions about this task.

    


      

    1. what I expect is that if I double the fps, the number of extracted frames will also get doubled. However, that's not the case. Take one of the input videos as an example.
    2. 


    


    video info

    


      

    • Duration : 1min18s
    • 


    • Total number of frames : 2340
    • 


    • Frame rate mode : constant (CFR)
    • 


    • Frame rate : 30.0 FPS
    • 


    


    Config setting & results

    


      

    • FPS=1 => number of frames=80
    • 


    • FPS=2 => number of frames=158 (2x80-2)
    • 


    • FPS=3 => number of frames=236 (3x80-4)
    • 


    • FPS=5 => number of frames=392 (5x80-8)
    • 


    


    Is it possible for me to get the exact doubled number of frames when fps get doubled ? In such case, number of frames is 160 for FPS=2, 240 for FPS=3, 400 for FPS=5.

    


      

    1. I check for the output images, the extracted frames in different fps are totally different from each other. In other words, for example, the 1st image for fps=1 is not the same as the 1st image for fps=2. Is that legitimate ? And is it possible for me the get some identical images for different fps ?

      


    2. 


    3. The last problem is that for some videos I use, the difference between the 1st and 2nd image is different from the difference between the 2nd and 3rd. While for the remaining images, the differences become average. To be specific, there is only a slight change from 1st to 2nd frame, while for 2nd to 3rd, 3rd to 4th, and so on, the changes are the same, which is normally distributed according to the specified FPS. I am wondering why such a case happens ? Does it related to the I-frame, B-frame, P-frame, GOP or IDR ?

      


    4. 


    


    I am new to this field and cannot find some useful info from other places. I've tried my best to describe my questions clearly. Feel free to leave some comments. Any help would do me a great favor. Thanks in advance !

    


  • Revert "avcodec/nvdec_av1 : fix setting film grain parameters for frames with update_g...

    25 novembre 2020, par James Almer
    Revert "avcodec/nvdec_av1 : fix setting film grain parameters for frames with update_grain == 0"
    

    This reverts commit f9eec6298387fe72cd8035ff45276cfc3da784a8.

    This does not effectively cover all cases. The values for some frames need
    to be inferred by the decoder.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/nvdec_av1.c
  • FFMPEG tee muxer giving "Output file #0 does not contain any stream"

    31 août 2020, par Giorgi Aptsiauri

    I am trying to create two streams : one is mpegts UDP stream another - rtmp to Twitch servers.

    &#xA;

    This command works :

    &#xA;

      ffmpeg -threads:v 2 -threads:a 16 -filter_threads 2 -thread_queue_size 16 -y \&#xA; -f dshow -video_size 1920x1080 -pixel_format uyvy422 -framerate 25 -rtbufsize 500M -i video="Decklink Video Capture" \&#xA; -f dshow -rtbufsize 100M -i audio="Decklink Audio Capture" \&#xA; -preset ultrafast -c:v libx264 -tune zerolatency -b:v 900k -map 0:v:0 -f mpegts udp://127.0.0.1:5555 \ &#xA; -pix_fmt yuv420p -c:v libx264 -crf 20 -tune zerolatency -f flv rtmp://live-fra05.twitch.tv/app/stream_key&#xA;

    &#xA;

    But it requires double the encoding CPU power.

    &#xA;

    So, following this, I rewrote the command like this :

    &#xA;

    ffmpeg -threads:v 2 -threads:a 16 -filter_threads 2 -thread_queue_size 16 -y \&#xA; -f dshow -video_size 1920x1080 -pixel_format uyvy422 -framerate 25 -rtbufsize 500M -i video="Decklink Video Capture" \&#xA; -f dshow -rtbufsize 100M -i audio="Decklink Audio Capture" \&#xA; -preset ultrafast -c:v libx264 -tune zerolatency -b:v 900k \&#xA; -f tee "[select=\&#x27;0:v:0\&#x27;:f=mpegts]udp://127.0.0.1:5555|[select=\&#x27;0:v:0,1:a:0\&#x27;:f=flv]rtmp://live-fra05.twitch.tv/app/stream_key"&#xA;

    &#xA;

    By writing -f tee "[select=\&#x27;0:v:0\&#x27;:f=mpegts]udp://127.0.0.1:5555|[select=\&#x27;0:v:0,1:a:0\&#x27;:f=flv]rtmp://live-fra05.twitch.tv/app/stream_key", I mean :

    &#xA;

      &#xA;
    • create UDP stream at udp ://127.0.0.1:5555 and only include video stream from "Decklink Video Capture"
    • &#xA;

    • create RTMP stream where we include the same video stream as above and also the audio stream from "Decklink Audio Capture"
    • &#xA;

    &#xA;

    I get the error message :

    &#xA;

    Output file #0 does not contain any stream&#xA;

    &#xA;

    How do I fix this ? I assume I made a mistake in the command.

    &#xA;