[FFmpeg-trac] #6975(ffplay:closed): Recent change to sync video output to screen refresh conflicts with -noframedrop

FFmpeg trac at avcodec.org
Mon Jan 22 13:33:12 EET 2018


#6975: Recent change to sync video output to screen refresh conflicts with
-noframedrop
------------------------------------+-----------------------------------
             Reporter:  Misaki      |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  ffplay
              Version:  git-master  |               Resolution:  invalid
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * status:  new => closed
 * resolution:   => invalid
 * component:  undetermined => ffplay


Comment:

 Replying to [ticket:6975 Misaki]:

 > {{{
 > $ ffmpeg -filter_complex color=black:r=120 -t 10 black.mp4
 > $ ffplay -noframedrop black.mp4
 > }}}
 >
 > This will show video falling behind as shown with M-V, if your refresh
 rate is less than 120.

 This is the expected behaviour afaict (what else would `noframedrop`
 mean?) that is also reproducible with old versions of FFplay, why do you
 believe there is a bug?
 {{{
 $ time ffplay -noframedrop black.mp4 -autoexit
 ffplay version 0.9, Copyright (c) 2003-2011 the FFmpeg developers
   built on Nov 22 2012 09:29:11 with gcc 4.7.1 20120723 [gcc-4_7-branch
 revision 189773]
   configuration: --enable-gpl
   libavutil    51. 32. 0 / 51. 32. 0
   libavcodec   53. 42. 0 / 53. 42. 0
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 53. 0 /  2. 53. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'black.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf55.48.100
   Duration: 00:00:10.00, start: 0.000000, bitrate: 27 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
 320x240 [SAR 1:1 DAR 4:3], 15 kb/s, 120 fps, 120 tbr, 15360 tbn, 240 tbc
     Metadata:
       handler_name    :
    9.97 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   0/0

 real    0m20.704s
 user    0m0.549s
 sys     0m0.126s
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6975#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list