Opened 12 years ago

Closed 10 years ago

#1509 closed defect (fixed)

H264 Encoding Broken with pthreads > 1 on windows

Reported by: Dennis Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: Win32 Win64 H264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Carl Eugen Hoyos)

Summary of the bug:
Encoding H264 appears to be broken on both Win32 & Win64. The encode goes along for a while then pauses then continues again. It will do this repeatedly until eventually it hangs forever with CPU utilization at 0% and you have to kill the process.

How to reproduce:

ffmpeg -i "C:\Temp\Episode 101.mpg" "C:\Temp\Episode 101 
H264.mp4"
ffmpeg version N-42069-g3233ad4 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 30 2012 13:22:04 with gcc 4.7.1
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
 --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
  libavutil      51. 63.100 / 51. 63.100
  libavcodec     54. 31.100 / 54. 31.100
  libavformat    54. 14.100 / 54. 14.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     3.  0.100 /  3.  0.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 00000000020aa960] max_analyze_duration 5000000 reached at 5005000
Input #0, mpeg, from 'C:\Temp\Episode 101.mpg':
  Duration: 00:22:05.24, start: 0.280611, bitrate: 5389 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR
4:3], 8500 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
[graph 0 input from stream 0:0 @ 0000000004e95c00] w:720 h:480 pixfmt:yuv420p tb
:1/90000 fr:30000/1001 sar:8/9 sws_param:flags=2
[output stream 0:0 @ 0000000004e95b60] No opaque field provided
[graph 1 input from stream 0:1 @ 0000000004e959c0] tb:1/90000 samplefmt:s16 samp
lerate:48000 chlayout:0x3
[libx264 @ 0000000004b7fb40] using SAR=8/9
[libx264 @ 0000000004b7fb40] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShu
ffle SSE4.2 AVX
[libx264 @ 0000000004b7fb40] profile High, level 3.0
[libx264 @ 0000000004b7fb40] 264 - core 125 r2200 999b753 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 dec
imate=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
Output #0, mp4, to 'C:\Temp\Episode 101 H264.mp4':
  Metadata:
    encoder         : Lavf54.14.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x480 [SAR 8:9
 DAR 4:3], q=-1--1, 30k tbn, 29.97 tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128
 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
  Stream #0:1 -> #0:1 (ac3 -> libvo_aacenc)
