Ticket #9055: paste_1179824

File paste_1179824, 48.3 KB (added by Gregory Beauregard, 6 years ago)

debug output

Line 
1ffmpeg version N-100560-g5f9632e491 Copyright (c) 2000-2021 the FFmpeg developers
2 built with gcc 10 (Debian 10.2.1-3)
3 configuration: --prefix=/home/gregory/apps/ffmpeg/build --pkg-config-flags=--static --extra-cflags=-I/home/gregory/apps/ffmpeg/build/include --extra-ldflags=-L/home/gregory/apps/ffmpeg/build/lib --extra-libs='-lpthread -lm' --bindir=/home/gregory/apps/ffmpeg/bin --enable-gpl --enable-gnutls --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libsrt --enable-vulkan --enable-libglslang --enable-opencl --enable-libmfx --enable-nonfree --enable-libplacebo --enable-libzimg --enable-libdrm --optflags='-march=native -O3 -pipe -Wa,-mbranches-within-32B-boundaries' --disable-debug --cpu=host --disable-doc --disable-htmlpages --disable-manpages
4 libavutil 56. 63.100 / 56. 63.100
5 libavcodec 58.115.102 / 58.115.102
6 libavformat 58. 65.101 / 58. 65.101
7 libavdevice 58. 11.103 / 58. 11.103
8 libavfilter 7. 95.100 / 7. 95.100
9 libswscale 5. 8.100 / 5. 8.100
10 libswresample 3. 8.100 / 3. 8.100
11 libpostproc 55. 8.100 / 55. 8.100
12Splitting the commandline.
13Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
14Reading option '-stream_loop' ... matched as option 'stream_loop' (set number of times input stream shall be looped) with argument '1'.
15Reading option '-i' ... matched as input url with argument 'test-img.jpg'.
16Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '5'.
17Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'pad=ceil(iw/2)*2:ceil(ih/2)*2,format=yuv420p'.
18Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
19Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
20Reading option '-crf' ... matched as AVOption 'crf' with argument '0'.
21Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
22Reading option 'vtest.nut' ... matched as output url.
23Finished splitting the commandline.
24Parsing a group of options: global .
25Applying option loglevel (set logging level) with argument debug.
26Applying option y (overwrite output files) with argument 1.
27Successfully parsed a group of options.
28Parsing a group of options: input url test-img.jpg.
29Applying option stream_loop (set number of times input stream shall be looped) with argument 1.
30Successfully parsed a group of options.
31Opening an input file: test-img.jpg.
32[NULL @ 0x555b4416c480] Opening 'test-img.jpg' for reading
33[file @ 0x555b4416cf00] Setting default whitelist 'file,crypto,data'
34[image2 @ 0x555b4416c480] Format image2 probed with size=2048 and score=50
35[image2 @ 0x555b4416c480] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
36[mjpeg @ 0x555b4416e580] marker=d8 avail_size_in_buf=147814
37[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
38[mjpeg @ 0x555b4416e580] marker=e0 avail_size_in_buf=147812
39[mjpeg @ 0x555b4416e580] marker parser used 16 bytes (128 bits)
40[mjpeg @ 0x555b4416e580] marker=db avail_size_in_buf=147794
41[mjpeg @ 0x555b4416e580] index=0
42[mjpeg @ 0x555b4416e580] qscale[0]: 2
43[mjpeg @ 0x555b4416e580] marker parser used 67 bytes (536 bits)
44[mjpeg @ 0x555b4416e580] marker=db avail_size_in_buf=147725
45[mjpeg @ 0x555b4416e580] index=1
46[mjpeg @ 0x555b4416e580] qscale[1]: 8
47[mjpeg @ 0x555b4416e580] marker parser used 67 bytes (536 bits)
48[mjpeg @ 0x555b4416e580] marker=c2 avail_size_in_buf=147656
49[mjpeg @ 0x555b4416e580] Changing bps from 0 to 8
50[mjpeg @ 0x555b4416e580] sof0: picture: 939x932
51[mjpeg @ 0x555b4416e580] component 0 1:1 id: 0 quant:0
52[mjpeg @ 0x555b4416e580] component 1 1:1 id: 1 quant:1
53[mjpeg @ 0x555b4416e580] component 2 1:1 id: 2 quant:1
54[mjpeg @ 0x555b4416e580] pix fmt id 11111100
55[mjpeg @ 0x555b4416e580] Format yuvj444p chosen by get_format().
56[mjpeg @ 0x555b4416e580] marker parser used 17 bytes (136 bits)
57[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=147637
58[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
59[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=147607
60[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
61[mjpeg @ 0x555b4416e580] escaping removed 132179 bytes
62[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=147580
63[mjpeg @ 0x555b4416e580] marker parser used 15401 bytes (123208 bits)
64[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=132163
65[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
66[mjpeg @ 0x555b4416e580] escaping removed 114602 bytes
67[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=132112
68[mjpeg @ 0x555b4416e580] marker parser used 17510 bytes (140080 bits)
69[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=114536
70[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
71[mjpeg @ 0x555b4416e580] escaping removed 112063 bytes
72[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=114488
73[mjpeg @ 0x555b4416e580] marker parser used 2425 bytes (19400 bits)
74[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=112058
75[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
76[mjpeg @ 0x555b4416e580] escaping removed 106064 bytes
77[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=112004
78[mjpeg @ 0x555b4416e580] marker parser used 5940 bytes (47520 bits)
79[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=106037
80[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
81[mjpeg @ 0x555b4416e580] escaping removed 80170 bytes
82[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=105958
83[mjpeg @ 0x555b4416e580] marker parser used 25788 bytes (206304 bits)
84[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=80070
85[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
86[mjpeg @ 0x555b4416e580] escaping removed 53540 bytes
87[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=80024
88[mjpeg @ 0x555b4416e580] marker parser used 26484 bytes (211872 bits)
89[mjpeg @ 0x555b4416e580] escaping removed 48258 bytes
90[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=53449
91[mjpeg @ 0x555b4416e580] marker parser used 5191 bytes (41528 bits)
92[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=48244
93[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
94[mjpeg @ 0x555b4416e580] escaping removed 43515 bytes
95[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=48199
96[mjpeg @ 0x555b4416e580] marker parser used 4684 bytes (37472 bits)
97[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=43497
98[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
99[mjpeg @ 0x555b4416e580] escaping removed 34950 bytes
100[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=43452
101[mjpeg @ 0x555b4416e580] marker parser used 8502 bytes (68016 bits)
102[mjpeg @ 0x555b4416e580] marker=c4 avail_size_in_buf=34921
103[mjpeg @ 0x555b4416e580] marker parser used 0 bytes (0 bits)
104[mjpeg @ 0x555b4416e580] escaping removed 129 bytes
105[mjpeg @ 0x555b4416e580] marker=da avail_size_in_buf=34874
106[mjpeg @ 0x555b4416e580] marker parser used 34745 bytes (277960 bits)
107[mjpeg @ 0x555b4416e580] marker=d9 avail_size_in_buf=0
108[mjpeg @ 0x555b4416e580] decode frame unused 0 bytes
109[image2 @ 0x555b4416c480] After avformat_find_stream_info() pos: 147816 bytes read:147816 seeks:0 frames:1
110Input #0, image2, from 'test-img.jpg':
111 Duration: 00:00:00.04, start: 0.000000, bitrate: 29563 kb/s
112 Stream #0:0, 1, 1/25: Video: mjpeg (Progressive), 1 reference frame, yuvj444p(pc, bt470bg/unknown/unknown, center), 939x932 [SAR 1:1 DAR 939:932], 0/1, 25 fps, 25 tbr, 25 tbn, 25 tbc
113Successfully opened the file.
114Parsing a group of options: output url vtest.nut.
115Applying option t (record or transcode "duration" seconds of audio/video) with argument 5.
116Applying option vf (set video filters) with argument pad=ceil(iw/2)*2:ceil(ih/2)*2,format=yuv420p.
117Applying option c:v (codec name) with argument libx264.
118Applying option pix_fmt (set pixel format) with argument yuv420p.
119Successfully parsed a group of options.
120Opening an output file: vtest.nut.
121[file @ 0x555b44179d00] Setting default whitelist 'file,crypto,data'
122Successfully opened the file.
123Stream mapping:
124 Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
125Press [q] to stop, [?] for help
126cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
127[mjpeg @ 0x555b4416fdc0] marker=d8 avail_size_in_buf=147814
128[mjpeg @ 0x555b4416fdc0] marker parser used 0 bytes (0 bits)
129[mjpeg @ 0x555b4416fdc0] marker=e0 avail_size_in_buf=147812
130[mjpeg @ 0x555b4416fdc0] marker parser used 16 bytes (128 bits)
131[mjpeg @ 0x555b4416fdc0] marker=db avail_size_in_buf=147794
132[mjpeg @ 0x555b4416fdc0] index=0
133[mjpeg @ 0x555b4416fdc0] qscale[0]: 2
134[mjpeg @ 0x555b4416fdc0] marker parser used 67 bytes (536 bits)
135[mjpeg @ 0x555b4416fdc0] marker=db avail_size_in_buf=147725
136[mjpeg @ 0x555b4416fdc0] index=1
137[mjpeg @ 0x555b4416fdc0] qscale[1]: 8
138[mjpeg @ 0x555b4416fdc0] marker parser used 67 bytes (536 bits)
139[mjpeg @ 0x555b4416fdc0] marker=c2 avail_size_in_buf=147656
140[mjpeg @ 0x555b4416fdc0] sof0: picture: 939x932
141[mjpeg @ 0x555b4416fdc0] component 0 1:1 id: 0 quant:0
142[mjpeg @ 0x555b4416fdc0] component 1 1:1 id: 1 quant:1
143[mjpeg @ 0x555b4416fdc0] component 2 1:1 id: 2 quant:1
144[mjpeg @ 0x555b4416fdc0] pix fmt id 11111100
145[mjpeg @ 0x555b4416fdc0] Format yuvj444p chosen by get_format().
146[mjpeg @ 0x555b4416fdc0] marker parser used 17 bytes (136 bits)
147[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=147637
148[mjpeg @ 0x555b4416fdc0] class=0 index=0 nb_codes=9
149[mjpeg @ 0x555b4416fdc0] marker parser used 28 bytes (224 bits)
150[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=147607
151[mjpeg @ 0x555b4416fdc0] class=0 index=1 nb_codes=6
152[mjpeg @ 0x555b4416fdc0] marker parser used 25 bytes (200 bits)
153[mjpeg @ 0x555b4416fdc0] escaping removed 132179 bytes
154[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=147580
155[mjpeg @ 0x555b4416fdc0] component: 0
156[mjpeg @ 0x555b4416fdc0] component: 1
157[mjpeg @ 0x555b4416fdc0] component: 2
158[mjpeg @ 0x555b4416fdc0] marker parser used 15400 bytes (123193 bits)
159[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=132163
160[mjpeg @ 0x555b4416fdc0] class=1 index=0 nb_codes=30
161[mjpeg @ 0x555b4416fdc0] marker parser used 49 bytes (392 bits)
162[mjpeg @ 0x555b4416fdc0] escaping removed 114602 bytes
163[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=132112
164[mjpeg @ 0x555b4416fdc0] component: 0
165[mjpeg @ 0x555b4416fdc0] marker parser used 17509 bytes (140072 bits)
166[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=114536
167[mjpeg @ 0x555b4416fdc0] class=1 index=1 nb_codes=27
168[mjpeg @ 0x555b4416fdc0] marker parser used 46 bytes (368 bits)
169[mjpeg @ 0x555b4416fdc0] escaping removed 112063 bytes
170[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=114488
171[mjpeg @ 0x555b4416fdc0] component: 2
172[mjpeg @ 0x555b4416fdc0] marker parser used 2424 bytes (19386 bits)
173[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=112058
174[mjpeg @ 0x555b4416fdc0] class=1 index=1 nb_codes=33
175[mjpeg @ 0x555b4416fdc0] marker parser used 52 bytes (416 bits)
176[mjpeg @ 0x555b4416fdc0] escaping removed 106064 bytes
177[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=112004
178[mjpeg @ 0x555b4416fdc0] component: 1
179[mjpeg @ 0x555b4416fdc0] marker parser used 5939 bytes (47507 bits)
180[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=106037
181[mjpeg @ 0x555b4416fdc0] class=1 index=0 nb_codes=58
182[mjpeg @ 0x555b4416fdc0] marker parser used 77 bytes (616 bits)
183[mjpeg @ 0x555b4416fdc0] escaping removed 80170 bytes
184[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=105958
185[mjpeg @ 0x555b4416fdc0] component: 0
186[mjpeg @ 0x555b4416fdc0] marker parser used 25787 bytes (206295 bits)
187[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=80070
188[mjpeg @ 0x555b4416fdc0] class=1 index=0 nb_codes=25
189[mjpeg @ 0x555b4416fdc0] marker parser used 44 bytes (352 bits)
190[mjpeg @ 0x555b4416fdc0] escaping removed 53540 bytes
191[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=80024
192[mjpeg @ 0x555b4416fdc0] component: 0
193[mjpeg @ 0x555b4416fdc0] marker parser used 26483 bytes (211858 bits)
194[mjpeg @ 0x555b4416fdc0] escaping removed 48258 bytes
195[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=53449
196[mjpeg @ 0x555b4416fdc0] component: 0
197[mjpeg @ 0x555b4416fdc0] component: 1
198[mjpeg @ 0x555b4416fdc0] component: 2
199[mjpeg @ 0x555b4416fdc0] marker parser used 5190 bytes (41514 bits)
200[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=48244
201[mjpeg @ 0x555b4416fdc0] class=1 index=1 nb_codes=24
202[mjpeg @ 0x555b4416fdc0] marker parser used 43 bytes (344 bits)
203[mjpeg @ 0x555b4416fdc0] escaping removed 43515 bytes
204[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=48199
205[mjpeg @ 0x555b4416fdc0] component: 2
206[mjpeg @ 0x555b4416fdc0] marker parser used 4683 bytes (37458 bits)
207[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=43497
208[mjpeg @ 0x555b4416fdc0] class=1 index=1 nb_codes=24
209[mjpeg @ 0x555b4416fdc0] marker parser used 43 bytes (344 bits)
210[mjpeg @ 0x555b4416fdc0] escaping removed 34950 bytes
211[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=43452
212[mjpeg @ 0x555b4416fdc0] component: 1
213[mjpeg @ 0x555b4416fdc0] marker parser used 8501 bytes (68003 bits)
214[mjpeg @ 0x555b4416fdc0] marker=c4 avail_size_in_buf=34921
215[mjpeg @ 0x555b4416fdc0] class=1 index=0 nb_codes=26
216[mjpeg @ 0x555b4416fdc0] marker parser used 45 bytes (360 bits)
217[mjpeg @ 0x555b4416fdc0] escaping removed 129 bytes
218[mjpeg @ 0x555b4416fdc0] marker=da avail_size_in_buf=34874
219[mjpeg @ 0x555b4416fdc0] component: 0
220[mjpeg @ 0x555b4416fdc0] marker parser used 34744 bytes (277952 bits)
221[mjpeg @ 0x555b4416fdc0] marker=d9 avail_size_in_buf=0
222[mjpeg @ 0x555b4416fdc0] decode frame unused 0 bytes
223detected 16 logical cores
224[Parsed_pad_0 @ 0x555b44174d80] Setting 'width' to value 'ceil(iw/2)*2'
225[Parsed_pad_0 @ 0x555b44174d80] Setting 'height' to value 'ceil(ih/2)*2'
226[Parsed_format_1 @ 0x555b441ba1c0] Setting 'pix_fmts' to value 'yuv420p'
227[graph 0 input from stream 0:0 @ 0x555b441bac00] Setting 'video_size' to value '939x932'
228[graph 0 input from stream 0:0 @ 0x555b441bac00] Setting 'pix_fmt' to value '14'
229[graph 0 input from stream 0:0 @ 0x555b441bac00] Setting 'time_base' to value '1/25'
230[graph 0 input from stream 0:0 @ 0x555b441bac00] Setting 'pixel_aspect' to value '1/1'
231[graph 0 input from stream 0:0 @ 0x555b441bac00] Setting 'frame_rate' to value '25/1'
232[graph 0 input from stream 0:0 @ 0x555b441bac00] w:939 h:932 pixfmt:yuvj444p tb:1/25 fr:25/1 sar:1/1
233[format @ 0x555b441bbcc0] Setting 'pix_fmts' to value 'yuv420p'
234[auto_scaler_0 @ 0x555b441becc0] Setting 'flags' to value 'bicubic'
235[auto_scaler_0 @ 0x555b441becc0] w:iw h:ih flags:'bicubic' interl:0
236[Parsed_format_1 @ 0x555b441ba1c0] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_pad_0' and the filter 'Parsed_format_1'
237[AVFilterGraph @ 0x555b44174a80] query_formats: 6 queried, 4 merged, 1 already done, 0 delayed
238[Parsed_pad_0 @ 0x555b44174d80] w:939 h:932 -> w:940 h:932 x:0 y:0 color:0x000000FF
239[swscaler @ 0x555b441c0540] deprecated pixel format used, make sure you did set range correctly
240[auto_scaler_0 @ 0x555b441becc0] w:940 h:932 fmt:yuvj444p sar:1/1 -> w:940 h:932 fmt:yuv420p sar:1/1 flags:0x4
241[Parsed_pad_0 @ 0x555b44174d80] Direct padding impossible allocating new frame
242[libx264 @ 0x555b441727c0] using mv_range_thread = 24
243[libx264 @ 0x555b441727c0] using SAR=1/1
244[libx264 @ 0x555b441727c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
245[libx264 @ 0x555b441727c0] profile High 4:4:4 Predictive, level 3.1, 4:2:0, 8-bit
246[libx264 @ 0x555b441727c0] 264 - core 160 r3011 cde9a93 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=24 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
247Output #0, nut, to 'vtest.nut':
248 Metadata:
249 encoder : Lavf58.65.101
250 Stream #0:0, 0, 1/51200: Video: h264, 1 reference frame (H264 / 0x34363248), yuv420p(tv, bt470bg/unknown/unknown, progressive, center), 940x932 (0x0) [SAR 1:1 DAR 235:233], 0/1, q=2-31, 25 fps, 51200 tbn
251 Metadata:
252 encoder : Lavc58.115.102 libx264
253 Side data:
254 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
255Clipping frame in rate conversion by 0.000008
256frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
257cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
258 Last message repeated 1 times
259[out_0_0 @ 0x555b441bb900] EOF on sink link out_0_0:default.
260No more output streams to write to, finishing.
261[libx264 @ 0x555b441727c0] frame= 0 QP=0.00 NAL=3 Slice:I Poc:0 I:3480 P:0 SKIP:0 size=297807 bytes
262frame= 1 fps=0.0 q=0.0 Lsize= 292kB time=00:00:00.00 bitrate=119479600.0kbits/s speed=0.000287x
263video:291kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.121339%
264Input file #0 (test-img.jpg):
265 Input stream #0:0 (video): 1 packets read (147816 bytes); 1 frames decoded;
266 Total: 1 packets (147816 bytes) demuxed
267Output file #0 (vtest.nut):
268 Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (298337 bytes);
269 Total: 1 packets (298337 bytes) muxed
2701 frames successfully decoded, 0 decoding errors
271[AVIOContext @ 0x555b44178c40] Statistics: 0 seeks, 2 writeouts
272[libx264 @ 0x555b441727c0] frame I:1 Avg QP: 0.00 size:297807
273[libx264 @ 0x555b441727c0] mb I I16..4..PCM: 50.3% 7.8% 41.9% 0.0%
274[libx264 @ 0x555b441727c0] 8x8 transform intra:7.8%
275[libx264 @ 0x555b441727c0] coded y,uvDC,uvAC intra: 56.0% 49.1% 48.8%
276[libx264 @ 0x555b441727c0] i16 v,h,dc,p: 67% 29% 4% 0%
277[libx264 @ 0x555b441727c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 48% 2% 1% 1% 0% 1% 0% 10%
278[libx264 @ 0x555b441727c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 30% 7% 7% 6% 6% 5% 5% 3%
279[libx264 @ 0x555b441727c0] i8c dc,h,v,p: 50% 23% 27% 0%
280[libx264 @ 0x555b441727c0] kb/s:59561.40
281[AVIOContext @ 0x555b441752c0] Statistics: 147816 bytes read, 0 seeks
282Splitting the commandline.
283Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
284Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
285Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'vaapi=foo:/dev/dri/renderD128'.
286Reading option '-filter_hw_device' ... matched as option 'filter_hw_device' (set hardware device used when filtering) with argument 'foo'.
287Reading option '-i' ... matched as input url with argument 'vtest.nut'.
288Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_vaapi'.
289Reading option '-r:v' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '30'.
290Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'high'.
291Reading option '-qp:v' ... matched as AVOption 'qp:v' with argument '18'.
292Reading option '-bf:v' ... matched as AVOption 'bf:v' with argument '2'.
293Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'format=nv12,hwupload'.
294Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
295Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
296Reading option 'vaapiencode.mkv' ... matched as output url.
297Finished splitting the commandline.
298Parsing a group of options: global .
299Applying option loglevel (set logging level) with argument debug.
300Applying option hide_banner (do not show program banner) with argument 1.
301Applying option init_hw_device (initialise hardware device) with argument vaapi=foo:/dev/dri/renderD128.
302[AVHWDeviceContext @ 0x555fe1b36540] libva: VA-API version 1.10.0
303[AVHWDeviceContext @ 0x555fe1b36540] libva: User environment variable requested driver 'i965'
304[AVHWDeviceContext @ 0x555fe1b36540] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
305[AVHWDeviceContext @ 0x555fe1b36540] libva: Found init function __vaDriverInit_1_8
306[AVHWDeviceContext @ 0x555fe1b36540] libva: va_openDriver() returns 0
307[AVHWDeviceContext @ 0x555fe1b36540] Initialised VAAPI connection: version 1.10
308[AVHWDeviceContext @ 0x555fe1b36540] Format 0x32315659 -> yuv420p.
309[AVHWDeviceContext @ 0x555fe1b36540] Format 0x30323449 -> yuv420p.
310[AVHWDeviceContext @ 0x555fe1b36540] Format 0x3231564e -> nv12.
311[AVHWDeviceContext @ 0x555fe1b36540] Format 0x32595559 -> yuyv422.
312[AVHWDeviceContext @ 0x555fe1b36540] Format 0x59565955 -> uyvy422.
313[AVHWDeviceContext @ 0x555fe1b36540] Format 0x48323234 -> yuv422p.
314[AVHWDeviceContext @ 0x555fe1b36540] Format 0x58424752 -> rgb0.
315[AVHWDeviceContext @ 0x555fe1b36540] Format 0x58524742 -> bgr0.
316[AVHWDeviceContext @ 0x555fe1b36540] Format 0x30313050 -> p010le.
317[AVHWDeviceContext @ 0x555fe1b36540] VAAPI driver: Intel i965 driver for Intel(R) Coffee Lake - 2.4.1.
318[AVHWDeviceContext @ 0x555fe1b36540] Driver not found in known nonstandard list, using standard behaviour.
319Applying option filter_hw_device (set hardware device used when filtering) with argument foo.
320Applying option y (overwrite output files) with argument 1.
321Successfully parsed a group of options.
322Parsing a group of options: input url vtest.nut.
323Successfully parsed a group of options.
324Opening an input file: vtest.nut.
325[NULL @ 0x555fe1b466c0] Opening 'vtest.nut' for reading
326[file @ 0x555fe1b47180] Setting default whitelist 'file,crypto,data'
327[nut @ 0x555fe1b466c0] Format nut probed with size=2048 and score=100
328[nut @ 0x555fe1b466c0] Before avformat_find_stream_info() pos: 320 bytes read:32805 seeks:3 nb_streams:1
329[h264 @ 0x555fe1b49600] nal_unit_type: 7(SPS), nal_ref_idc: 3
330[h264 @ 0x555fe1b49600] nal_unit_type: 8(PPS), nal_ref_idc: 3
331[h264 @ 0x555fe1b49600] nal_unit_type: 6(SEI), nal_ref_idc: 0
332[h264 @ 0x555fe1b49600] nal_unit_type: 5(IDR), nal_ref_idc: 3
333[h264 @ 0x555fe1b49600] Format yuv420p chosen by get_format().
334[h264 @ 0x555fe1b49600] Reinit context to 944x944, pix_fmt: yuv420p
335[h264 @ 0x555fe1b49600] no picture
336[nut @ 0x555fe1b466c0] decoding for stream 0 failed
337[nut @ 0x555fe1b466c0] After avformat_find_stream_info() pos: 298699 bytes read:331184 seeks:3 frames:1
338Input #0, nut, from 'vtest.nut':
339 Metadata:
340 encoder : Lavf58.65.101
341 Duration: 00:00:00.00, bitrate: N/A
342 Stream #0:0, 1, 1/51200: Video: h264 (High 4:4:4 Predictive), 1 reference frame (H264 / 0x34363248), yuv420p(tv, bt470bg/unknown/unknown, left), 940x932 (944x944) [SAR 1:1 DAR 235:233], 0/1, 25 tbr, 51200 tbn, 50 tbc
343 Metadata:
344 encoder : Lavc58.115.102 libx264
345Successfully opened the file.
346Parsing a group of options: output url vaapiencode.mkv.
347Applying option c:v (codec name) with argument h264_vaapi.
348Applying option r:v (set frame rate (Hz value, fraction or abbreviation)) with argument 30.
349Applying option profile:v (set profile) with argument high.
350Applying option vf (set video filters) with argument format=nv12,hwupload.
351Applying option map (set input stream mapping) with argument 0.
352Successfully parsed a group of options.
353Opening an output file: vaapiencode.mkv.
354[file @ 0x555fe1b70500] Setting default whitelist 'file,crypto,data'
355Successfully opened the file.
356detected 16 logical cores
357[h264 @ 0x555fe1baf700] nal_unit_type: 7(SPS), nal_ref_idc: 3
358[h264 @ 0x555fe1baf700] nal_unit_type: 8(PPS), nal_ref_idc: 3
359Stream mapping:
360 Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
361Press [q] to stop, [?] for help
362cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
363 Last message repeated 1 times
364[h264 @ 0x555fe1baf700] nal_unit_type: 6(SEI), nal_ref_idc: 0
365[h264 @ 0x555fe1baf700] nal_unit_type: 5(IDR), nal_ref_idc: 3
366[h264 @ 0x555fe1baf700] Format yuv420p chosen by get_format().
367[h264 @ 0x555fe1baf700] Reinit context to 944x944, pix_fmt: yuv420p
368[h264 @ 0x555fe1baf700] no picture
369[Parsed_format_0 @ 0x555fe1bc4b80] Setting 'pix_fmts' to value 'nv12'
370[graph 0 input from stream 0:0 @ 0x555fe1e09f80] Setting 'video_size' to value '940x932'
371[graph 0 input from stream 0:0 @ 0x555fe1e09f80] Setting 'pix_fmt' to value '0'
372[graph 0 input from stream 0:0 @ 0x555fe1e09f80] Setting 'time_base' to value '1/51200'
373[graph 0 input from stream 0:0 @ 0x555fe1e09f80] Setting 'pixel_aspect' to value '1/1'
374[graph 0 input from stream 0:0 @ 0x555fe1e09f80] Setting 'frame_rate' to value '25/1'
375[graph 0 input from stream 0:0 @ 0x555fe1e09f80] w:940 h:932 pixfmt:yuv420p tb:1/51200 fr:25/1 sar:1/1
376[format @ 0x555fe1e0a380] Setting 'pix_fmts' to value 'vaapi_vld'
377[auto_scaler_0 @ 0x555fe1e0c400] Setting 'flags' to value 'bicubic'
378[auto_scaler_0 @ 0x555fe1e0c400] w:iw h:ih flags:'bicubic' interl:0
379[Parsed_format_0 @ 0x555fe1bc4b80] auto-inserting filter 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_format_0'
380[AVFilterGraph @ 0x555fe1b4f340] query_formats: 5 queried, 3 merged, 1 already done, 0 delayed
381[auto_scaler_0 @ 0x555fe1e0c400] w:940 h:932 fmt:yuv420p sar:1/1 -> w:940 h:932 fmt:nv12 sar:1/1 flags:0x4
382[hwupload @ 0x555fe1b9efc0] Surface format is nv12.
383[AVHWFramesContext @ 0x555fe1b6dd00] Created surface 0x4000000.
384[AVHWFramesContext @ 0x555fe1b6dd00] Direct mapping possible.
385[AVHWFramesContext @ 0x555fe1b6dd00] Map surface 0x4000000.
386[AVHWFramesContext @ 0x555fe1b6dd00] Unmap surface 0x4000000.
387[h264_vaapi @ 0x555fe1b6ea40] Using input frames context (format vaapi_vld) with h264_vaapi encoder.
388[h264_vaapi @ 0x555fe1b6ea40] Input surface format is nv12.
389[h264_vaapi @ 0x555fe1b6ea40] Using VAAPI profile VAProfileH264High (7).
390[h264_vaapi @ 0x555fe1b6ea40] Using VAAPI entrypoint VAEntrypointEncSlice (6).
391[h264_vaapi @ 0x555fe1b6ea40] Using VAAPI render target format YUV420 (0x1).
392[h264_vaapi @ 0x555fe1b6ea40] Driver supports RC modes CQP, CBR, VBR.
393[h264_vaapi @ 0x555fe1b6ea40] RC mode: CQP.
394[h264_vaapi @ 0x555fe1b6ea40] RC quality: 18.
395[h264_vaapi @ 0x555fe1b6ea40] RC framerate: 30/1 (30.00 fps).
396[h264_vaapi @ 0x555fe1b6ea40] Using intra, P- and B-frames (supported references: 4 / 1).
397[h264_vaapi @ 0x555fe1b6ea40] All wanted packed headers available (wanted 0xd, found 0x1f).
398[h264_vaapi @ 0x555fe1b6ea40] Using nv12 as format of reconstructed frames.
399[AVHWFramesContext @ 0x555fe1f79ec0] Created surface 0x4000001.
400[AVHWFramesContext @ 0x555fe1f79ec0] Direct mapping possible.
401[h264_vaapi @ 0x555fe1b6ea40] Using fixed QP = 18 / 18 / 22 for IDR- / P- / B-frames.
402[h264_vaapi @ 0x555fe1b6ea40] Using level 3.1.
403[matroska @ 0x555fe1b6f480] get_metadata_duration returned: 0
404Output #0, matroska, to 'vaapiencode.mkv':
405 Metadata:
406 encoder : Lavf58.65.101
407 Stream #0:0, 0, 1/1000: Video: h264 (High), 1 reference frame (H264 / 0x34363248), vaapi_vld(tv, bt470bg/unknown/unknown, progressive, left), 940x932 (0x0) [SAR 1:1 DAR 235:233], 0/1, q=2-31, 30 fps, 1k tbn
408 Metadata:
409 encoder : Lavc58.115.102 h264_vaapi
410Clipping frame in rate conversion by 0.000008
411[h264_vaapi @ 0x555fe1b6ea40] Input frame: 940x932 (0).
412[h264_vaapi @ 0x555fe1b6ea40] Pick nothing to encode next - need more input for timestamps.
413frame= 1 fps=0.0 q=0.0 size= 1kB time=00:00:00.00 bitrate=N/A speed= 0x
414cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
415 Last message repeated 1 times
416[out_0_0 @ 0x555fe1e0a640] EOF on sink link out_0_0:default.
417No more output streams to write to, finishing.
418[h264_vaapi @ 0x555fe1b6ea40] Pick forced IDR-picture to encode next.
419[h264_vaapi @ 0x555fe1b6ea40] Issuing encode for pic 0/0 as type IDR.
420[h264_vaapi @ 0x555fe1b6ea40] No reference pictures.
421[h264_vaapi @ 0x555fe1b6ea40] Input surface is 0x4000000.
422[h264_vaapi @ 0x555fe1b6ea40] Recon surface is 0x4000001.
423[h264_vaapi @ 0x555fe1b6ea40] Allocated output buffer 0x8000000
424[h264_vaapi @ 0x555fe1b6ea40] Output buffer is 0x8000000.
425[h264_vaapi @ 0x555fe1b6ea40] Param buffer (22) is 0x8000001.
426[h264_vaapi @ 0x555fe1b6ea40] Param buffer (27) is 0x8000002.
427[h264_vaapi @ 0x555fe1b6ea40] Param buffer (23) is 0x8000003.
428[h264_vaapi @ 0x555fe1b6ea40] Packed header buffer (1) is 0x8000004/0x8000005 (352 bits).
429[h264_vaapi @ 0x555fe1b6ea40] Packed header buffer (4) is 0x8000006/0x8000007 (856 bits).
430[h264_vaapi @ 0x555fe1b6ea40] Slice 0: 0-58 (59 rows), 0-3480 (3481 blocks).
431[h264_vaapi @ 0x555fe1b6ea40] Packed header buffer (3) is 0x8000008/0x8000009 (72 bits).
432[h264_vaapi @ 0x555fe1b6ea40] Param buffer (24) is 0x800000a.
433[h264_vaapi @ 0x555fe1b6ea40] Sync to pic 0/0 (input surface 0x4000000).
434[h264_vaapi @ 0x555fe1b6ea40] Output buffer: 130908 bytes (status 00000000).
435[h264_vaapi @ 0x555fe1b6ea40] Output read for pic 0/0.
436[h264_vaapi @ 0x555fe1b6ea40] Output packet: pts 0 dts 0.
437[matroska @ 0x555fe1b6f480] Starting new cluster with timestamp 0 at offset 629 bytes
438[matroska @ 0x555fe1b6f480] Writing block of size 130908 with pts 0, dts 0, duration 33 at relative offset 9 in cluster at offset 629. TrackNumber 1, keyframe 1
439[matroska @ 0x555fe1b6f480] end duration = 33
440[matroska @ 0x555fe1b6f480] stream 0 end duration = 33
441frame= 1 fps=0.0 q=-0.0 Lsize= 129kB time=00:00:00.00 bitrate=1052712.0kbits/s speed=0.0378x
442video:128kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.520213%
443Input file #0 (vtest.nut):
444 Input stream #0:0 (video): 1 packets read (298337 bytes); 1 frames decoded;
445 Total: 1 packets (298337 bytes) demuxed
446Output file #0 (vaapiencode.mkv):
447 Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (130908 bytes);
448 Total: 1 packets (130908 bytes) muxed
4491 frames successfully decoded, 0 decoding errors
450[AVIOContext @ 0x555fe1b6fc80] Statistics: 0 seeks, 1 writeouts
451[h264_vaapi @ 0x555fe1b6ea40] Freed output buffer 0x8000000
452[AVIOContext @ 0x555fe1b4f540] Statistics: 331184 bytes read, 3 seeks
453Splitting the commandline.
454Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
455Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
456Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'vaapi'.
457Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'vaapi=va:/dev/dri/renderD128'.
458Reading option '-hwaccel_device' ... matched as option 'hwaccel_device' (select a device for HW acceleration) with argument 'va'.
459Reading option '-hwaccel_output_format' ... matched as option 'hwaccel_output_format' (select output format used with HW accelerated decoding) with argument 'vaapi'.
460Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'vulkan=vulk'.
461Reading option '-filter_hw_device' ... matched as option 'filter_hw_device' (set hardware device used when filtering) with argument 'vulk'.
462Reading option '-i' ... matched as input url with argument 'vaapiencode.mkv'.
463Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
464Reading option '-r:v' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '30'.
465Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'high'.
466Reading option '-preset' ... matched as AVOption 'preset' with argument 'veryfast'.
467Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'hwmap,chromaber_vulkan=0:0,hwdownload,format=nv12'.
468Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
469Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
470Reading option 'vaapiouts.mkv' ... matched as output url.
471Finished splitting the commandline.
472Parsing a group of options: global .
473Applying option loglevel (set logging level) with argument debug.
474Applying option hide_banner (do not show program banner) with argument 1.
475Applying option init_hw_device (initialise hardware device) with argument vaapi=va:/dev/dri/renderD128.
476[AVHWDeviceContext @ 0x55ea660bf5c0] libva: VA-API version 1.10.0
477[AVHWDeviceContext @ 0x55ea660bf5c0] libva: User environment variable requested driver 'i965'
478[AVHWDeviceContext @ 0x55ea660bf5c0] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
479[AVHWDeviceContext @ 0x55ea660bf5c0] libva: Found init function __vaDriverInit_1_8
480[AVHWDeviceContext @ 0x55ea660bf5c0] libva: va_openDriver() returns 0
481[AVHWDeviceContext @ 0x55ea660bf5c0] Initialised VAAPI connection: version 1.10
482[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x32315659 -> yuv420p.
483[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x30323449 -> yuv420p.
484[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x3231564e -> nv12.
485[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x32595559 -> yuyv422.
486[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x59565955 -> uyvy422.
487[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x48323234 -> yuv422p.
488[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x58424752 -> rgb0.
489[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x58524742 -> bgr0.
490[AVHWDeviceContext @ 0x55ea660bf5c0] Format 0x30313050 -> p010le.
491[AVHWDeviceContext @ 0x55ea660bf5c0] VAAPI driver: Intel i965 driver for Intel(R) Coffee Lake - 2.4.1.
492[AVHWDeviceContext @ 0x55ea660bf5c0] Driver not found in known nonstandard list, using standard behaviour.
493Applying option init_hw_device (initialise hardware device) with argument vulkan=vulk.
494INTEL-MESA: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
495
496[AVHWDeviceContext @ 0x55ea660cf7c0] GPU listing:
497[AVHWDeviceContext @ 0x55ea660cf7c0] 0: Intel(R) UHD Graphics 630 (CFL GT2) (integrated) (0x3e98)
498[AVHWDeviceContext @ 0x55ea660cf7c0] Using queue family 0 (total queues: 1) for graphics compute transfers
499[AVHWDeviceContext @ 0x55ea660cf7c0] QF 0 flags: (graphics) (compute) (transfers)
500[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension "VK_KHR_external_memory_fd"
501[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension "VK_EXT_external_memory_dma_buf"
502[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension "VK_KHR_external_semaphore_fd"
503[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension "VK_EXT_external_memory_host"
504[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension "VK_KHR_push_descriptor"
505[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension "VK_EXT_host_query_reset"
506[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension VK_KHR_external_memory_fd
507[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension VK_EXT_external_memory_dma_buf
508[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension VK_KHR_external_semaphore_fd
509[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension VK_EXT_external_memory_host
510[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension VK_KHR_push_descriptor
511[AVHWDeviceContext @ 0x55ea660cf7c0] Using device extension VK_EXT_host_query_reset
512[AVHWDeviceContext @ 0x55ea660cf7c0] Using device: Intel(R) UHD Graphics 630 (CFL GT2)
513[AVHWDeviceContext @ 0x55ea660cf7c0] Alignments:
514[AVHWDeviceContext @ 0x55ea660cf7c0] optimalBufferCopyRowPitchAlignment: 128
515[AVHWDeviceContext @ 0x55ea660cf7c0] minMemoryMapAlignment: 4096
516[AVHWDeviceContext @ 0x55ea660cf7c0] minImportedHostPointerAlignment: 4096
517Applying option filter_hw_device (set hardware device used when filtering) with argument vulk.
518Applying option y (overwrite output files) with argument 1.
519Successfully parsed a group of options.
520Parsing a group of options: input url vaapiencode.mkv.
521Applying option hwaccel (use HW accelerated decoding) with argument vaapi.
522Applying option hwaccel_device (select a device for HW acceleration) with argument va.
523Applying option hwaccel_output_format (select output format used with HW accelerated decoding) with argument vaapi.
524Successfully parsed a group of options.
525Opening an input file: vaapiencode.mkv.
526[NULL @ 0x55ea663da080] Opening 'vaapiencode.mkv' for reading
527[file @ 0x55ea663dab00] Setting default whitelist 'file,crypto,data'
528[matroska,webm @ 0x55ea663da080] Format matroska,webm probed with size=2048 and score=100
529st:0 removing common factor 1000000 from timebase
530[matroska,webm @ 0x55ea663da080] Before avformat_find_stream_info() pos: 633 bytes read:32768 seeks:0 nb_streams:1
531[h264 @ 0x55ea663dcd00] nal_unit_type: 7(SPS), nal_ref_idc: 3
532[h264 @ 0x55ea663dcd00] nal_unit_type: 8(PPS), nal_ref_idc: 3
533[h264 @ 0x55ea663dcd00] nal_unit_type: 7(SPS), nal_ref_idc: 3
534[h264 @ 0x55ea663dcd00] nal_unit_type: 8(PPS), nal_ref_idc: 3
535[h264 @ 0x55ea663dcd00] nal_unit_type: 7(SPS), nal_ref_idc: 3
536[h264 @ 0x55ea663dcd00] nal_unit_type: 8(PPS), nal_ref_idc: 3
537[h264 @ 0x55ea663dcd00] nal_unit_type: 6(SEI), nal_ref_idc: 0
538[h264 @ 0x55ea663dcd00] nal_unit_type: 5(IDR), nal_ref_idc: 3
539[h264 @ 0x55ea663dcd00] Format yuv420p chosen by get_format().
540[h264 @ 0x55ea663dcd00] Reinit context to 944x944, pix_fmt: yuv420p
541[h264 @ 0x55ea663dcd00] no picture
542[matroska,webm @ 0x55ea663da080] After avformat_find_stream_info() pos: 131589 bytes read:131589 seeks:0 frames:1
543Input #0, matroska,webm, from 'vaapiencode.mkv':
544 Metadata:
545 ENCODER : Lavf58.65.101
546 Duration: 00:00:00.03, bitrate: 31900 kb/s
547 Stream #0:0, 1, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(tv, bt470bg/unknown/unknown, progressive, left), 940x932 (944x944) [SAR 1:1 DAR 235:233], 0/1, 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
548 Metadata:
549 ENCODER : Lavc58.115.102 h264_vaapi
550 DURATION : 00:00:00.033000000
551Successfully opened the file.
552Parsing a group of options: output url vaapiouts.mkv.
553Applying option c:v (codec name) with argument libx264.
554Applying option r:v (set frame rate (Hz value, fraction or abbreviation)) with argument 30.
555Applying option profile:v (set profile) with argument high.
556Applying option vf (set video filters) with argument hwmap,chromaber_vulkan=0:0,hwdownload,format=nv12.
557Applying option map (set input stream mapping) with argument 0.
558Successfully parsed a group of options.
559Opening an output file: vaapiouts.mkv.
560[file @ 0x55ea664c4e40] Setting default whitelist 'file,crypto,data'
561Successfully opened the file.
562detected 16 logical cores
563[h264 @ 0x55ea664c2d00] nal_unit_type: 7(SPS), nal_ref_idc: 3
564[h264 @ 0x55ea664c2d00] nal_unit_type: 8(PPS), nal_ref_idc: 3
565Stream mapping:
566 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
567Press [q] to stop, [?] for help
568cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
569 Last message repeated 1 times
570[h264 @ 0x55ea664c2d00] nal_unit_type: 7(SPS), nal_ref_idc: 3
571[h264 @ 0x55ea664c2d00] nal_unit_type: 8(PPS), nal_ref_idc: 3
572[h264 @ 0x55ea664c2d00] nal_unit_type: 6(SEI), nal_ref_idc: 0
573[h264 @ 0x55ea664c2d00] nal_unit_type: 5(IDR), nal_ref_idc: 3
574[h264 @ 0x55ea664c2d00] Format vaapi_vld chosen by get_format().
575[h264 @ 0x55ea664c2d00] Format vaapi_vld requires hwaccel initialisation.
576[h264 @ 0x55ea664c2d00] Considering format 0x3231564e -> nv12.
577[h264 @ 0x55ea664c2d00] Picked nv12 (0x3231564e) as best match for yuv420p.
578[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000000.
579[AVHWFramesContext @ 0x7f4ae406b940] Direct mapping disabled: derived image format 3231564e does not match expected format 32315659.
580[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000001.
581[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000002.
582[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000003.
583[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000004.
584[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000005.
585[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000006.
586[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000007.
587[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000008.
588[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000009.
589[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400000a.
590[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400000b.
591[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400000c.
592[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400000d.
593[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400000e.
594[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400000f.
595[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000010.
596[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000011.
597[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000012.
598[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000013.
599[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000014.
600[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000015.
601[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000016.
602[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000017.
603[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000018.
604[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000019.
605[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400001a.
606[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400001b.
607[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400001c.
608[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400001d.
609[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400001e.
610[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x400001f.
611[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000020.
612[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000021.
613[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000022.
614[AVHWFramesContext @ 0x7f4ae406b940] Created surface 0x4000023.
615[h264 @ 0x55ea664c2d00] Considering format 0x3231564e -> nv12.
616[h264 @ 0x55ea664c2d00] Picked nv12 (0x3231564e) as best match for yuv420p.
617[h264 @ 0x55ea664c2d00] Decode context initialised: 0x1000000/0x2000000.
618[h264 @ 0x55ea664c2d00] Reinit context to 944x944, pix_fmt: vaapi_vld
619[h264 @ 0x55ea664c2d00] no picture
620[h264 @ 0x55ea664c2d00] Param buffer (type 0, 672 bytes) is 0x8000000.
621[h264 @ 0x55ea664c2d00] Param buffer (type 1, 240 bytes) is 0x8000001.
622[h264 @ 0x55ea664c2d00] Slice 0 param buffer (3128 bytes) is 0x8000002.
623[h264 @ 0x55ea664c2d00] Slice 0 data buffer (130753 bytes) is 0x8000003.
624[h264 @ 0x55ea664c2d00] Decode to surface 0x4000023.
625[Parsed_chromaber_vulkan_1 @ 0x55ea663e2f80] Setting 'dist_x' to value '0'
626[Parsed_chromaber_vulkan_1 @ 0x55ea663e2f80] Setting 'dist_y' to value '0'
627[Parsed_format_3 @ 0x55ea66753ec0] Setting 'pix_fmts' to value 'nv12'
628[graph 0 input from stream 0:0 @ 0x55ea66754280] Setting 'video_size' to value '940x932'
629[graph 0 input from stream 0:0 @ 0x55ea66754280] Setting 'pix_fmt' to value '46'
630[graph 0 input from stream 0:0 @ 0x55ea66754280] Setting 'time_base' to value '1/1000'
631[graph 0 input from stream 0:0 @ 0x55ea66754280] Setting 'pixel_aspect' to value '1/1'
632[graph 0 input from stream 0:0 @ 0x55ea66754280] Setting 'frame_rate' to value '30/1'
633[graph 0 input from stream 0:0 @ 0x55ea66754280] w:940 h:932 pixfmt:vaapi_vld tb:1/1000 fr:30/1 sar:1/1
634[format @ 0x55ea66754ac0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21|yuv420p10le|yuv422p10le|yuv444p10le|nv20le|gray|gray10le'
635[AVFilterGraph @ 0x55ea660bf140] query_formats: 7 queried, 6 merged, 0 already done, 0 delayed
636[Parsed_hwmap_0 @ 0x55ea664cd300] Configure hwmap vaapi_vld -> vulkan.
637[hwmap @ 0x55ea665a6dc0] Filter input: vaapi_vld, 940x932 (0).
638[AVHWFramesContext @ 0x55ea66756ec0] Mapped DRM object to Vulkan!
639[hwmap @ 0x55ea665a6dc0] Filter output: vulkan, 940x932 (0).
640[Parsed_chromaber_vulkan_1 @ 0x55ea663e2f80] Shader chromaber_compute:
6411 #version 460
6422 #define IS_WITHIN(v1, v2) ((v1.x < v2.x) && (v1.y < v2.y))
6433
6444 layout (local_size_x = 32, local_size_y = 32, local_size_z = 1) in;
6455
6466 layout(push_constant, std430) uniform pushConstants {
6477 vec2 dist;
6488 };
6499
65010 layout (set = 0, binding = 0) uniform sampler2D input_img[2];
65111 layout (set = 0, binding = 1, rgba8) uniform writeonly image2D output_img[2];
65212
65313
65414 void distort_rgb(ivec2 size, ivec2 pos)
65515 {
65616 const vec2 p = ((vec2(pos)/vec2(size)) - 0.5f)*2.0f;
65717 const vec2 o = p * (dist - 1.0f);
65818
65919 vec4 res;
66020 res.r = texture(input_img[0], ((p - o)/2.0f) + 0.5f).r;
66121 res.g = texture(input_img[0], ((p )/2.0f) + 0.5f).g;
66222 res.b = texture(input_img[0], ((p + o)/2.0f) + 0.5f).b;
66323 res.a = texture(input_img[0], ((p )/2.0f) + 0.5f).a;
66424 imageStore(output_img[0], pos, res);
66525 }
66626
66727 void distort_chroma(int idx, ivec2 size, ivec2 pos)
66828 {
66929 vec2 p = ((vec2(pos)/vec2(size)) - 0.5f)*2.0f;
67030 float d = sqrt(p.x*p.x + p.y*p.y);
67131 p *= d / (d* dist);
67232 vec4 res = texture(input_img[idx], (p/2.0f) + 0.5f);
67333 imageStore(output_img[idx], pos, res);
67434 }
67535
67636 void main()
67737 {
67838 ivec2 pos = ivec2(gl_GlobalInvocationID.xy);
67939 ivec2 size = imageSize(output_img[0]);
68040 vec2 npos = vec2(pos)/vec2(size);
68141 vec4 res = texture(input_img[0], npos);
68242 imageStore(output_img[0], pos, res);
68343
68444 size = imageSize(output_img[1]);
68545 if (IS_WITHIN(pos, size)) {
68646 distort_chroma(1, size, pos);
68747 } else {
68848 npos = vec2(pos)/vec2(size);
68949 res = texture(input_img[1], npos);
69050 imageStore(output_img[1], pos, res);
69151 }
69252 }
693[Parsed_chromaber_vulkan_1 @ 0x55ea663e2f80] Shader chromaber_compute linked! Size: 2244 bytes
694[libx264 @ 0x55ea663ddcc0] using mv_range_thread = 24
695[libx264 @ 0x55ea663ddcc0] using SAR=1/1
696[libx264 @ 0x55ea663ddcc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
697[libx264 @ 0x55ea663ddcc0] profile High, level 3.1, 4:2:0, 8-bit
698[libx264 @ 0x55ea663ddcc0] 264 - core 160 r3011 cde9a93 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=24 lookahead_threads=7 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=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
699[matroska @ 0x55ea663e0f80] get_metadata_duration returned: 33000
700[matroska @ 0x55ea663e0f80] Write early duration from metadata = 33
701Output #0, matroska, to 'vaapiouts.mkv':
702 Metadata:
703 encoder : Lavf58.65.101
704 Stream #0:0, 0, 1/1000: Video: h264, 1 reference frame (H264 / 0x34363248), nv12(tv, bt470bg/unknown/unknown, progressive, left), 940x932 (0x0) [SAR 1:1 DAR 235:233], 0/1, q=2-31, 30 fps, 1k tbn (default)
705 Metadata:
706 DURATION : 00:00:00.033000000
707 encoder : Lavc58.115.102 libx264
708 Side data:
709 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
710Clipping frame in rate conversion by 0.000008
711frame= 1 fps=0.0 q=0.0 size= 1kB time=00:00:00.00 bitrate=N/A speed= 0x
712cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
713 Last message repeated 1 times
714[out_0_0 @ 0x55ea66754840] EOF on sink link out_0_0:default.
715No more output streams to write to, finishing.
716[libx264 @ 0x55ea663ddcc0] frame= 0 QP=26.27 NAL=3 Slice:I Poc:0 I:3481 P:0 SKIP:0 size=34310 bytes
717[matroska @ 0x55ea663e0f80] Starting new cluster with timestamp 0 at offset 623 bytes
718[matroska @ 0x55ea663e0f80] Writing block of size 34999 with pts 0, dts 0, duration 33 at relative offset 9 in cluster at offset 623. TrackNumber 1, keyframe 1
719[matroska @ 0x55ea663e0f80] end duration = 33
720[matroska @ 0x55ea663e0f80] stream 0 end duration = 33
721frame= 1 fps=0.0 q=29.0 Lsize= 35kB time=00:00:00.00 bitrate=285400.0kbits/s speed=0.0152x
722video:34kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.931484%
723Input file #0 (vaapiencode.mkv):
724 Input stream #0:0 (video): 1 packets read (130908 bytes); 1 frames decoded;
725 Total: 1 packets (130908 bytes) demuxed
726Output file #0 (vaapiouts.mkv):
727 Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (34999 bytes);
728 Total: 1 packets (34999 bytes) muxed
7291 frames successfully decoded, 0 decoding errors
730[AVIOContext @ 0x55ea663e2e40] Statistics: 0 seeks, 1 writeouts
731[libx264 @ 0x55ea663ddcc0] frame I:1 Avg QP:26.27 size: 34310
732[libx264 @ 0x55ea663ddcc0] mb I I16..4: 47.1% 26.4% 26.5%
733[libx264 @ 0x55ea663ddcc0] 8x8 transform intra:26.4%
734[libx264 @ 0x55ea663ddcc0] coded y,uvDC,uvAC intra: 43.9% 33.6% 17.9%
735[libx264 @ 0x55ea663ddcc0] i16 v,h,dc,p: 62% 32% 5% 1%
736[libx264 @ 0x55ea663ddcc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 20% 11% 12% 6% 8% 8% 7% 8%
737[libx264 @ 0x55ea663ddcc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 21% 14% 9% 8% 8% 6% 7% 7%
738[libx264 @ 0x55ea663ddcc0] i8c dc,h,v,p: 69% 14% 15% 3%
739[libx264 @ 0x55ea663ddcc0] kb/s:8234.40
740[AVIOContext @ 0x55ea663e4cc0] Statistics: 131589 bytes read, 0 seeks