Opened 11 years ago

Closed 9 years ago

#2797 closed defect (needs_more_info)

Context information missing on the console

Reported by: Kyle Owned by:
Priority: normal Component: avutil
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -i input ... output
ffmpeg version
built on ...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (2)

consoleOutput.txt (98.5 KB ) - added by Kyle 11 years ago.
console output
consoleOutput (415.1 KB ) - added by Kyle 11 years ago.

Download all attachments as: .zip

Change History (17)

by Kyle, 11 years ago

Attachment: consoleOutput.txt added

console output

comment:1 by Kyle, 11 years ago

ffmpeg -loglevel debug xxx.mp4 -vcodec libx264 -pass 1 -passlogfile target1 -ssim 1 -psnr -b 300000 target1.mp4 -vcodec libx264 -pass 1 -passlogfile target2 -ssim 1 -psnr -b 450000 target2.mp4 -vcodec libx264 -pass 1 -passlogfile target3 -ssim 1 -psnr -b 600000 target3.mp4

I was trying to encode to 3 outputs and analyze them individually for some frames, they don't come with an output identifier like "[libx264 @ 00000000025197a0]" so I can't tell which output it belongs to. Can you look into this?

Thanks!

comment:2 by Carl Eugen Hoyos, 11 years ago

Please explain what is missing in FFmpeg's output.

in reply to:  2 comment:3 by Kyle, 11 years ago

Replying to cehoyos:

Please explain what is missing in FFmpeg's output.

[libx264 @ 000000000495b3c0] frame= 116 QP=0.00 NAL=0 Slice:B Poc:230 I:0 P:0 SKIP:1584 size=25 bytes PSNR Y:95.76 U:100.00 V:100.00 SSIM Y:1.00000
[libx264 @ 0000000002516c60] frame= 116 QP=0.00 NAL=0 Slice:B Poc:230 I:0 P:0 SKIP:1584 size=25 bytes PSNR Y:96.43 U:100.00 V:100.00 SSIM Y:1.00000
[libx264 @ 00000000025197a0] frame= 116 QP=0.00 NAL=0 Slice:B Poc:230 I:0 P:0 SKIP:1584 size=25 bytes PSNR Y:97.22 U:100.00 V:100.00 SSIM Y:1.00000
frame= 167 fps=167 q=0.0 PSNR=Y:inf U:inf V:inf *:inf q=0.0 q=0.0 size= 76kB time=00:00:06.96 bitrate= 89.1kbits/s dup=6 drop=0
frame= 117 QP=0.00 NAL=2 Slice:P Poc:240 I:1 P:0 SKIP:1583 size=30 bytes PSNR Y:95.76 U:100.00 V:100.00 SSIM Y:1.00000
[libx264 @ 0000000002516c60] frame= 117 QP=0.00 NAL=2 Slice:P Poc:240 I:1 P:0 SKIP:1583 size=30 bytes PSNR Y:96.43 U:100.00 V:100.00 SSIM Y:1.00000
[libx264 @ 00000000025197a0] frame= 117 QP=0.00 NAL=2 Slice:P Poc:240 I:1 P:0 SKIP:1583 size=30 bytes PSNR Y:97.22 U:100.00 V:100.00 SSIM Y:1.00000
[libx264 @ 000000000495b3c0] frame= 118 QP=0.00 NAL=2 Slice:B Poc:236 I:0 P:0 SKIP:1584 size=27 bytes PSNR Y:95.76 U:100.00 V:100.00 SSIM Y:1.00000
[libx264 @ 0000000002516c60] frame= 118 QP=0.00 NAL=2 Slice:B Poc:236 I:0 P:0 SKIP:1584 size=27 bytes PSNR Y:96.43 U:100.00 V:100.00 SSIM Y:1.00000
[libx264 @ 00000000025197a0] frame= 118 QP=0.00 NAL=2 Slice:B Poc:236 I:0 P:0 SKIP:1584 size=27 bytes PSNR Y:97.22 U:100.00 V:100.00 SSIM Y:1.00000

for example, frame 117 has one output which does not have [libx264 @ output_identifier]

comment:4 by Carl Eugen Hoyos, 11 years ago

Could you test after compiling with --disable-w32threads --disable-pthreads ?

comment:5 by Carl Eugen Hoyos, 11 years ago