Press [q] to stop, [?] for help
[mpeg2video @ 00000000003ff6e0] warning: first frame is no keyframe
frame=  145 fps=0.0 q=29.0 size=    1038kB time=00:00:02.70 bitrate=3145.3kbits/
frame=  235 fps=234 q=29.0 size=    2389kB time=00:00:05.70 bitrate=3430.2kbits/
frame=  362 fps=240 q=29.0 size=    3087kB time=00:00:09.94 bitrate=2543.3kbits/
frame=  509 fps=253 q=29.0 size=    3513kB time=00:00:14.84 bitrate=1938.4kbits/
frame=  623 fps=247 q=29.0 size=    4408kB time=00:00:18.65 bitrate=1935.8kbits/
frame=  715 fps=237 q=29.0 size=    5456kB time=00:00:21.72 bitrate=2057.8kbits/
frame=  819 fps=233 q=29.0 size=    6650kB time=00:00:25.19 bitrate=2162.5kbits/
frame=  933 fps=232 q=29.0 size=    7336kB time=00:00:28.99 bitrate=2072.5kbits/
frame= 1081 fps=239 q=29.0 size=    8033kB time=00:00:33.93 bitrate=1939.3kbits/
frame= 1216 fps=242 q=29.0 size=    8657kB time=00:00:38.43 bitrate=1845.0kbits/
frame= 1351 fps=244 q=29.0 size=    9235kB time=00:00:42.94 bitrate=1761.7kbits/
frame= 1362 fps= 85 q=29.0 size=    9280kB time=00:00:43.30 bitrate=1755.2kbits/
frame= 1520 fps= 92 q=29.0 size=    9840kB time=00:00:48.58 bitrate=1659.2kbits/
frame= 1660 fps= 97 q=26.0 size=   10373kB time=00:00:53.25 bitrate=1595.7kbits/
frame= 1780 fps=101 q=29.0 size=   11135kB time=00:00:57.25 bitrate=1593.1kbits/
frame= 1916 fps=106 q=29.0 size=   12148kB time=00:01:01.79 bitrate=1610.4kbits/
frame= 2077 fps=112 q=29.0 size=   12677kB time=00:01:07.16 bitrate=1546.1kbits/
frame= 2207 fps=116 q=29.0 size=   13243kB time=00:01:11.50 bitrate=1517.3kbits/
frame= 2347 fps=120 q=29.0 size=   13878kB time=00:01:16.17 bitrate=1492.5kbits/
frame= 2474 fps=123 q=29.0 size=   14586kB time=00:01:20.41 bitrate=1485.9kbits/
frame= 2610 fps=127 q=29.0 size=   15232kB time=00:01:24.95 bitrate=1468.9kbits/
frame= 2740 fps=130 q=29.0 size=   15898kB time=00:01:29.28 bitrate=1458.6kbits/
frame= 2886 fps=134 q=29.0 size=   16437kB time=00:01:34.16 bitrate=1430.1kbits/
frame= 3051 fps=138 q=29.0 size=   16979kB time=00:01:39.66 bitrate=1395.6kbits/
frame= 3208 fps=142 q=29.0 size=   17447kB time=00:01:44.90 bitrate=1362.4kbits/
frame= 3337 fps=145 q=29.0 size=   18046kB time=00:01:49.20 bitrate=1353.6kbits/
frame= 3461 fps=147 q=29.0 size=   18624kB time=00:01:53.34 bitrate=1346.0kbits/
frame= 3590 fps=149 q=29.0 size=   19073kB time=00:01:57.65 bitrate=1328.0kbits/
frame= 3637 fps=114 q=29.0 size=   19325kB time=00:01:59.21 bitrate=1327.9kbits/
frame= 3780 fps=116 q=29.0 size=   19827kB time=00:02:03.99 bitrate=1309.9kbits/
frame= 3908 fps=118 q=29.0 size=   20574kB time=00:02:08.26 bitrate=1314.1kbits/
frame= 4042 fps=121 q=29.0 size=   21171kB time=00:02:12.73 bitrate=1306.6kbits/
frame= 4172 fps=123 q=29.0 size=   21799kB time=00:02:17.07 bitrate=1302.8kbits/
frame= 4303 fps=125 q=29.0 size=   22547kB time=00:02:21.44 bitrate=1305.9kbits/
frame= 4432 fps=127 q=29.0 size=   23261kB time=00:02:25.74 bitrate=1307.5kbits/
frame= 4561 fps=128 q=29.0 size=   23953kB time=00:02:30.04 bitrate=1307.7kbits/
frame= 4690 fps=130 q=29.0 size=   24554kB time=00:02:34.35 bitrate=1303.1kbits/
frame= 4690 fps=107 q=29.0 size=   24554kB time=00:02:34.35 bitrate=1303.1kbits/
frame= 4820 fps=108 q=29.0 size=   25103kB time=00:02:38.69 bitrate=1295.9kbits/
frame= 4936 fps=110 q=29.0 size=   25670kB time=00:02:42.56 bitrate=1293.6kbits/
frame= 5065 fps=111 q=29.0 size=   26327kB time=00:02:46.86 bitrate=1292.5kbits/
frame= 5187 fps=113 q=29.0 size=   26929kB time=00:02:50.93 bitrate=1290.6kbits/
frame= 5329 fps=115 q=29.0 size=   27492kB time=00:02:55.67 bitrate=1282.0kbits/
frame= 5450 fps=116 q=29.0 size=   28082kB time=00:02:59.71 bitrate=1280.1kbits/
frame= 5594 fps=118 q=29.0 size=   28761kB time=00:03:04.51 bitrate=1276.9kbits/
frame= 5720 fps=119 q=29.0 size=   29473kB time=00:03:08.72 bitrate=1279.4kbits/
frame= 5889 fps=121 q=29.0 size=   29954kB time=00:03:14.36 bitrate=1262.5kbits/
frame= 6062 fps=124 q=29.0 size=   30373kB time=00:03:20.13 bitrate=1243.3kbits/
frame= 6207 fps=125 q=29.0 size=   30810kB time=00:03:24.97 bitrate=1231.4kbits/
frame= 6345 fps=127 q=29.0 size=   31259kB time=00:03:29.57 bitrate=1221.9kbits/
frame= 6465 fps=104 q=29.0 size=   31915kB time=00:03:33.58 bitrate=1224.1kbits/
frame= 6629 fps=106 q=29.0 size=   32396kB time=00:03:39.05 bitrate=1211.5kbits/
frame= 6777 fps=108 q=29.0 size=   33115kB time=00:03:43.99 bitrate=1211.1kbits/
frame= 6902 fps=109 q=29.0 size=   33621kB time=00:03:48.16 bitrate=1207.2kbits/
frame= 7033 fps=110 q=29.0 size=   34183kB time=00:03:52.53 bitrate=1204.3kbits/
frame= 7154 fps=111 q=29.0 size=   34889kB time=00:03:56.56 bitrate=1208.2kbits/
frame= 7266 fps=112 q=29.0 size=   35627kB time=00:04:00.30 bitrate=1214.5kbits/
frame= 7399 fps=113 q=29.0 size=   36391kB time=00:04:04.74 bitrate=1218.1kbits/
frame= 7535 fps=114 q=29.0 size=   36970kB time=00:04:09.28 bitrate=1214.9kbits/
frame= 7664 fps=115 q=29.0 size=   37602kB time=00:04:13.58 bitrate=1214.7kbits/
frame= 7799 fps=116 q=29.0 size=   38236kB time=00:04:18.09 bitrate=1213.6kbits/
frame= 7918 fps=117 q=29.0 size=   38913kB time=00:04:22.06 bitrate=1216.4kbits/
frame= 8053 fps=118 q=29.0 size=   39479kB time=00:04:26.56 bitrate=1213.3kbits/
frame= 8174 fps=119 q=29.0 size=   40133kB time=00:04:30.60 bitrate=1215.0kbits/
frame= 8295 fps=120 q=29.0 size=   40989kB time=00:04:34.64 bitrate=1222.6kbits/
frame= 8415 fps=121 q=29.0 size=   41739kB time=00:04:38.64 bitrate=1227.1kbits/
frame= 8525 fps=122 q=29.0 size=   42542kB time=00:04:42.31 bitrate=1234.4kbits/
frame= 8634 fps=122 q=29.0 size=   43585kB time=00:04:45.95 bitrate=1248.6kbits/
frame= 8754 fps=123 q=29.0 size=   44404kB time=00:04:49.95 bitrate=1254.5kbits/
frame= 8894 fps=124 q=29.0 size=   45194kB time=00:04:54.62 bitrate=1256.6kbits/
frame= 9022 fps=125 q=29.0 size=   45895kB time=00:04:58.89 bitrate=1257.9kbits/
frame= 9164 fps=126 q=29.0 size=   46598kB time=00:05:03.63 bitrate=1257.2kbits/
frame= 9304 fps=127 q=29.0 size=   47228kB time=00:05:08.30 bitrate=1254.9kbits/
frame= 9436 fps=128 q=29.0 size=   47960kB time=00:05:12.71 bitrate=1256.4kbits/
frame= 9557 fps=129 q=29.0 size=   48595kB time=00:05:16.74 bitrate=1256.8kbits/
frame= 9686 fps=130 q=29.0 size=   49345kB time=00:05:21.05 bitrate=1259.1kbits/
frame= 9806 fps=131 q=29.0 size=   50072kB time=00:05:25.05 bitrate=1261.9kbits/
frame= 9940 fps=132 q=29.0 size=   50838kB time=00:05:29.52 bitrate=1263.8kbits/
frame=10064 fps=132 q=29.0 size=   51604kB time=00:05:33.66 bitrate=1267.0kbits/
frame=10192 fps=133 q=29.0 size=   52352kB time=00:05:37.93 bitrate=1269.1kbits/
frame=10326 fps=134 q=29.0 size=   52986kB time=00:05:42.40 bitrate=1267.7kbits/
frame=10462 fps=135 q=29.0 size=   53604kB time=00:05:46.94 bitrate=1265.7kbits/
frame=10603 fps=136 q=29.0 size=   54147kB time=00:05:51.65 bitrate=1261.4kbits/
frame=10723 fps=136 q=29.0 size=   54979kB time=00:05:55.65 bitrate=1266.4kbits/
frame=10840 fps=137 q=29.0 size=   55672kB time=00:05:59.55 bitrate=1268.4kbits/
frame=10960 fps=138 q=29.0 size=   56461kB time=00:06:03.56 bitrate=1272.2kbits/
frame=11063 fps=138 q=29.0 size=   57337kB time=00:06:06.99 bitrate=1279.8kbits/
frame=11173 fps=139 q=29.0 size=   58433kB time=00:06:10.67 bitrate=1291.4kbits/
frame=11314 fps=140 q=29.0 size=   58976kB time=00:06:15.37 bitrate=1287.1kbits/
frame=11457 fps=140 q=29.0 size=   59503kB time=00:06:20.14 bitrate=1282.3kbits/
frame=11599 fps=141 q=29.0 size=   60087kB time=00:06:24.88 bitrate=1278.9kbits/
frame=11726 fps=142 q=29.0 size=   60806kB time=00:06:29.12 bitrate=1280.1kbits/
frame=11842 fps=143 q=29.0 size=   61369kB time=00:06:32.99 bitrate=1279.3kbits/
frame=11989 fps=143 q=29.0 size=   62070kB time=00:06:37.89 bitrate=1277.9kbits/
frame=12122 fps=144 q=29.0 size=   62647kB time=00:06:42.33 bitrate=1275.6kbits/
frame=12251 fps=145 q=29.0 size=   63319kB time=00:06:46.63 bitrate=1275.6kbits/
frame=12360 fps=145 q=29.0 size=   64133kB time=00:06:50.27 bitrate=1280.5kbits/
frame=12457 fps=145 q=26.0 size=   64790kB time=00:06:53.51 bitrate=1283.5kbits/
frame=12578 fps=146 q=29.0 size=   65677kB time=00:06:57.55 bitrate=1288.5kbits/
frame=12680 fps=146 q=29.0 size=   66541kB time=00:07:00.95 bitrate=1294.9kbits/
frame=12789 fps=147 q=29.0 size=   67519kB time=00:07:04.59 bitrate=1302.7kbits/
frame=12903 fps=147 q=29.0 size=   68252kB time=00:07:08.39 bitrate=1305.1kbits/
frame=13027 fps=148 q=29.0 size=   68950kB time=00:07:12.53 bitrate=1305.9kbits/
frame=13141 fps=148 q=29.0 size=   69739kB time=00:07:16.33 bitrate=1309.3kbits/
frame=13231 fps=148 q=29.0 size=   70747kB time=00:07:19.33 bitrate=1319.2kbits/
frame=13331 fps=149 q=29.0 size=   71747kB time=00:07:22.67 bitrate=1327.7kbits/
frame=13444 fps=149 q=29.0 size=   72722kB time=00:07:26.44 bitrate=1334.4kbits/
frame=13561 fps=150 q=29.0 size=   73586kB time=00:07:30.34 bitrate=1338.6kbits/
frame=13678 fps=150 q=29.0 size=   74270kB time=00:07:34.25 bitrate=1339.4kbits/
frame=13807 fps=151 q=29.0 size=   74995kB time=00:07:38.55 bitrate=1339.8kbits/
frame=13923 fps=151 q=29.0 size=   75731kB time=00:07:42.42 bitrate=1341.6kbits/
frame=14042 fps=152 q=29.0 size=   76495kB time=00:07:46.39 bitrate=1343.6kbits/
frame=14142 fps=152 q=29.0 size=   77343kB time=00:07:49.73 bitrate=1348.8kbits/
frame=14239 fps=152 q=29.0 size=   78278kB time=00:07:52.97 bitrate=1355.8kbits/
frame=14333 fps=152 q=29.0 size=   79245kB time=00:07:56.10 bitrate=1363.5kbits/
frame=14443 fps=153 q=29.0 size=   80128kB time=00:07:59.77 bitrate=1368.2kbits/
frame=14570 fps=153 q=29.0 size=   80847kB time=00:08:04.01 bitrate=1368.3kbits/
frame=14696 fps=154 q=29.0 size=   81689kB time=00:08:08.22 bitrate=1370.7kbits/
frame=14822 fps=154 q=29.0 size=   82199kB time=00:08:12.42 bitrate=1367.5kbits/
frame=14952 fps=155 q=29.0 size=   82820kB time=00:08:16.76 bitrate=1365.8kbits/
frame=15073 fps=155 q=29.0 size=   83555kB time=00:08:20.80 bitrate=1366.8kbits/
frame=15220 fps=156 q=29.0 size=   84196kB time=00:08:25.70 bitrate=1363.9kbits/
frame=15235 fps=134 q=29.0 size=   84225kB time=00:08:26.20 bitrate=1363.0kbits/
frame=15373 fps=134 q=29.0 size=   84815kB time=00:08:30.81 bitrate=1360.2kbits/
frame=15424 fps=119 q=29.0 size=   84989kB time=00:08:32.51 bitrate=1358.5kbits/
frame=15542 fps=119 q=29.0 size=   85655kB time=00:08:36.44 bitrate=1358.7kbits/
frame=15669 fps=120 q=29.0 size=   86435kB time=00:08:40.68 bitrate=1359.9kbits/
frame=15721 fps=116 q=29.0 size=   86764kB time=00:08:42.42 bitrate=1360.5kbits/
frame=15839 fps=116 q=29.0 size=   87500kB time=00:08:46.35 bitrate=1361.8kbits/
frame=15964 fps=117 q=29.0 size=   88187kB time=00:08:50.53 bitrate=1361.7kbits/
frame=16079 fps=117 q=29.0 size=   89064kB time=00:08:54.36 bitrate=1365.4kbits/
frame=16199 fps=117 q=29.0 size=   89982kB time=00:08:58.37 bitrate=1369.2kbits/
frame=16217 fps=105 q=29.0 size=   90054kB time=00:08:58.97 bitrate=1368.8kbits/
frame=16334 fps=106 q=29.0 size=   90843kB time=00:09:02.87 bitrate=1370.8kbits/
frame=16447 fps=106 q=29.0 size=   91814kB time=00:09:06.64 bitrate=1375.9kbits/
frame=16561 fps=106 q=29.0 size=   92489kB time=00:09:10.44 bitrate=1376.5kbits/
frame=16678 fps=107 q=29.0 size=   93195kB time=00:09:14.35 bitrate=1377.2kbits/
frame=16789 fps=107 q=29.0 size=   94056kB time=00:09:18.05 bitrate=1380.7kbits/
frame=16902 fps=108 q=29.0 size=   94959kB time=00:09:21.82 bitrate=1384.6kbits/
frame=17026 fps=108 q=29.0 size=   95589kB time=00:09:25.96 bitrate=1383.6kbits/
frame=17150 fps=109 q=29.0 size=   96485kB time=00:09:30.10 bitrate=1386.4kbits/
frame=17268 fps=109 q=29.0 size=   97179kB time=00:09:34.04 bitrate=1386.8kbits/
frame=17386 fps=109 q=29.0 size=   98122kB time=00:09:37.97 bitrate=1390.7kbits/
frame=17506 fps=110 q=29.0 size=   99045kB time=00:09:41.98 bitrate=1394.2kbits/
frame=17658 fps=110 q=29.0 size=   99485kB time=00:09:47.05 bitrate=1388.3kbits/
frame=17800 fps=111 q=29.0 size=  100032kB time=00:09:51.79 bitrate=1384.7kbits/
frame=17936 fps=111 q=29.0 size=  100676kB time=00:09:56.32 bitrate=1383.0kbits/
frame=18038 fps=112 q=29.0 size=  101492kB time=00:09:59.73 bitrate=1386.3kbits/
frame=18148 fps=112 q=29.0 size=  102408kB time=00:10:03.40 bitrate=1390.3kbits/
frame=18272 fps=112 q=29.0 size=  103386kB time=00:10:07.54 bitrate=1394.0kbits/
frame=18390 fps=113 q=29.0 size=  104125kB time=00:10:11.47 bitrate=1395.0kbits/
frame=18535 fps=113 q=29.0 size=  104683kB time=00:10:16.31 bitrate=1391.4kbits/
frame=18673 fps=114 q=29.0 size=  105173kB time=00:10:20.92 bitrate=1387.6kbits/
frame=18821 fps=114 q=29.0 size=  105738kB time=00:10:25.85 bitrate=1384.0kbits/
frame=18969 fps=115 q=29.0 size=  106290kB time=00:10:30.79 bitrate=1380.4kbits/
frame=19094 fps=115 q=29.0 size=  107062kB time=00:10:34.96 bitrate=1381.3kbits/
frame=19198 fps=116 q=29.0 size=  108319kB time=00:10:38.43 bitrate=1389.9kbits/
frame=19312 fps=116 q=29.0 size=  109323kB time=00:10:42.24 bitrate=1394.5kbits/
frame=19420 fps=116 q=29.0 size=  110345kB time=00:10:45.84 bitrate=1399.6kbits/
frame=19525 fps=117 q=29.0 size=  111419kB time=00:10:49.34 bitrate=1405.6kbits/
frame=19640 fps=117 q=29.0 size=  112325kB time=00:10:53.18 bitrate=1408.7kbits/
frame=19769 fps=117 q=29.0 size=  113129kB time=00:10:57.49 bitrate=1409.5kbits/
frame=19906 fps=118 q=29.0 size=  113788kB time=00:11:02.06 bitrate=1407.9kbits/
frame=20045 fps=118 q=29.0 size=  114444kB time=00:11:06.69 bitrate=1406.2kbits/
frame=20188 fps=119 q=29.0 size=  115096kB time=00:11:11.47 bitrate=1404.2kbits/
frame=20346 fps=119 q=29.0 size=  115700kB time=00:11:16.74 bitrate=1400.6kbits/
frame=20482 fps=120 q=29.0 size=  116289kB time=00:11:21.28 bitrate=1398.3kbits/
frame=20628 fps=120 q=29.0 size=  116806kB time=00:11:26.15 bitrate=1394.6kbits/
frame=20753 fps=121 q=29.0 size=  117490kB time=00:11:30.32 bitrate=1394.2kbits/
frame=20881 fps=121 q=29.0 size=  118098kB time=00:11:34.59 bitrate=1392.8kbits/
frame=21007 fps=121 q=29.0 size=  118691kB time=00:11:38.79 bitrate=1391.4kbits/
frame=21134 fps=122 q=29.0 size=  119391kB time=00:11:43.03 bitrate=1391.2kbits/
frame=21257 fps=122 q=29.0 size=  119984kB time=00:11:47.13 bitrate=1390.0kbits/
frame=21377 fps=122 q=29.0 size=  120494kB time=00:11:51.14 bitrate=1388.0kbits/
frame=21495 fps=123 q=29.0 size=  121194kB time=00:11:55.08 bitrate=1388.4kbits/
frame=21620 fps=123 q=29.0 size=  121882kB time=00:11:59.25 bitrate=1388.2kbits/
frame=21754 fps=124 q=29.0 size=  122538kB time=00:12:03.72 bitrate=1387.0kbits/
frame=21883 fps=124 q=29.0 size=  123170kB time=00:12:08.02 bitrate=1385.9kbits/

