Ticket #8218: gdb-aaccoder

File gdb-aaccoder, 11.3 KB (added by Suhwan, 7 years ago)
Line 
1Splitting the commandline.
2Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '3'.
3Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
4Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '37'.
5Reading option '-i' ... matched as input url with argument 'samples/samples.mplayerhq.hu/A-codecs/MP3/ascii.mp3'.
6Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
7Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
8Reading option '-c:a:87' ... matched as option 'c' (codec name) with argument 'h264_v4l2m2m'.
9Reading option '-disposition:v:103' ... matched as option 'disposition' (disposition) with argument 'h264_v4l2m2m'.
10Reading option '-vframes' ... matched as option 'vframes' (set the number of video frames to output) with argument '8'.
11Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '906k'.
12Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
13Reading option '-strict' ...Routing option strict to both codec and muxer layer
14 matched as AVOption 'strict' with argument '1'.
15Reading option 'output/tmp.m4a' ... matched as output url.
16Finished splitting the commandline.
17Parsing a group of options: global .
18Applying option y (overwrite output files) with argument 1.
19Applying option loglevel (set logging level) with argument 99.
20Successfully parsed a group of options.
21Parsing a group of options: input url samples/samples.mplayerhq.hu/A-codecs/MP3/ascii.mp3.
22Applying option t (record or transcode "duration" seconds of audio/video) with argument 3.
23Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 37.
24Successfully parsed a group of options.
25Opening an input file: samples/samples.mplayerhq.hu/A-codecs/MP3/ascii.mp3.
26[NULL @ 0x61b000000080] Opening 'samples/samples.mplayerhq.hu/A-codecs/MP3/ascii.mp3' for reading
27[file @ 0x611000000180] Setting default whitelist 'file,crypto'
28Probing mp3 score:1 size:2048
29Probing mp3 score:1 size:4096
30Probing mp3 score:25 size:8192
31Probing mp3 score:25 size:16384
32Probing mp3 score:25 size:32768
33Probing mp3 score:25 size:65536
34Probing mp3 score:50 size:131072
35Probing mpeg score:25 size:131072
36[mp3 @ 0x61b000000080] Format mp3 probed with size=131072 and score=50
37[mp3 @ 0x61b000000080] Skipping 2788 bytes of junk at 0.
38[mp3 @ 0x61b000000080] Before avformat_find_stream_info() pos: 2788 bytes read:163968 seeks:2 nb_streams:1
39[mp3 @ 0x61b000000080] All info found
40[mp3 @ 0x61b000000080] Estimating duration from bitrate, this may be inaccurate
41[mp3 @ 0x61b000000080] stream 0: start_time: 0.000 duration: 15.835
42[mp3 @ 0x61b000000080] format: start_time: 0.000 duration: 15.835 (estimate from bit rate) bitrate=161 kb/s
43[mp3 @ 0x61b000000080] After avformat_find_stream_info() pos: 29412 bytes read:163968 seeks:2 frames:50
44Input #0, mp3, from 'samples/samples.mplayerhq.hu/A-codecs/MP3/ascii.mp3':
45 Duration: 00:00:15.84, start: 0.000000, bitrate: 161 kb/s
46 Stream #0:0, 50, 1/14112000: Audio: mp3, 44100 Hz, stereo, fltp, 160 kb/s
47Successfully opened the file.
48Parsing a group of options: output url output/tmp.m4a.
49Applying option map (set input stream mapping) with argument 0.
50Applying option c:a:87 (codec name) with argument h264_v4l2m2m.
51Applying option disposition:v:103 (disposition) with argument h264_v4l2m2m.
52Applying option vframes (set the number of video frames to output) with argument 8.
53Applying option ab (audio bitrate (please use -b:a)) with argument 906k.
54Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
55Successfully parsed a group of options.
56Opening an output file: output/tmp.m4a.
57[file @ 0x610000000540] Setting default whitelist 'file,crypto'
58Successfully opened the file.
59Stream mapping:
60 Stream #0:0 -> #0:0 (mp3 (mp3float) -> aac (native))
61Press [q] to stop, [?] for help
62cur_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)
63detected 48 logical cores
64[New Thread 0x7ffff172f700 (LWP 37869)]
65[New Thread 0x7ffff0f2e700 (LWP 37875)]
66[New Thread 0x7ffff072d700 (LWP 37887)]
67[New Thread 0x7fffeff2c700 (LWP 37895)]
68[New Thread 0x7fffef72b700 (LWP 37905)]
69[New Thread 0x7fffeef2a700 (LWP 37911)]
70[New Thread 0x7fffee729700 (LWP 37914)]
71[New Thread 0x7fffedf28700 (LWP 37916)]
72[New Thread 0x7fffed727700 (LWP 37919)]
73[New Thread 0x7fffecf26700 (LWP 37927)]
74[New Thread 0x7fffec725700 (LWP 37933)]
75[New Thread 0x7fffebf24700 (LWP 37937)]
76[New Thread 0x7fffeb723700 (LWP 37943)]
77[New Thread 0x7fffeaf22700 (LWP 37945)]
78[New Thread 0x7fffea721700 (LWP 37947)]
79[New Thread 0x7fffe9f20700 (LWP 37951)]
80[New Thread 0x7fffe971f700 (LWP 37956)]
81[New Thread 0x7fffe8f1e700 (LWP 37964)]
82[New Thread 0x7fffe871d700 (LWP 37971)]
83[New Thread 0x7fffe7f1c700 (LWP 37976)]
84[New Thread 0x7fffe771b700 (LWP 37984)]
85[New Thread 0x7fffe6f04700 (LWP 37990)]
86[New Thread 0x7fffe66ed700 (LWP 37998)]
87[New Thread 0x7fffe5ed6700 (LWP 38009)]
88[New Thread 0x7fffe56bf700 (LWP 38014)]
89[New Thread 0x7fffe4ea8700 (LWP 38021)]
90[New Thread 0x7fffe4691700 (LWP 38025)]
91[New Thread 0x7fffe3e7a700 (LWP 38035)]
92[New Thread 0x7fffe3663700 (LWP 38039)]
93[New Thread 0x7fffe2e4c700 (LWP 38044)]
94[New Thread 0x7fffe2635700 (LWP 38053)]
95[New Thread 0x7fffe1e1e700 (LWP 38059)]
96[New Thread 0x7fffe1607700 (LWP 38068)]
97[New Thread 0x7fffe0df0700 (LWP 38075)]
98[New Thread 0x7fffe05d9700 (LWP 38085)]
99[New Thread 0x7fffdfdc2700 (LWP 38086)]
100[New Thread 0x7fffdf5ab700 (LWP 38092)]
101[New Thread 0x7fffded94700 (LWP 38094)]
102[New Thread 0x7fffde57d700 (LWP 38098)]
103[New Thread 0x7fffddd66700 (LWP 38101)]
104[New Thread 0x7fffdd54f700 (LWP 38106)]
105[New Thread 0x7fffdcd38700 (LWP 38123)]
106[New Thread 0x7fffdc521700 (LWP 38130)]
107[New Thread 0x7fffdbd0a700 (LWP 38134)]
108[New Thread 0x7fffdb4f3700 (LWP 38137)]
109[New Thread 0x7fffdacdc700 (LWP 38144)]
110[New Thread 0x7fffda4c5700 (LWP 38146)]
111[New Thread 0x7fffd9cae700 (LWP 38148)]
112[graph_0_in_0_0 @ 0x611000001080] Setting 'time_base' to value '1/44100'
113[graph_0_in_0_0 @ 0x611000001080] Setting 'sample_rate' to value '44100'
114[graph_0_in_0_0 @ 0x611000001080] Setting 'sample_fmt' to value 'fltp'
115[graph_0_in_0_0 @ 0x611000001080] Setting 'channel_layout' to value '0x3'
116[graph_0_in_0_0 @ 0x611000001080] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
117[format_out_0_0 @ 0x611000001440] Setting 'sample_fmts' to value 'fltp'
118[format_out_0_0 @ 0x611000001440] Setting 'sample_rates' to value '48000'
119[format_out_0_0 @ 0x611000001440] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
120[AVFilterGraph @ 0x60e000006680] query_formats: 5 queried, 9 merged, 3 already done, 0 delayed
121[auto_resampler_0 @ 0x611000001580] [SWR @ 0x632000000800] Using fltp internally between filters
122[auto_resampler_0 @ 0x611000001580] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
123[aac @ 0x61900000a080] Too many bits 19328.000000 > 12288 per frame requested, clamping to max
124Output #0, ipod, to 'output/tmp.m4a':
125 Metadata:
126 encoder : Lavf58.33.100
127 Stream #0:0, 0, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, delay 1024, 576 kb/s
128 Metadata:
129 encoder : Lavc58.59.101 aac
130cur_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)
131size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
132Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
133852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
134(gdb) n
135828 float minthr = FFMIN(band0->threshold, band1->threshold);
136(gdb) n
137852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
138(gdb) c
139Continuing.
140
141Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
142852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
143(gdb) c
144Continuing.
145
146Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
147852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
148(gdb) c
149Continuing.
150
151Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
152852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
153(gdb) c
154Continuing.
155
156Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
157852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
158(gdb) c
159Continuing.
160
161Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
162852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
163(gdb) c
164Continuing.
165
166Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
167852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
168(gdb) c
169Continuing.
170
171Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
172852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
173(gdb) c
174Continuing.
175libavcodec/aaccoder.c:852:60: runtime error: division by zero
176SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/aaccoder.c:852:60 in
177libavcodec/aaccoder.c:858:60: runtime error: division by zero
178SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/aaccoder.c:858:60 in
179libavcodec/aaccoder.c:864:62: runtime error: division by zero
180SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/aaccoder.c:864:62 in
181
182Thread 1 "ffmpeg_g" hit Breakpoint 1, search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
183852 lambda / band1->threshold, INFINITY, &b2, NULL, 0);
184(gdb) bt
185#0 search_for_ms (s=0x7ffff310d800, cpe=0x7fffd9411800) at libavcodec/aaccoder.c:852
186#1 0x00000000183c4aa8 in aac_encode_frame (avctx=0x61900000a080, avpkt=0x60e0000073c0, frame=0x7fffd9414ee0, got_packet_ptr=0x7fffffffb440)
187 at libavcodec/aacenc.c:782
188#2 0x000000000b421dee in avcodec_encode_audio2 (avctx=0x61900000a080, avpkt=0x60e0000073c0, frame=0x616000016280, got_packet_ptr=0x7fffffffb440)
189 at libavcodec/encode.c:203
190#3 0x000000000b44316a in do_encode (avctx=<optimized out>, frame=0x616000016280, got_packet=0x7fffffffb440) at libavcodec/encode.c:374
191#4 0x000000000b441227 in avcodec_send_frame (avctx=<optimized out>, frame=0x616000016280) at libavcodec/encode.c:420
192#5 0x00000000009f9437 in do_audio_out (of=0x60a000000200, ost=0x616000013880, frame=<optimized out>) at fftools/ffmpeg.c:939
193#6 reap_filters (flush=0) at fftools/ffmpeg.c:1513
194#7 0x0000000000848299 in transcode_step () at fftools/ffmpeg.c:4648
195#8 transcode () at fftools/ffmpeg.c:4692
196#9 0x000000000081cf60 in main (argc=<optimized out>, argv=<optimized out>) at fftools/ffmpeg.c:4894
197(gdb) q
198