Component: FFmpegundetermined
Reproduced by developer: set
Status: newopen
Summary: ffmpeg cannot identify output frame in console outputContext information missing on the console
Version: unspecifiedgit-master

I can reproduce the problem concerning the console output with the following command line, not related to threads afaict:

$ ffmpeg -v 99 -f lavfi -i testsrc=s=hd1080 -vcodec libx264 out.mp4

comment:6 by Carl Eugen Hoyos, 11 years ago

$ ffmpeg -v 99 -f lavfi -i testsrc=s=hd1080 -vcodec libx264 -t 3 out.mp4
ffmpeg version N-54803-g454c89d Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 19 2013 10:23:09 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libx264 --disable-pthreads
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '99'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'.
Reading option '-i' ... matched as input file with argument 'testsrc=s=hd1080'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '3'.
Reading option 'out.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input file testsrc=s=hd1080.
Applying option f (force format) with argument lavfi.
Successfully parsed a group of options.
Opening an input file: testsrc=s=hd1080.
[Parsed_testsrc_0 @ 0x20e4640] Setting 's' to value 'hd1080'
[Parsed_testsrc_0 @ 0x20e4640] size:1920x1080 rate:25/1 duration:-1.000000 sar:1/1
[AVFilterGraph @ 0x20e4440] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed
[rawvideo @ 0x20e5620] Warning: not compiled with thread support, using thread emulation
[lavfi @ 0x20e3880] All info found
Input #0, lavfi, from 'testsrc=s=hd1080':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0, 1, 1/25: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], 1/25, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output file out.mp4.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Applying option t (record or transcode "duration" seconds of audio/video) with argument 3.
Successfully parsed a group of options.
Opening an output file: out.mp4.
Successfully opened the file.
[graph 0 input from stream 0:0 @ 0x20e7ca0] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x20e7ca0] Setting 'pix_fmt' to value '2'
[graph 0 input from stream 0:0 @ 0x20e7ca0] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 0x20e7ca0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x20e7ca0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x20e7ca0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x20e7ca0] w:1920 h:1080 pixfmt:rgb24 tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 0x20cd1e0] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuv444p]
[format @ 0x20cd1e0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuv444p'
[auto-inserted scaler 0 @ 0x20e95a0] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 0x20e95a0] w:iw h:ih flags:'0x4' interl:0
[format @ 0x20cd1e0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x20d4740] query_formats: 4 queried, 3 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 0x20e95a0] picking yuv444p out of 4 ref:rgb24 alpha:0
[auto-inserted scaler 0 @ 0x20e95a0] w:1920 h:1080 fmt:rgb24 sar:1/1 -> w:1920 h:1080 fmt:yuv444p sar:1/1 flags:0x4
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x20e6a40] Warning: not compiled with thread support, using thread emulation
[libx264 @ 0x20e6a40] using mv_range_thread = 40
[libx264 @ 0x20e6a40] using SAR=1/1
[libx264 @ 0x20e6a40] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x20e6a40] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
[libx264 @ 0x20e6a40] 264 - core 128 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[rawvideo @ 0x20e5620] Warning: not compiled with thread support, using thread emulation
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf55.12.102
    Stream #0:0, 0, 1/12800: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1920x1080 [SAR 1:1 DAR 16:9], 1/25, q=-1--1, 12800 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