Change History (14)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: FFmpegundetermined
Description: modified (diff)

comment:2 by burek, 12 years ago

did you try updating your libx264?

comment:3 by Dennis, 12 years ago

The version of libx264 compiled into the binary is: 20120508-git-999b753.
I am using the builds provided here: http://ffmpeg.zeranoe.com/builds/

Thank you.

comment:4 by Dennis, 12 years ago

Just an update:
This issue might be related to the forum thread here: http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=617
There, one user sites the following commit as a possible cause to the issue:

commit e4e30256f87f177decf59b59e923d05ef64147df
Author: Janne Grunau <janne-libav at jannau.net>
Date: Sun Dec 25 11:45:05 2011 +0100

threads: default to automatic thread count detection

Another user on that thread says "compiling with --disable-pthreads rather than --disable-w32threads" fixes the issue.

comment:5 by Carl Eugen Hoyos, 12 years ago

Can you confirm that the problem does not happen with -threads 1 ?

comment:6 by Dennis, 12 years ago

I confirm that the problem does not happen with -threads 1.
...just encodes at a lovely 20 fps...

comment:7 by Carl Eugen Hoyos, 12 years ago

Priority: normalimportant

I suspect this is important.

comment:8 by arad85, 12 years ago

The problem goes away when you compile with Win32 threads. This is being looked at by Roger Pack - he is working with the pthreads team to identify the cause. I haven't seen any update for around a week now.

