Ticket #8219: gdb-audioconvert

File gdb-audioconvert, 10.7 KB (added by Suhwan, 7 years ago)
Line 
1Splitting the commandline.
2Reading option '-stream_loop' ... matched as option 'stream_loop' (set number of times input stream shall be looped) with argument '29'.
3Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
4Reading option '-i' ... matched as input url with argument 'samples/samples.mplayerhq.hu/A-codecs/libsndfile-samples/au-g723-24.au'.
5Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
6Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
7Reading option '-c:a:71' ... matched as option 'c' (codec name) with argument 'mp2'.
8Reading option '-disposition:a:97' ... matched as option 'disposition' (disposition) with argument 'flv'.
9Reading option '-disposition:s:18' ... matched as option 'disposition' (disposition) with argument 'apng'.
10Reading option '-vframes' ... matched as option 'vframes' (set the number of video frames to output) with argument '117'.
11Reading option '-aframes' ... matched as option 'aframes' (set the number of audio frames to output) with argument '67'.
12Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '506k'.
13Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '888k'.
14Reading option '-strict' ...Routing option strict to both codec and muxer layer
15 matched as AVOption 'strict' with argument '3'.
16Reading option 'output/tmp.sox' ... matched as output url.
17Finished splitting the commandline.
18Parsing a group of options: global .
19Applying option y (overwrite output files) with argument 1.
20Applying option loglevel (set logging level) with argument 99.
21Successfully parsed a group of options.
22Parsing a group of options: input url samples/samples.mplayerhq.hu/A-codecs/libsndfile-samples/au-g723-24.au.
23Applying option stream_loop (set number of times input stream shall be looped) with argument 29.
24Successfully parsed a group of options.
25Opening an input file: samples/samples.mplayerhq.hu/A-codecs/libsndfile-samples/au-g723-24.au.
26[NULL @ 0x61b000000080] Opening 'samples/samples.mplayerhq.hu/A-codecs/libsndfile-samples/au-g723-24.au' for reading
27[file @ 0x611000000180] Setting default whitelist 'file,crypto'
28Probing au score:100 size:2048
29Probing mp3 score:1 size:2048
30[au @ 0x61b000000080] Format au probed with size=2048 and score=100
31[au @ 0x61b000000080] Before avformat_find_stream_info() pos: 24 bytes read:7089 seeks:0 nb_streams:1
32[au @ 0x61b000000080] stream 0: start_time: 0.000 duration: 1.709
33[au @ 0x61b000000080] format: start_time: 0.000 duration: 1.709 (estimate from stream) bitrate=33 kb/s
34[au @ 0x61b000000080] After avformat_find_stream_info() pos: 7089 bytes read:7089 seeks:0 frames:6
35Input #0, au, from 'samples/samples.mplayerhq.hu/A-codecs/libsndfile-samples/au-g723-24.au':
36 Duration: 00:00:01.71, start: 0.000000, bitrate: 33 kb/s
37 Stream #0:0, 6, 1/11025: Audio: adpcm_g726le ([25][0][0][0] / 0x0019), 11025 Hz, mono, s16, 33 kb/s
38Successfully opened the file.
39Parsing a group of options: output url output/tmp.sox.
40Applying option map (set input stream mapping) with argument 0.
41Applying option c:a:71 (codec name) with argument mp2.
42Applying option disposition:a:97 (disposition) with argument flv.
43Applying option disposition:s:18 (disposition) with argument apng.
44Applying option vframes (set the number of video frames to output) with argument 117.
45Applying option aframes (set the number of audio frames to output) with argument 67.
46Applying option ab (audio bitrate (please use -b:a)) with argument 506k.
47Applying option b:v (video bitrate (please use -b:v)) with argument 888k.
48Successfully parsed a group of options.
49Opening an output file: output/tmp.sox.
50[file @ 0x610000000640] Setting default whitelist 'file,crypto'
51Successfully opened the file.
52Stream mapping:
53 Stream #0:0 -> #0:0 (adpcm_g726le (g726le) -> pcm_s32le (native))
54Press [q] to stop, [?] for help
55cur_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)
56detected 48 logical cores
57[New Thread 0x7ffff172f700 (LWP 33973)]
58[New Thread 0x7ffff0f2e700 (LWP 33984)]
59[New Thread 0x7ffff072d700 (LWP 33987)]
60[New Thread 0x7fffeff2c700 (LWP 33993)]
61[New Thread 0x7fffef72b700 (LWP 34006)]
62[New Thread 0x7fffeef2a700 (LWP 34009)]
63[New Thread 0x7fffee729700 (LWP 34021)]
64[New Thread 0x7fffedf28700 (LWP 34024)]
65[New Thread 0x7fffed727700 (LWP 34032)]
66[New Thread 0x7fffecf26700 (LWP 34036)]
67[New Thread 0x7fffec725700 (LWP 34044)]
68[New Thread 0x7fffebf24700 (LWP 34050)]
69[New Thread 0x7fffeb723700 (LWP 34060)]
70[New Thread 0x7fffeaf22700 (LWP 34071)]
71[New Thread 0x7fffea721700 (LWP 34085)]
72[New Thread 0x7fffe9f20700 (LWP 34100)]
73[New Thread 0x7fffe971f700 (LWP 34104)]
74[New Thread 0x7fffe8f1e700 (LWP 34111)]
75[New Thread 0x7fffe871d700 (LWP 34112)]
76[New Thread 0x7fffe7f1c700 (LWP 34121)]
77[New Thread 0x7fffe771b700 (LWP 34127)]
78[New Thread 0x7fffe6f1a700 (LWP 34139)]
79[New Thread 0x7fffe6719700 (LWP 34142)]
80[New Thread 0x7fffe5f18700 (LWP 34148)]
81[New Thread 0x7fffe5717700 (LWP 34158)]
82[New Thread 0x7fffe4f16700 (LWP 34160)]
83[New Thread 0x7fffe4715700 (LWP 34168)]
84[New Thread 0x7fffe3f14700 (LWP 34188)]
85[New Thread 0x7fffe3713700 (LWP 34193)]
86[New Thread 0x7fffe2f0a700 (LWP 34198)]
87[New Thread 0x7fffe26f3700 (LWP 34207)]
88[New Thread 0x7fffe1edc700 (LWP 34219)]
89[New Thread 0x7fffe16c5700 (LWP 34227)]
90[New Thread 0x7fffe0eae700 (LWP 34235)]
91[New Thread 0x7fffe0697700 (LWP 34243)]
92[New Thread 0x7fffdfe80700 (LWP 34254)]
93[New Thread 0x7fffdf669700 (LWP 34260)]
94[New Thread 0x7fffdee52700 (LWP 34261)]
95[New Thread 0x7fffde63b700 (LWP 34268)]
96[New Thread 0x7fffdde24700 (LWP 34273)]
97[New Thread 0x7fffdd60d700 (LWP 34286)]
98[New Thread 0x7fffdcdf6700 (LWP 34290)]
99[New Thread 0x7fffdc5df700 (LWP 34303)]
100[New Thread 0x7fffdbdc8700 (LWP 34308)]
101[New Thread 0x7fffdb5b1700 (LWP 34314)]
102[New Thread 0x7fffdad9a700 (LWP 34320)]
103[New Thread 0x7fffda583700 (LWP 34336)]
104[New Thread 0x7fffd9d6c700 (LWP 34345)]
105[graph_0_in_0_0 @ 0x611000001300] Setting 'time_base' to value '1/11025'
106[graph_0_in_0_0 @ 0x611000001300] Setting 'sample_rate' to value '11025'
107[graph_0_in_0_0 @ 0x611000001300] Setting 'sample_fmt' to value 's16'
108[graph_0_in_0_0 @ 0x611000001300] Setting 'channel_layout' to value '0x4'
109[graph_0_in_0_0 @ 0x611000001300] tb:1/11025 samplefmt:s16 samplerate:11025 chlayout:0x4
110[format_out_0_0 @ 0x611000001580] Setting 'sample_fmts' to value 's32'
111[format_out_0_0 @ 0x611000001580] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
112[AVFilterGraph @ 0x60e000001000] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
113[auto_resampler_0 @ 0x6110000016c0] [SWR @ 0x632000000800] Using s16p internally between filters
114[auto_resampler_0 @ 0x6110000016c0] ch:1 chl:mono fmt:s16 r:11025Hz -> ch:1 chl:mono fmt:s32 r:11025Hz
115
116Thread 1 "ffmpeg_g" hit Breakpoint 1, conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S32 (po=0x628000003800 "",
117 pi=0x624000003c80 "\304\005,\006\314\003\240\372\324\351\064\316$\302", <incomplete sequence \305>, is=2, os=4, end=0x628000003820 "")
118 at libswresample/audioconvert.c:62
11962 CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi<<16)
120(gdb) c
121Continuing.
122libswresample/audioconvert.c:62:1: runtime error: left shift of negative value -1376
123SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libswresample/audioconvert.c:62:1 in
124libswresample/audioconvert.c:62:1: runtime error: left shift of negative value -5676
125SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libswresample/audioconvert.c:62:1 in
126libswresample/audioconvert.c:62:1: runtime error: left shift of negative value -12748
127SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libswresample/audioconvert.c:62:1 in
128libswresample/audioconvert.c:62:1: runtime error: left shift of negative value -15836
129SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libswresample/audioconvert.c:62:1 in
130Output #0, sox, to 'output/tmp.sox':
131 Metadata:
132 encoder : Lavf58.33.100
133 Stream #0:0, 0, 1/11025: Audio: pcm_s32le, 11025 Hz, mono, s32, 352 kb/s
134 Metadata:
135 encoder : Lavc58.59.101 pcm_s32le
136
137Thread 1 "ffmpeg_g" hit Breakpoint 1, conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S32 (po=0x628000003800 "",
138 pi=0x624000003c80 "\204\n\270\t@\001\304\376d\002\\\005 \aD\a", is=2, os=4, end=0x628000003820 "") at libswresample/audioconvert.c:62
13962 CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_S16, *(const int16_t*)pi<<16)
140(gdb) bt
141#0 conv_AV_SAMPLE_FMT_S16_to_AV_SAMPLE_FMT_S32 (po=0x628000003800 "", pi=0x624000003c80 "\204\n\270\t@\001\304\376d\002\\\005 \aD\a", is=2, os=4,
142 end=0x628000003820 "") at libswresample/audioconvert.c:62
143#1 0x000000001e35c13f in swri_audio_convert (ctx=<optimized out>, out=0x632000003e30, in=0x6320000035b0, len=<optimized out>)
144 at libswresample/audioconvert.c:244
145#2 0x000000001e30a60d in swr_convert_internal (s=0x632000000800, out=0x632000003e30, out_count=3528, in=0x6320000035b0, in_count=3528)
146 at libswresample/swresample.c:590
147#3 0x000000001e2fe475 in swr_convert (s=0x632000000800, out_arg=0x6320000046b0, out_count=3560, in_arg=0x0, in_count=3528) at libswresample/swresample.c:808
148#4 0x0000000004d4ca16 in filter_frame (inlink=0x614000000240, insamplesref=<optimized out>) at libavfilter/af_aresample.c:217
149#5 0x000000000113d8c9 in ff_filter_frame_framed (link=<optimized out>, frame=0x624000003c80) at libavfilter/avfilter.c:1071
150#6 ff_filter_frame_to_filter (link=<optimized out>) at libavfilter/avfilter.c:1219
151#7 ff_filter_activate_default (filter=0x6110000016c0) at libavfilter/avfilter.c:1268
152#8 ff_filter_activate (filter=0x6110000016c0) at libavfilter/avfilter.c:1430
153#9 0x000000000125d264 in push_frame (graph=0x60e000001000) at libavfilter/buffersrc.c:187
154#10 av_buffersrc_add_frame_internal (ctx=<optimized out>, frame=0x616000002a80, flags=4) at libavfilter/buffersrc.c:261
155#11 0x0000000001257ecd in av_buffersrc_add_frame_flags (ctx=0x611000001300, frame=0x616000002a80, flags=4) at libavfilter/buffersrc.c:170
156#12 0x0000000000a427a9 in ifilter_send_frame (ifilter=<optimized out>, frame=<optimized out>) at fftools/ffmpeg.c:2196
157#13 send_frame_to_filters (ist=0x615000000040, decoded_frame=0x616000002a80) at fftools/ffmpeg.c:2270
158#14 0x00000000008bc7c7 in decode_audio (ist=0x615000000040, pkt=<optimized out>, got_output=0x7fffffffb360, decode_failed=<optimized out>)
159 at fftools/ffmpeg.c:2337
160#15 process_input_packet (ist=0x615000000040, pkt=0x7fffffffb8c0, no_eof=0) at fftools/ffmpeg.c:2619
161#16 0x00000000009d5064 in process_input (file_index=2320) at fftools/ffmpeg.c:4518
162#17 0x0000000000847997 in transcode_step () at fftools/ffmpeg.c:4638
163#18 transcode () at fftools/ffmpeg.c:4692
164#19 0x000000000081cf60 in main (argc=<optimized out>, argv=<optimized out>) at fftools/ffmpeg.c:4894