Press [q] to stop, [?] for help
frame=   0 QP=16.88 NAL=3 Slice:I Poc:0   I:8160 P:0    SKIP:0    size=10509 bytes
[libx264 @ 0x20e6a40] frame=   1 QP=23.71 NAL=2 Slice:P Poc:4   I:359  P:304  SKIP:7497 size=1507 bytes
[libx264 @ 0x20e6a40] frame=   2 QP=27.04 NAL=0 Slice:B Poc:2   I:23   P:179  SKIP:7958 size=339 bytes
[libx264 @ 0x20e6a40] frame=   3 QP=24.51 NAL=2 Slice:P Poc:8   I:259  P:242  SKIP:7659 size=1015 bytes
[libx264 @ 0x20e6a40] frame=   4 QP=27.05 NAL=0 Slice:B Poc:6   I:95   P:111  SKIP:7954 size=316 bytes
[libx264 @ 0x20e6a40] frame=   5 QP=26.71 NAL=2 Slice:P Poc:12  I:319  P:210  SKIP:7631 size=929 bytes
[libx264 @ 0x20e6a40] frame=   6 QP=27.01 NAL=0 Slice:B Poc:10  I:85   P:158  SKIP:7917 size=367 bytes
[libx264 @ 0x20e6a40] frame=   7 QP=26.74 NAL=2 Slice:P Poc:16  I:244  P:187  SKIP:7729 size=889 bytes
[libx264 @ 0x20e6a40] frame=   8 QP=27.16 NAL=0 Slice:B Poc:14  I:90   P:83   SKIP:7987 size=297 bytes
[libx264 @ 0x20e6a40] frame=   9 QP=26.73 NAL=2 Slice:P Poc:20  I:201  P:251  SKIP:7708 size=934 bytes
frame=  10 QP=27.01 NAL=0 Slice:B Poc:18  I:91   P:109  SKIP:7960 size=333 bytess
[libx264 @ 0x20e6a40] frame=  11 QP=26.60 NAL=2 Slice:P Poc:24  I:205  P:205  SKIP:7750 size=867 bytes
[libx264 @ 0x20e6a40] frame=  12 QP=27.22 NAL=0 Slice:B Poc:22  I:66   P:119  SKIP:7975 size=298 bytes
[libx264 @ 0x20e6a40] frame=  13 QP=26.68 NAL=2 Slice:P Poc:28  I:201  P:240  SKIP:7719 size=963 bytes
[libx264 @ 0x20e6a40] frame=  14 QP=27.01 NAL=0 Slice:B Poc:26  I:130  P:106  SKIP:7924 size=363 bytes
[libx264 @ 0x20e6a40] frame=  15 QP=26.46 NAL=2 Slice:P Poc:32  I:166  P:201  SKIP:7793 size=833 bytes
[libx264 @ 0x20e6a40] frame=  16 QP=27.11 NAL=0 Slice:B Poc:30  I:115  P:90   SKIP:7955 size=334 bytes
[libx264 @ 0x20e6a40] frame=  17 QP=26.84 NAL=2 Slice:P Poc:36  I:251  P:226  SKIP:7683 size=1038 bytes
[libx264 @ 0x20e6a40] frame=  18 QP=27.42 NAL=0 Slice:B Poc:34  I:74   P:157  SKIP:7929 size=360 bytes
No more output streams to write to, finishing.
[libx264 @ 0x20e6a40] frame=  19 QP=26.01 NAL=2 Slice:P Poc:40  I:227  P:200  SKIP:7733 size=902 bytes
[libx264 @ 0x20e6a40] frame=  20 QP=27.58 NAL=0 Slice:B Poc:38  I:34   P:189  SKIP:7937 size=335 bytes
[libx264 @ 0x20e6a40] frame=  21 QP=27.05 NAL=2 Slice:P Poc:44  I:228  P:216  SKIP:7716 size=929 bytes
[libx264 @ 0x20e6a40] frame=  22 QP=26.01 NAL=0 Slice:B Poc:42  I:79   P:123  SKIP:7958 size=401 bytes
[libx264 @ 0x20e6a40] frame=  23 QP=26.23 NAL=2 Slice:P Poc:48  I:231  P:217  SKIP:7712 size=913 bytes
[libx264 @ 0x20e6a40] frame=  24 QP=25.94 NAL=0 Slice:B Poc:46  I:73   P:127  SKIP:7960 size=403 bytes
[libx264 @ 0x20e6a40] frame=  25 QP=27.06 NAL=2 Slice:P Poc:52  I:281  P:198  SKIP:7681 size=950 bytes
[libx264 @ 0x20e6a40] frame=  26 QP=26.03 NAL=0 Slice:B Poc:50  I:53   P:245  SKIP:7862 size=511 bytes
[libx264 @ 0x20e6a40] frame=  27 QP=25.80 NAL=2 Slice:P Poc:56  I:271  P:204  SKIP:7685 size=886 bytes
[libx264 @ 0x20e6a40] frame=  28 QP=26.18 NAL=0 Slice:B Poc:54  I:36   P:219  SKIP:7905 size=510 bytes
[libx264 @ 0x20e6a40] frame=  29 QP=27.02 NAL=2 Slice:P Poc:60  I:220  P:220  SKIP:7720 size=905 bytes
[libx264 @ 0x20e6a40] frame=  30 QP=25.85 NAL=0 Slice:B Poc:58  I:96   P:140  SKIP:7924 size=466 bytes
[libx264 @ 0x20e6a40] frame=  31 QP=25.51 NAL=2 Slice:P Poc:64  I:226  P:223  SKIP:7711 size=855 bytes
[libx264 @ 0x20e6a40] frame=  32 QP=25.96 NAL=0 Slice:B Poc:62  I:16   P:204  SKIP:7940 size=403 bytes
[libx264 @ 0x20e6a40] frame=  33 QP=26.95 NAL=2 Slice:P Poc:68  I:223  P:201  SKIP:7736 size=860 bytes
[libx264 @ 0x20e6a40] frame=  34 QP=26.00 NAL=0 Slice:B Poc:66  I:56   P:184  SKIP:7920 size=487 bytes
[libx264 @ 0x20e6a40] frame=  35 QP=26.86 NAL=2 Slice:P Poc:72  I:257  P:208  SKIP:7695 size=852 bytes
[libx264 @ 0x20e6a40] frame=  36 QP=25.99 NAL=0 Slice:B Poc:70  I:74   P:139  SKIP:7947 size=491 bytes
[libx264 @ 0x20e6a40] frame=  37 QP=26.37 NAL=2 Slice:P Poc:76  I:221  P:194  SKIP:7745 size=872 bytes
[libx264 @ 0x20e6a40] frame=  38 QP=27.22 NAL=0 Slice:B Poc:74  I:58   P:171  SKIP:7931 size=373 bytes
[libx264 @ 0x20e6a40] frame=  39 QP=26.52 NAL=2 Slice:P Poc:80  I:184  P:203  SKIP:7773 size=853 bytes
[libx264 @ 0x20e6a40] frame=  40 QP=27.20 NAL=0 Slice:B Poc:78  I:59   P:160  SKIP:7941 size=366 bytes
[libx264 @ 0x20e6a40] frame=  41 QP=26.61 NAL=2 Slice:P Poc:84  I:198  P:233  SKIP:7729 size=896 bytes
[libx264 @ 0x20e6a40] frame=  42 QP=27.08 NAL=0 Slice:B Poc:82  I:29   P:209  SKIP:7922 size=353 bytes
[libx264 @ 0x20e6a40] frame=  43 QP=26.59 NAL=2 Slice:P Poc:88  I:160  P:214  SKIP:7786 size=805 bytes
[libx264 @ 0x20e6a40] frame=  44 QP=27.17 NAL=0 Slice:B Poc:86  I:77   P:126  SKIP:7957 size=348 bytes
[libx264 @ 0x20e6a40] frame=  45 QP=27.13 NAL=2 Slice:P Poc:92  I:226  P:229  SKIP:7705 size=919 bytes
[libx264 @ 0x20e6a40] frame=  46 QP=27.26 NAL=0 Slice:B Poc:90  I:12   P:196  SKIP:7952 size=309 bytes
[libx264 @ 0x20e6a40] frame=  47 QP=27.53 NAL=2 Slice:P Poc:96  I:201  P:199  SKIP:7760 size=782 bytes
[libx264 @ 0x20e6a40] frame=  48 QP=27.77 NAL=0 Slice:B Poc:94  I:101  P:127  SKIP:7932 size=384 bytes
[libx264 @ 0x20e6a40] frame=  49 QP=27.53 NAL=2 Slice:P Poc:98  I:158  P:219  SKIP:7783 size=665 bytes
[libx264 @ 0x20e6a40] frame=  50 QP=24.56 NAL=2 Slice:P Poc:100 I:293  P:193  SKIP:7674 size=833 bytes
[libx264 @ 0x20e6a40] frame=  51 QP=27.16 NAL=2 Slice:P Poc:104 I:213  P:231  SKIP:7716 size=1079 bytes
[libx264 @ 0x20e6a40] frame=  52 QP=28.01 NAL=0 Slice:B Poc:102 I:40   P:164  SKIP:7956 size=357 bytes
[libx264 @ 0x20e6a40] frame=  53 QP=27.38 NAL=2 Slice:P Poc:108 I:210  P:206  SKIP:7744 size=946 bytes
[libx264 @ 0x20e6a40] frame=  54 QP=27.20 NAL=0 Slice:B Poc:106 I:110  P:108  SKIP:7942 size=371 bytes
[libx264 @ 0x20e6a40] frame=  55 QP=27.47 NAL=2 Slice:P Poc:112 I:211  P:219  SKIP:7730 size=908 bytes
[libx264 @ 0x20e6a40] frame=  56 QP=27.01 NAL=0 Slice:B Poc:110 I:133  P:120  SKIP:7907 size=421 bytes
[libx264 @ 0x20e6a40] frame=  57 QP=27.62 NAL=2 Slice:P Poc:116 I:202  P:214  SKIP:7744 size=886 bytes
[libx264 @ 0x20e6a40] frame=  58 QP=26.71 NAL=0 Slice:B Poc:114 I:61   P:113  SKIP:7986 size=313 bytes
[libx264 @ 0x20e6a40] frame=  59 QP=27.48 NAL=2 Slice:P Poc:120 I:194  P:224  SKIP:7742 size=878 bytes
[libx264 @ 0x20e6a40] frame=  60 QP=27.41 NAL=0 Slice:B Poc:118 I:36   P:171  SKIP:7953 size=338 bytes
[libx264 @ 0x20e6a40] frame=  61 QP=27.52 NAL=2 Slice:P Poc:124 I:243  P:206  SKIP:7711 size=957 bytes
[libx264 @ 0x20e6a40] frame=  62 QP=27.10 NAL=0 Slice:B Poc:122 I:89   P:126  SKIP:7945 size=384 bytes
[libx264 @ 0x20e6a40] frame=  63 QP=27.53 NAL=2 Slice:P Poc:128 I:219  P:224  SKIP:7717 size=906 bytes
[libx264 @ 0x20e6a40] frame=  64 QP=26.83 NAL=0 Slice:B Poc:126 I:120  P:138  SKIP:7902 size=440 bytes
[libx264 @ 0x20e6a40] frame=  65 QP=27.05 NAL=2 Slice:P Poc:132 I:258  P:199  SKIP:7703 size=828 bytes
[libx264 @ 0x20e6a40] frame=  66 QP=27.14 NAL=0 Slice:B Poc:130 I:103  P:131  SKIP:7926 size=396 bytes
[libx264 @ 0x20e6a40] frame=  67 QP=26.57 NAL=2 Slice:P Poc:136 I:222  P:234  SKIP:7704 size=878 bytes
[libx264 @ 0x20e6a40] frame=  68 QP=27.21 NAL=0 Slice:B Poc:134 I:33   P:244  SKIP:7883 size=398 bytes
[libx264 @ 0x20e6a40] frame=  69 QP=27.90 NAL=2 Slice:P Poc:140 I:248  P:218  SKIP:7694 size=810 bytes
[libx264 @ 0x20e6a40] frame=  70 QP=27.00 NAL=0 Slice:B Poc:138 I:101  P:141  SKIP:7918 size=403 bytes
[libx264 @ 0x20e6a40] frame=  71 QP=27.61 NAL=2 Slice:P Poc:144 I:191  P:245  SKIP:7724 size=762 bytes
[libx264 @ 0x20e6a40] frame=  72 QP=27.15 NAL=0 Slice:B Poc:142 I:92   P:163  SKIP:7905 size=424 bytes
[libx264 @ 0x20e6a40] frame=  73 QP=28.60 NAL=2 Slice:P Poc:148 I:194  P:199  SKIP:7767 size=647 bytes
[libx264 @ 0x20e6a40] frame=  74 QP=26.14 NAL=0 Slice:B Poc:146 I:83   P:197  SKIP:7880 size=591 bytes
frame=   75 fps= 49 q=-1.0 Lsize=      60kB time=00:00:02.92 bitrate= 167.2kbits/s
video:58kB audio:0kB subtitle:0 global headers:0kB muxing overhead 2.846070%
[libx264 @ 0x20e6a40] frame I:1     Avg QP:16.88  size: 10509
[libx264 @ 0x20e6a40] frame P:38    Avg QP:26.74  size:   898
[libx264 @ 0x20e6a40] frame B:36    Avg QP:26.89  size:   388
[libx264 @ 0x20e6a40] consecutive B-frames:  4.0% 96.0%  0.0%  0.0%
[libx264 @ 0x20e6a40] mb I  I16..4: 65.7% 31.6%  2.7%
[libx264 @ 0x20e6a40] mb P  I16..4:  2.5%  0.3%  0.1%  P16..4:  2.2%  0.4%  0.0%  0.0%  0.0%    skip:94.6%
[libx264 @ 0x20e6a40] mb B  I16..4:  0.8%  0.1%  0.0%  B16..8:  1.8%  0.0%  0.0%  direct: 0.1%  skip:97.2%  L0:29.7% L1:69.7% BI: 0.7%
[libx264 @ 0x20e6a40] 8x8 transform intra:19.0% inter:91.8%
[libx264 @ 0x20e6a40] coded y,u,v intra: 1.5% 1.3% 1.3% inter: 0.0% 0.1% 0.0%
[libx264 @ 0x20e6a40] i16 v,h,dc,p: 89%  7%  0%  4%
[libx264 @ 0x20e6a40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 54%  6% 40%  0%  0%  0%  0%  0%  0%
[libx264 @ 0x20e6a40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 37% 31%  2%  1%  2%  0%  2%  0%
[libx264 @ 0x20e6a40] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x20e6a40] ref P L0: 69.9%  1.2% 21.8%  7.1%
[libx264 @ 0x20e6a40] ref B L0: 78.4% 21.6%
[libx264 @ 0x20e6a40] kb/s:156.34
76 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x20e3f00] Statistics: 34 seeks, 101 writeouts

