
Recherche avancée
Autres articles (40)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (7950)
-
avformat/mpegtsenc : Change the service_type field to enum
2 février 2015, par Michael Niedermayer -
avcodec/mjpegenc_common : do not ignore the color_range field
10 août 2015, par Michael Niedermayer -
FFmpeg cannot extract correct first frame - always extract the second frame [closed]
21 octobre 2024, par Cai YuI am on macos Ventura 13.2.1, on Macbook Pro M1Max.


The video is number counting animation video. From 2 to 125. The number on first frame is 2. The number on last frame is 125. The number plus one on each frame. You can download the video here.


NOTE that :
First, you hit space bar to play it in Finder, you can see the first frame of the video is number 2.


Second, in professional Video editing software - davinci resolve, on the timeline, you can see the first frame is number 2.


Now I try to use FFmpeg to extract the first frame of the video.
First Try :


ffmpeg -i /Users/chris/Downloads/2to125.mov -vframes 1 /Users/chris/Downloads/1.png



The output png image is number 3. So it's actually the second frame.


Second try :


ffmpeg -i /Users/chris/Downloads/2to125.mov -frames:v 1 /Users/chris/Downloads/1.png



The output png image is still the second frame - the number 3.


Third try :


ffmpeg -i /Users/chris/Downloads/2to125.mov -vf "select=eq(n\,0)" -q:v 3 /Users/chris/Downloads/1.png



The output image is sitll the wrong second frame.


NOTE that :


first : all these three method are from internet. And a lot of people voted correct answer for this question.


second : all their output on my system is the incorrect second frame, not the first frame.


I cannot find what's wrong. Hope friend here help me.