Opened 13 years ago

Closed 12 years ago

#1379 closed defect (fixed)

Excessive logging of "Adjusting PTS forward" with dvd mpeg2 ps

Reported by: Andy Furniss Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mpegps
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Carl Eugen Hoyos)

Noticed with mplayer, reproduced here with ffplay, which at default logging isn't as bad as mplayer as the logging doesn't scroll - it does trash the status line though.

To reproduce play a dvd program stream and skip forward using arrow key.

With higher logging levels there is a lot of logging even without skipping, examples of both below.

I assume this is since -
http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75b38674b6346da894f025a4b3f1cd2a468353bc

[andy@amd ffmpeg]$ ./ffplay ../../dvd.ps 
ffplay version N-41142-g8f61526 Copyright (c) 2003-2012 the FFmpeg developers
  built on May 30 2012 11:07:42 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
  configuration: --enable-gpl
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 0xb2201320] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from '../../dvd.ps':                                                                                                                                                                                                         
  Duration: 00:05:31.56, start: 0.287267, bitrate: 5000 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
    Stream #0:2[0x21]: Subtitle: dvd_subtitle
    Stream #0:3[0x20]: Subtitle: dvd_subtitle
[mpeg @ 0xb2201320] Adjusting PTS forward=13939KB sq=    0B f=0/0   f=0/0   
    Last message repeated 42 times                                                                                                                                                                                                           
[ac3 @ 0xb6922a20] frame sync error
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
  20.38 A-V:  0.012 fd=  59 aq= 1430KB vq=13952KB sq=    0B f=0/0                                                                                                                                                                            
    Last message repeated 848 times





[andy@amd ffmpeg]$ ./ffplay -v 9 -loglevel 99 ../../dvd.ps 
ffplay version N-41142-g8f61526 Copyright (c) 2003-2012 the FFmpeg developers
  built on May 30 2012 11:07:42 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
  configuration: --enable-gpl
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 0xb2201320] Format mpeg probed with size=8192 and score=52
[mpeg @ 0xb2201320] File position before avformat_find_stream_info() is 0                                                                                                                                                                    
[mpeg @ 0xb2201320] probing stream 0 pp:2500                                                                                                                                                                                                 
[mpeg @ 0xb2201320] Probe with size=2012, packets=1 detected mpegvideo with score=25                                                                                                                                                         
[mpeg @ 0xb2201320] probing stream 0 pp:2499                                                                                                                                                                                                 
[mpeg @ 0xb2201320] Probe with size=4037, packets=2 detected mpegvideo with score=25                                                                                                                                                         
[mpeg @ 0xb2201320] probing stream 0 pp:2498                                                                                                                                                                                                 
[mpeg @ 0xb2201320] Probe with size=6062, packets=3 detected mpegvideo with score=25                                                                                                                                                         
[mpeg @ 0xb2201320] probing stream 0 pp:2497                                                                                                                                                                                                 
[mpeg @ 0xb2201320] probing stream 0 pp:2496                                                                                                                                                                                                 
[mpeg @ 0xb2201320] Probe with size=10112, packets=5 detected mpegvideo with score=51                                                                                                                                                        
[mpeg @ 0xb2201320] probed stream 0                                                                                                                                                                                                          
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 33054 in que                                                                                                                                                                      
    Last message repeated 2 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 47454 in que
    Last message repeated 2 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 65454 in que
    Last message repeated 1 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 76254 in que
    Last message repeated 2 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 90654 in que
    Last message repeated 2 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 108654 in que
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 113694 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 139614 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 165534 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 191454 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 217374 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 243294 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 281454 in que                                                                                                                                                                     
    Last message repeated 1 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 269214 in que
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 295134 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 321054 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 346974 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 372894 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 398814 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 424734 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] max_analyze_duration 5000000 reached at 5000000                                                                                                                                                                          
[mpeg @ 0xb2201320] File position after avformat_find_stream_info() is 0                                                                                                                                                                     
Input #0, mpeg, from '../../dvd.ps':                                                                                                                                                                                                         
  Duration: 00:05:31.56, start: 0.287267, bitrate: 5000 kb/s
    Stream #0:0[0x1e0], 127, 1/90000: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/50, 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80], 124, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
    Stream #0:2[0x21], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:3[0x20], 0, 1/90000: Subtitle: dvd_subtitle
[mpeg2video @ 0xb2200780] detected 4 logical cores
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 33054 in que                                                                                                                                                                      
    Last message repeated 2 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 47454 in que
    Last message repeated 2 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 65454 in que
    Last message repeated 1 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 76254 in que
    Last message repeated 2 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 90654 in que
    Last message repeated 2 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 108654 in que
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 113694 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 139614 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 165534 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 191454 in que0                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 217374 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 243294 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 22254 not matching first dts 281454 in que                                                                                                                                                                     
    Last message repeated 1 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 269214 in que
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 295134 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 321054 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 346974 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 372894 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 398814 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 424734 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 450654 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 476574 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 502494 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 528414 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 554334 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 580254 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 606174 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 632094 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 658014 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 683934 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 709854 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 735774 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 761694 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 787614 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 813534 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 839454 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 865374 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 891294 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 917214 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 943134 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 969054 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 994974 in que                                                                                                                                                                     
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1020894 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1046814 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1072734 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1098654 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1124574 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1150494 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1176414 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1202334 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1228254 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1254174 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1280094 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1306014 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1331934 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1357854 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1383774 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1409694 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1435614 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1461534 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1487454 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1513374 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1539294 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1565214 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1591134 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1617054 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1642974 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1668894 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1694814 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1720734 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1746654 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1772574 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1798494 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1824414 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1850334 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1876254 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1902174 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1928094 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1954014 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1979934 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2005854 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2031774 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2057694 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2083614 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2109534 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2135454 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2161374 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2187294 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2213214 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2239134 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2265054 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2290974 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2316894 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2342814 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2368734 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2394654 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2420574 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2446494 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2472414 in que                                                                                                                                                                    
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 2498334 in que                                                                                                                         

### skip forward here ###
                                          
[mpeg @ 0xb2201320] Adjusting PTS forward=13911KB sq=    0B f=0/0                                                                                                                                                                            
    Last message repeated 3 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1205214 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1231134 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1257054 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1282974 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1308894 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1334814 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1360734 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1386654 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1412574 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1438494 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1464414 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1490334 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1516254 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1542174 in que
[mpeg @ 0xb2201320] Adjusting PTS forward                                                                                                                                                                                                    
    Last message repeated 7 times                                                                                                                                                                                                            
[mpeg @ 0xb2201320] first_dts 90654 not matching first dts 1568094 in que

Change History (2)

comment:1 by Andy Furniss, 12 years ago

This is fixed now.

Though I can't see how to close it.

comment:2 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavformat
Description: modified (diff)
Keywords: mpegps added
Resolution: fixed
Status: newclosed

Thank you for testing again!

Note: See TracTickets for help on using tickets.