comment:7 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavutil
Resolution: fixed
Status: openclosed

Fixed by Nicolas George in c25d1ba.

in reply to:  7 comment:8 by Kyle, 11 years ago

Replying to cehoyos:

Fixed by Nicolas George in c25d1ba.

Follow-up:
the problem gets fixed for the above example, but it seems there is still something wrong when a scene cut occurs. I just ran the exact command line, below is part of the console output:

[libx264 @ 0000000004a07b20] frame=5781 QP=26.66 NAL=2 Slice:P Poc:328 I:22 P:293 SKIP:1269 size=1043 bytes PSNR Y:40.45 U:46.78 V:47.20 SSIM Y:0.97800
[libx264 @ 00000000024c6ba0] frame=5781 QP=23.89 NAL=2 Slice:P Poc:328 I:31 P:425 SKIP:1128 size=1721 bytes PSNR Y:41.92 U:47.77 V:48.11 SSIM Y:0.98271
[libx264 @ 0000000004443ba0] frame=5781 QP=22.62 NAL=2 Slice:P Poc:328 I:41 P:547 SKIP:996 size=2414 bytes PSNR Y:42.93 U:48.37 V:48.79 SSIM Y:0.98518
[libx264 @ 0000000004a07b20] frame=5782 QP=25.22 NAL=2 Slice:B Poc:324 I:1 P:23 SKIP:1560 size=89 bytes PSNR Y:40.08 U:46.74 V:47.06 SSIM Y:0.97611
[libx264 @ 00000000024c6ba0] frame=5782 QP=22.54 NAL=2 Slice:B Poc:324 I:2 P:62 SKIP:1520 size=214 bytes PSNR Y:41.46 U:47.65 V:47.96 SSIM Y:0.98080
[libx264 @ 0000000004443ba0] frame=5782 QP=22.95 NAL=2 Slice:B Poc:324 I:4 P:129 SKIP:1451 size=398 bytes PSNR Y:42.36 U:48.15 V:48.58 SSIM Y:0.98328
[libx264 @ 0000000004a07b20] scene cut at 5792 Icost:506366 Pcost:502796 ratio:0.0071 bias:0.2960 gop:172 (imb:1214 pmb:214)
[libx264 @ 0000000004a07b20] frame=5783 QP=27.51 NAL=0 Slice:B Poc:322 I:0 P:23 SKIP:1561 size=110 bytes PSNR Y:39.95 U:46.43 V:46.74 SSIM Y:0.97707
[libx264 @ 00000000024c6ba0] [libx264 @ 00000000024c6ba0] frame=5783 QP=24.55 NAL=0 Slice:B Poc:322 I:9 P:64 SKIP:1511 size=239 bytes PSNR Y:41.20 U:47.39 V:47.67 SSIM Y:0.98160
scene cut at 5792 Icost:506366 Pcost:502796 ratio:0.0071 bias:0.2960 gop:172 (imb:1214 pmb:214)
[libx264 @ 0000000004443ba0] scene cut at 5792 Icost:506366 Pcost:502796 ratio:0.0071 bias:0.2960 gop:172 (imb:1214 pmb:214)
[libx264 @ 0000000004443ba0] frame=5783 QP=24.47 NAL=0 Slice:B Poc:322 I:11 P:112 SKIP:1461 size=378 bytes PSNR Y:42.18 U:47.82 V:48.23 SSIM Y:0.98421
[libx264 @ 0000000004a07b20] frame=5784 QP=26.29 NAL=0 Slice:B Poc:326 I:2 P:8 SKIP:1574 size=53 bytes PSNR Y:40.45 U:46.69 V:47.20 SSIM Y:0.97819
[libx264 @ 00000000024c6ba0] frame=5784 QP=24.12 NAL=0 Slice:B Poc:326 I:3 P:35 SKIP:1546 size=122 bytes PSNR Y:41.91 U:47.69 V:48.00 SSIM Y:0.98271
[libx264 @ 0000000004443ba0] frame=5784 QP=22.15 NAL=0 Slice:B Poc:326 I:4 P:72 SKIP:1508 size=193 bytes PSNR Y:42.83 U:48.20 V:48.64 SSIM Y:0.98509