comment:9 by Roger Pack, 12 years ago

as a note I'm able to reproduce this with -threads 1 with "later" builds but not those around jan 1 2012. However, with -threads 6 I'm able to reproduce this with basically any version, so my guess is it's a bug in the internal pthreads library in use. Still investigating...

comment:10 by Michael Niedermayer, 12 years ago

Summary: H264 Encoding BrokenH264 Encoding Broken with pthreads > 1 on windows

in reply to:  8 comment:11 by Michael Niedermayer, 11 years ago

Replying to arad85:

This is being looked at by Roger Pack - he is working with the pthreads team to identify the cause. I haven't seen any update for around a week now.

Any news on this ? its quite a while ...

comment:12 by Dennis, 11 years ago

While I don't know if current Zeranoe builds are using pthreads, I can say that my current FFmpeg, from Zeranoe, is working correctly. During the following encode, FFmpeg was using all available cores.

ffmpeg -i "C:\Temp\Ignition - Remix.mpg" "C:\Temp\Ignition - Remix.mp4"
ffmpeg version N-54094-gca2818b Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 18 2013 03:44:52 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mpeg @ 00000000027ca460] max_analyze_duration 5000000 reached at 5005000 micros
econds
Input #0, mpeg, from 'C:\Temp\Ignition - Remix.mpg':
  Duration: 00:03:19.19, start: 0.189011, bitrate: 4507 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR
4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
[libx264 @ 00000000027cf240] using SAR=8/9
[libx264 @ 00000000027cf240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1
Cache64
[libx264 @ 00000000027cf240] profile High, level 3.0
[libx264 @ 00000000027cf240] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=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=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'C:\Temp\Ignition - Remix.mp4':
  Metadata:
    encoder         : Lavf55.9.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x48
0 [SAR 8:9 DAR 4:3], q=-1--1, 30k tbn, 29.97 tbc
    Stream #0:1: Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 48000 Hz, s
tereo, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
  Stream #0:1 -> #0:1 (ac3 -> libvo_aacenc)
Press [q] to stop, [?] for help
frame=   97 fps=0.0 q=29.0 size=      44kB time=00:00:02.80 bitrate= 128.2kbits/
frame=  136 fps=132 q=29.0 size=     298kB time=00:00:04.31 bitrate= 564.5kbits/
frame=  174 fps=113 q=29.0 size=     631kB time=00:00:05.23 bitrate= 986.6kbits/
frame=  209 fps=102 q=29.0 size=     918kB time=00:00:06.32 bitrate=1189.4kbits/
frame=  260 fps=102 q=29.0 size=    1192kB time=00:00:08.22 bitrate=1187.9kbits/
frame=  318 fps=104 q=29.0 size=    1532kB time=00:00:10.29 bitrate=1219.1kbits/
frame=  371 fps=104 q=29.0 size=    1886kB time=00:00:11.80 bitrate=1308.7kbits/
frame=  411 fps=101 q=26.0 size=    2276kB time=00:00:13.21 bitrate=1411.1kbits/
frame=  464 fps=101 q=29.0 size=    2627kB time=00:00:14.96 bitrate=1437.9kbits/
frame=  509 fps=100 q=29.0 size=    2982kB time=00:00:16.41 bitrate=1488.1kbits/
frame=  557 fps= 99 q=29.0 size=    3321kB time=00:00:18.01 bitrate=1510.2kbits/
frame=  612 fps=100 q=29.0 size=    3653kB time=00:00:19.89 bitrate=1504.3kbits/
frame=  662 fps=100 q=29.0 size=    3928kB time=00:00:21.53 bitrate=1494.4kbits/
frame=  714 fps=100 q=29.0 size=    4243kB time=00:00:23.26 bitrate=1494.1kbits/
frame=  755 fps= 99 q=29.0 size=    4442kB time=00:00:24.56 bitrate=1481.5kbits/
frame=  808 fps= 99 q=29.0 size=    4749kB time=00:00:26.52 bitrate=1466.7kbits/
frame=  864 fps=100 q=29.0 size=    5032kB time=00:00:28.34 bitrate=1454.6kbits/
frame=  913 fps= 99 q=29.0 size=    5345kB time=00:00:30.00 bitrate=1459.2kbits/
frame=  955 fps= 98 q=29.0 size=    5683kB time=00:00:31.47 bitrate=1479.1kbits/
frame=  999 fps= 98 q=29.0 size=    6144kB time=00:00:32.94 bitrate=1527.5kbits/
frame= 1032 fps= 96 q=29.0 size=    6569kB time=00:00:34.07 bitrate=1579.1kbits/
frame= 1063 fps= 95 q=29.0 size=    7006kB time=00:00:35.06 bitrate=1637.1kbits/
frame= 1092 fps= 93 q=29.0 size=    7398kB time=00:00:35.99 bitrate=1683.5kbits/
frame= 1125 fps= 92 q=29.0 size=    7830kB time=00:00:37.08 bitrate=1729.6kbits/
frame= 1166 fps= 91 q=29.0 size=    8261kB time=00:00:38.49 bitrate=1757.9kbits/
frame= 1208 fps= 91 q=29.0 size=    8652kB time=00:00:40.03 bitrate=1770.6kbits/
frame= 1242 fps= 90 q=29.0 size=    9203kB time=00:00:41.11 bitrate=1833.6kbits/
frame= 1276 fps= 89 q=29.0 size=    9759kB time=00:00:42.20 bitrate=1894.2kbits/
frame= 1309 fps= 88 q=29.0 size=   10129kB time=00:00:43.38 bitrate=1912.8kbits/
frame= 1340 fps= 87 q=29.0 size=   10573kB time=00:00:44.40 bitrate=1950.6kbits/
frame= 1374 fps= 87 q=29.0 size=   11147kB time=00:00:45.40 bitrate=2011.1kbits/
frame= 1414 fps= 86 q=29.0 size=   11696kB time=00:00:46.81 bitrate=2046.6kbits/
frame= 1456 fps= 86 q=29.0 size=   12110kB time=00:00:48.28 bitrate=2054.6kbits/
frame= 1492 fps= 86 q=29.0 size=   12603kB time=00:00:49.46 bitrate=2087.4kbits/
frame= 1519 fps= 85 q=29.0 size=   12906kB time=00:00:50.33 bitrate=2100.5kbits/
frame= 1549 fps= 84 q=29.0 size=   13309kB time=00:00:51.35 bitrate=2122.8kbits/
frame= 1579 fps= 84 q=29.0 size=   13761kB time=00:00:52.46 bitrate=2148.5kbits/
frame= 1617 fps= 83 q=29.0 size=   14183kB time=00:00:53.47 bitrate=2173.0kbits/
frame= 1668 fps= 84 q=29.0 size=   14402kB time=00:00:55.32 bitrate=2132.5kbits/
frame= 1727 fps= 85 q=29.0 size=   14731kB time=00:00:57.05 bitrate=2115.0kbits/
frame= 1761 fps= 84 q=29.0 size=   14938kB time=00:00:58.33 bitrate=2097.8kbits/
frame= 1804 fps= 84 q=29.0 size=   15154kB time=00:00:59.87 bitrate=2073.5kbits/
frame= 1848 fps= 84 q=29.0 size=   15448kB time=00:01:01.08 bitrate=2071.7kbits/
frame= 1889 fps= 84 q=29.0 size=   15753kB time=00:01:02.43 bitrate=2067.0kbits/
frame= 1944 fps= 85 q=29.0 size=   16006kB time=00:01:04.47 bitrate=2033.6kbits/
frame= 2001 fps= 85 q=29.0 size=   16441kB time=00:01:06.39 bitrate=2028.5kbits/
frame= 2039 fps= 85 q=29.0 size=   16924kB time=00:01:07.48 bitrate=2054.3kbits/
frame= 2082 fps= 85 q=29.0 size=   17350kB time=00:01:09.08 bitrate=2057.3kbits/
frame= 2126 fps= 85 q=29.0 size=   17680kB time=00:01:10.32 bitrate=2059.5kbits/
frame= 2163 fps= 85 q=29.0 size=   18062kB time=00:01:11.83 bitrate=2059.7kbits/
frame= 2199 fps= 85 q=29.0 size=   18435kB time=00:01:13.11 bitrate=2065.4kbits/
frame= 2233 fps= 84 q=29.0 size=   18960kB time=00:01:14.03 bitrate=2097.9kbits/
frame= 2276 fps= 84 q=29.0 size=   19364kB time=00:01:15.48 bitrate=2101.4kbits/
frame= 2317 fps= 84 q=29.0 size=   19773kB time=00:01:16.98 bitrate=2104.2kbits/
frame= 2363 fps= 84 q=29.0 size=   20176kB time=00:01:18.51 bitrate=2105.1kbits/
frame= 2398 fps= 84 q=29.0 size=   20593kB time=00:01:19.47 bitrate=2122.6kbits/
frame= 2434 fps= 84 q=29.0 size=   21005kB time=00:01:20.82 bitrate=2129.1kbits/
frame= 2460 fps= 83 q=29.0 size=   21293kB time=00:01:21.69 bitrate=2135.1kbits/
frame= 2491 fps= 83 q=29.0 size=   21707kB time=00:01:22.61 bitrate=2152.5kbits/
frame= 2524 fps= 83 q=29.0 size=   22081kB time=00:01:23.76 bitrate=2159.4kbits/
frame= 2567 fps= 83 q=29.0 size=   22426kB time=00:01:25.23 bitrate=2155.4kbits/
frame= 2601 fps= 82 q=29.0 size=   22784kB time=00:01:26.19 bitrate=2165.4kbits/
frame= 2634 fps= 82 q=29.0 size=   23152kB time=00:01:27.58 bitrate=2165.5kbits/
frame= 2672 fps= 82 q=29.0 size=   23435kB time=00:01:28.62 bitrate=2166.2kbits/
frame= 2705 fps= 82 q=29.0 size=   23874kB time=00:01:29.75 bitrate=2178.9kbits/
frame= 2743 fps= 82 q=29.0 size=   24216kB time=00:01:31.10 bitrate=2177.5kbits/
frame= 2780 fps= 82 q=29.0 size=   24539kB time=00:01:32.38 bitrate=2176.0kbits/
frame= 2825 fps= 82 q=29.0 size=   24879kB time=00:01:33.72 bitrate=2174.5kbits/
frame= 2874 fps= 82 q=29.0 size=   25288kB time=00:01:35.54 bitrate=2168.3kbits/
frame= 2909 fps= 82 q=29.0 size=   25593kB time=00:01:36.62 bitrate=2169.7kbits/
frame= 2947 fps= 82 q=29.0 size=   26028kB time=00:01:37.88 bitrate=2178.3kbits/
frame= 2989 fps= 82 q=29.0 size=   26429kB time=00:01:39.18 bitrate=2182.8kbits/
frame= 3029 fps= 82 q=29.0 size=   26740kB time=00:01:40.66 bitrate=2176.2kbits/
frame= 3068 fps= 82 q=29.0 size=   27054kB time=00:01:42.04 bitrate=2171.8kbits/
frame= 3110 fps= 82 q=29.0 size=   27469kB time=00:01:43.39 bitrate=2176.5kbits/
frame= 3146 fps= 81 q=29.0 size=   27947kB time=00:01:44.62 bitrate=2188.1kbits/
frame= 3182 fps= 81 q=29.0 size=   28418kB time=00:01:45.69 bitrate=2202.5kbits/
frame= 3220 fps= 81 q=29.0 size=   28881kB time=00:01:46.91 bitrate=2213.0kbits/
frame= 3278 fps= 82 q=29.0 size=   29334kB time=00:01:49.04 bitrate=2203.8kbits/
frame= 3310 fps= 81 q=29.0 size=   29799kB time=00:01:49.98 bitrate=2219.6kbits/
frame= 3353 fps= 81 q=29.0 size=   30300kB time=00:01:51.45 bitrate=2227.1kbits/
frame= 3408 fps= 82 q=29.0 size=   30733kB time=00:01:53.33 bitrate=2221.5kbits/
frame= 3446 fps= 82 q=29.0 size=   31190kB time=00:01:54.67 bitrate=2228.1kbits/
frame= 3483 fps= 82 q=29.0 size=   31728kB time=00:01:55.87 bitrate=2243.2kbits/
frame= 3523 fps= 81 q=29.0 size=   32251kB time=00:01:57.04 bitrate=2257.2kbits/
frame= 3577 fps= 82 q=29.0 size=   32669kB time=00:01:59.13 bitrate=2246.4kbits/
frame= 3625 fps= 82 q=29.0 size=   33069kB time=00:02:00.56 bitrate=2247.0kbits/
frame= 3672 fps= 82 q=29.0 size=   33507kB time=00:02:02.10 bitrate=2248.1kbits/
frame= 3719 fps= 82 q=29.0 size=   33975kB time=00:02:03.67 bitrate=2250.4kbits/
frame= 3762 fps= 82 q=29.0 size=   34420kB time=00:02:05.04 bitrate=2255.0kbits/
frame= 3809 fps= 82 q=29.0 size=   34905kB time=00:02:06.81 bitrate=2254.8kbits/
frame= 3863 fps= 83 q=29.0 size=   35410kB time=00:02:08.56 bitrate=2256.3kbits/
frame= 3910 fps= 83 q=29.0 size=   35889kB time=00:02:10.07 bitrate=2260.2kbits/
frame= 3946 fps= 83 q=29.0 size=   36448kB time=00:02:11.35 bitrate=2273.0kbits/
frame= 3979 fps= 82 q=29.0 size=   36911kB time=00:02:12.34 bitrate=2284.8kbits/
frame= 4013 fps= 82 q=29.0 size=   37415kB time=00:02:13.23 bitrate=2300.4kbits/
frame= 4054 fps= 82 q=29.0 size=   37809kB time=00:02:14.58 bitrate=2301.5kbits/
frame= 4121 fps= 83 q=29.0 size=   38028kB time=00:02:17.14 bitrate=2271.6kbits/
frame= 4159 fps= 82 q=29.0 size=   38403kB time=00:02:18.46 bitrate=2272.1kbits/
frame= 4195 fps= 82 q=29.0 size=   38882kB time=00:02:19.63 bitrate=2281.1kbits/
frame= 4229 fps= 82 q=29.0 size=   39414kB time=00:02:20.76 bitrate=2293.7kbits/
frame= 4272 fps= 82 q=29.0 size=   39977kB time=00:02:22.06 bitrate=2305.2kbits/
frame= 4316 fps= 82 q=29.0 size=   40427kB time=00:02:23.58 bitrate=2306.5kbits/
frame= 4361 fps= 82 q=29.0 size=   40899kB time=00:02:25.07 bitrate=2309.4kbits/
frame= 4400 fps= 82 q=29.0 size=   41360kB time=00:02:26.46 bitrate=2313.3kbits/
frame= 4443 fps= 82 q=29.0 size=   41856kB time=00:02:27.80 bitrate=2319.8kbits/
frame= 4480 fps= 82 q=29.0 size=   42295kB time=00:02:29.15 bitrate=2323.0kbits/
frame= 4519 fps= 82 q=29.0 size=   42722kB time=00:02:30.49 bitrate=2325.5kbits/
frame= 4553 fps= 82 q=29.0 size=   43264kB time=00:02:31.47 bitrate=2339.8kbits/
frame= 4583 fps= 82 q=29.0 size=   43716kB time=00:02:32.54 bitrate=2347.7kbits/
frame= 4621 fps= 82 q=29.0 size=   44160kB time=00:02:33.82 bitrate=2351.8kbits/
frame= 4647 fps= 81 q=29.0 size=   44480kB time=00:02:34.48 bitrate=2358.7kbits/
frame= 4673 fps= 81 q=29.0 size=   44787kB time=00:02:35.63 bitrate=2357.4kbits/
frame= 4709 fps= 81 q=29.0 size=   45079kB time=00:02:36.59 bitrate=2358.2kbits/
frame= 4743 fps= 81 q=29.0 size=   45561kB time=00:02:37.79 bitrate=2365.4kbits/
frame= 4786 fps= 81 q=26.0 size=   46016kB time=00:02:39.02 bitrate=2370.4kbits/
frame= 4834 fps= 81 q=29.0 size=   46348kB time=00:02:40.73 bitrate=2362.2kbits/
frame= 4868 fps= 81 q=29.0 size=   46590kB time=00:02:42.01 bitrate=2355.7kbits/
frame= 4905 fps= 81 q=29.0 size=   46915kB time=00:02:43.42 bitrate=2351.7kbits/
frame= 4946 fps= 81 q=29.0 size=   47242kB time=00:02:44.51 bitrate=2352.5kbits/
frame= 4980 fps= 81 q=29.0 size=   47499kB time=00:02:45.74 bitrate=2347.6kbits/
frame= 5020 fps= 81 q=29.0 size=   47864kB time=00:02:47.19 bitrate=2345.1kbits/
frame= 5060 fps= 81 q=29.0 size=   48228kB time=00:02:48.47 bitrate=2345.0kbits/
frame= 5095 fps= 81 q=29.0 size=   48669kB time=00:02:49.50 bitrate=2352.1kbits/
frame= 5126 fps= 80 q=29.0 size=   49087kB time=00:02:50.59 bitrate=2357.2kbits/
frame= 5175 fps= 81 q=29.0 size=   49471kB time=00:02:52.21 bitrate=2353.3kbits/
frame= 5212 fps= 81 q=29.0 size=   49906kB time=00:02:53.53 bitrate=2355.9kbits/
frame= 5252 fps= 81 q=29.0 size=   50353kB time=00:02:54.75 bitrate=2360.5kbits/
frame= 5287 fps= 80 q=29.0 size=   50711kB time=00:02:56.18 bitrate=2358.0kbits/
frame= 5329 fps= 80 q=29.0 size=   51004kB time=00:02:57.43 bitrate=2354.8kbits/
frame= 5365 fps= 80 q=29.0 size=   51432kB time=00:02:58.65 bitrate=2358.3kbits/
frame= 5404 fps= 80 q=29.0 size=   51880kB time=00:03:00.02 bitrate=2360.8kbits/
frame= 5433 fps= 80 q=29.0 size=   52213kB time=00:03:00.89 bitrate=2364.5kbits/
frame= 5470 fps= 80 q=29.0 size=   52672kB time=00:03:02.13 bitrate=2369.1kbits/
frame= 5503 fps= 80 q=29.0 size=   53088kB time=00:03:03.34 bitrate=2372.0kbits/
frame= 5539 fps= 80 q=29.0 size=   53520kB time=00:03:04.54 bitrate=2375.8kbits/
frame= 5566 fps= 80 q=29.0 size=   53924kB time=00:03:05.39 bitrate=2382.7kbits/
frame= 5601 fps= 80 q=29.0 size=   54462kB time=00:03:06.59 bitrate=2391.1kbits/
frame= 5634 fps= 79 q=29.0 size=   54974kB time=00:03:07.50 bitrate=2401.7kbits/
frame= 5668 fps= 79 q=29.0 size=   55533kB time=00:03:08.78 bitrate=2409.7kbits/
frame= 5726 fps= 80 q=29.0 size=   55855kB time=00:03:10.36 bitrate=2403.6kbits/
frame= 5889 fps= 81 q=29.0 size=   56001kB time=00:03:15.87 bitrate=2342.1kbits/
frame= 5971 fps= 82 q=-1.0 Lsize=   56321kB time=00:03:19.16 bitrate=2316.6kbits
/s dup=10 drop=0
video:53001kB audio:3108kB subtitle:0 global headers:0kB muxing overhead 0.37826
5%
[libx264 @ 00000000027cf240] frame I:124   Avg QP:20.47  size: 26035
[libx264 @ 00000000027cf240] frame P:3074  Avg QP:24.53  size: 12285
[libx264 @ 00000000027cf240] frame B:2773  Avg QP:27.06  size:  4789
[libx264 @ 00000000027cf240] consecutive B-frames: 14.0% 70.1%  6.7%  9.2%
[libx264 @ 00000000027cf240] mb I  I16..4: 34.1% 50.5% 15.4%
[libx264 @ 00000000027cf240] mb P  I16..4:  3.9% 12.2%  2.0%  P16..4: 27.2% 13.2
%  6.1%  0.0%  0.0%    skip:35.4%
[libx264 @ 00000000027cf240] mb B  I16..4:  0.3%  0.7%  0.2%  B16..8: 24.3%  7.6
%  2.5%  direct: 5.0%  skip:59.4%  L0:38.0% L1:42.7% BI:19.3%
[libx264 @ 00000000027cf240] 8x8 transform intra:63.9% inter:72.8%
[libx264 @ 00000000027cf240] coded y,uvDC,uvAC intra: 63.1% 80.7% 60.6% inter: 2
1.6% 26.3% 5.8%
[libx264 @ 00000000027cf240] i16 v,h,dc,p: 44% 38%  8% 11%
[libx264 @ 00000000027cf240] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 18% 22%  5%  6%
 8%  7%  8%  8%
[libx264 @ 00000000027cf240] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 35% 17%  4%  5%
 6%  5%  5%  5%
[libx264 @ 00000000027cf240] i8c dc,h,v,p: 42% 26% 21% 11%
[libx264 @ 00000000027cf240] Weighted P-Frames: Y:8.4% UV:6.5%
[libx264 @ 00000000027cf240] ref P L0: 58.3% 16.5% 17.9%  7.1%  0.2%
[libx264 @ 00000000027cf240] ref B L0: 89.9%  9.4%  0.7%
[libx264 @ 00000000027cf240] ref B L1: 99.4%  0.6%
[libx264 @ 00000000027cf240] kb/s:2179.25
[libvo_aacenc @ 00000000027c6ca0] 1 frames left in the queue on closing

comment:13 by Carl Eugen Hoyos, 11 years ago

It would be great to know which pthread (Windows-) version fixed this or if a patch in FFmpeg fixed the issue (for all pthread versions).

comment:14 by Michael Niedermayer, 10 years ago

Resolution: fixed
Status: newclosed

According to https://trac.ffmpeg.org/ticket/1509#comment:12 this has been fixed.
Noone replied to the question about which change fixed it in 13 months

Note: See TracTickets for help on using tickets.