....

[libx264 @ 0000000004a07b20] frame=5894 QP=30.98 NAL=0 Slice:B Poc:202 I:5 P:263 SKIP:1316 size=1278 bytes PSNR Y:37.16 U:46.55 V:45.69 SSIM Y:0.94035
[libx264 @ 00000000024c6ba0] frame=5894 QP=28.13 NAL=0 Slice:B Poc:202 I:8 P:370 SKIP:1206 size=1993 bytes PSNR Y:38.50 U:47.08 V:46.43 SSIM Y:0.95166
[libx264 @ 0000000004443ba0] frame=5894 QP=26.06 NAL=0 Slice:B Poc:202 I:13 P:508 SKIP:1063 size=2778 bytes PSNR Y:39.36 U:47.78 V:47.16 SSIM Y:0.95834
[libx264 @ 0000000004a07b20] frame=5895 QP=29.05 NAL=2 Slice:P Poc:208 I:399 P:448 SKIP:737 size=4098 bytes PSNR Y:37.58 U:47.12 V:45.75 SSIM Y:0.93775
[libx264 @ 0000000004a07b20] [libx264 @ 00000000024c6ba0] scene cut at 5904 Icost:515930 Pcost:415614 ratio:0.1944 bias:0.2160 gop:112 (imb:436 pmb:992)
frame=5895 QP=26.50 NAL=2 Slice:P Poc:208 I:386 P:585 SKIP:613 size=5909 bytes PSNR Y:38.87 U:47.48 V:46.42 SSIM Y:0.94977
[libx264 @ 00000000024c6ba0] scene cut at 5904 Icost:515930 Pcost:415614 ratio:0.1944 bias:0.2160 gop:112 (imb:436 pmb:992)
[libx264 @ 0000000004443ba0] scene cut at 5904 Icost:515930 Pcost:415614 ratio:0.1944 bias:0.2160 gop:112 (imb:436 pmb:992)
[libx264 @ 0000000004443ba0] frame=5895 QP=25.04 NAL=2 Slice:P Poc:208 I:376 P:638 SKIP:570 size=7648 bytes PSNR Y:39.84 U:48.13 V:47.14 SSIM Y:0.95765
[libx264 @ 0000000004a07b20] frame=5896 QP=29.96 NAL=0 Slice:B Poc:206 I:26 P:251 SKIP:1307 size=1499 bytes PSNR Y:37.10 U:47.00 V:45.86 SSIM Y:0.93986
[libx264 @ 00000000024c6ba0] frame=5896 QP=27.67 NAL=0 Slice:B Poc:206 I:32 P:388 SKIP:1164 size=2401 bytes PSNR Y:38.41 U:47.62 V:46.61 SSIM Y:0.95105
[libx264 @ 0000000004443ba0] frame=5896 QP=26.42 NAL=0 Slice:B Poc:206 I:48 P:501 SKIP:1035 size=3242 bytes PSNR Y:39.36 U:48.01 V:47.26 SSIM Y:0.95855

...

[libx264 @ 0000000004a07b20] frame=6018 QP=31.47 NAL=0 Slice:B Poc:226 I:10 P:218 SKIP:1356 size=946 bytes PSNR Y:37.56 U:45.93 V:45.80 SSIM Y:0.94261
[libx264 @ 00000000024c6ba0] frame=6018 QP=29.28 NAL=0 Slice:B Poc:226 I:13 P:327 SKIP:1244 size=1502 bytes PSNR Y:38.82 U:46.76 V:46.45 SSIM Y:0.95311
[libx264 @ 0000000004443ba0] frame=6018 QP=27.07 NAL=0 Slice:B Poc:226 I:27 P:460 SKIP:1097 size=2112 bytes PSNR Y:39.81 U:47.49 V:47.09 SSIM Y:0.96003
[libx264 @ 0000000004a07b20] frame=6019 QP=30.63 NAL=2 Slice:P Poc:232 I:362 P:418 SKIP:804 size=3246 bytes PSNR Y:37.44 U:46.03 V:45.55 SSIM Y:0.94154
[libx264 @ 0000000004a07b20] scene cut at 6028 Icost:460732 Pcost:371299 ratio:0.1941 bias:0.2320 gop:124 (imb:558 pmb:870)
[libx264 @ 00000000024c6ba0] [libx264 @ 00000000024c6ba0] frame=6019 QP=28.21 NAL=2 Slice:P Poc:232 I:393 P:554 SKIP:637 size=4773 bytes PSNR Y:38.90 U:46.94 V:46.34 SSIM Y:0.95316
scene cut at 6028 Icost:460732 Pcost:371299 ratio:0.1941 bias:0.2320 gop:124 (imb:558 pmb:870)
[libx264 @ 0000000004443ba0] [libx264 @ 0000000004443ba0] frame=6019 QP=25.83 NAL=2 Slice:P Poc:232 I:384 P:607 SKIP:593 size=5922 bytes PSNR Y:39.79 U:47.57 V:46.94 SSIM Y:0.96011
scene cut at 6028 Icost:460732 Pcost:371299 ratio:0.1941 bias:0.2320 gop:124 (imb:558 pmb:870)
[libx264 @ 0000000004a07b20] frame=6020 QP=31.78 NAL=0 Slice:B Poc:230 I:10 P:191 SKIP:1383 size=991 bytes PSNR Y:37.10 U:46.26 V:45.76 SSIM Y:0.93947
[libx264 @ 00000000024c6ba0] frame=6020 QP=29.22 NAL=0 Slice:B Poc:230 I:19 P:339 SKIP:1226 size=1701 bytes PSNR Y:38.36 U:47.19 V:46.37 SSIM Y:0.95133
[libx264 @ 0000000004443ba0] frame=6020 QP=27.04 NAL=0 Slice:B Poc:230 I:17 P:442 SKIP:1125 size=2313 bytes PSNR Y:39.33 U:47.90 V:46.90 SSIM Y:0.95803

comment:9 by Kyle, 11 years ago

Resolution: fixed
Status: closedreopened

comment:10 by Cigaes, 11 years ago

Can you remember to put the {{{...}}} around the copy-pasted console output? Otherwise it gets rewrapped by the HTML engine and it becomes impossible to see what you consider wrong.

comment:11 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: reopenedclosed

Please reopen if you can provide a reproducible test case together with complete, uncut console output.

by Kyle, 11 years ago

Attachment: consoleOutput added

comment:12 by Kyle, 11 years ago

sorry about that. added console output,

the source I use is at: http://a1408.g.akamai.net/5/1408/1388/2005110403/1a1a1ad948be278cff2d96046ad90768d848b41947aa1986/sample_iTunes.mov.zip

the command I ran is:
ffmpeg -loglevel debug sample_iTunes.mov -vcodec libx264 -pass 1 -passlogfile target1 -ssim 1 -psnr -b 300000 target1.mp4 -vcodec libx264 -pass 1 -passlogfile target2 -ssim 1 -psnr -b 450000 target2.mp4 -vcodec libx264 -pass 1 -passlogfile target3 -ssim 1 -psnr -b 600000 target3.mp4

comment:13 by Kyle, 11 years ago

Resolution: fixed
Status: closedreopened

in reply to:  11 comment:14 by Kyle, 11 years ago

Replying to cehoyos:

Please reopen if you can provide a reproducible test case together with complete, uncut console output.

Sorry for bothering you guys. Did you guys find a solution for this?

comment:15 by Elon Musk, 9 years ago

Resolution: needs_more_info
Status: reopenedclosed
Note: See TracTickets for help on using tickets.