audio converter F32 unpack to F32?
Rand Graham
rand.graham at zenith.com
Fri Jul 24 14:08:04 UTC 2020
Hello,
I am looking through logs of a success case and a failure case.
In the failure case I notice this? Why would F32 be unpacked to F32?
0:00:00.194314733 [332m18163[00m 0x22018f0 [36mINFO [00m [00m a52dec gsta52dec.c:438:gst_a52dec_reneg:<a52dec0>[00m reneg channels:6 rate:48000
0:00:00.194485038 [332m18163[00m 0x22018f0 [36mINFO [00m [00;01;34m GST_EVENT gstevent.c:814:gst_event_new_caps:[00m creating caps event audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x000000000000003f
0:00:00.194525057 [332m18163[00m 0x22018f0 [36mINFO [00m [00m basetransform gstbasetransform.c:1308:gst_base_transform_setcaps:<audioconvert0>[00m reuse caps
0:00:00.194553639 [332m18163[00m 0x22018f0 [36mINFO [00m [00m audio-converter audio-converter.c:1215:gst_audio_converter_new:[00m unitsizes: 24 -> 24
0:00:00.194558799 [332m18163[00m 0x22018f0 [36mINFO [00m [00m audio-converter audio-converter.c:617:chain_unpack:[00m unpack format F32LE to F32LE
0:00:00.194582011 [332m18163[00m 0x22018f0 [36mINFO [00m [00m audio-converter audio-converter.c:754:chain_mix:[00m mix format F32LE, passthrough 1, in_channels 6, out_channels 6
0:00:00.194590548 [332m18163[00m 0x22018f0 [36mINFO [00m [00m audio-converter audio-converter.c:841:chain_quantize:[00m depth in 32, out 32
0:00:00.194593807 [332m18163[00m 0x22018f0 [36mINFO [00m [00m audio-converter audio-converter.c:853:chain_quantize:[00m using no dither and noise shaping
0:00:00.194597541 [332m18163[00m 0x22018f0 [36mINFO [00m [00m audio-converter audio-converter.c:888:chain_pack:[00m pack format F32LE to F32LE
0:00:00.194600713 [332m18163[00m 0x22018f0 [36mINFO [00m [00m audio-converter audio-converter.c:1240:gst_audio_converter_new:[00m same formats, no resampler and passthrough mixing -> passthrough
In the success case I notice this. F32 is unpacked to F64.
0:00:00.015540127 [332m28525[00m 0x1983f70 [36mINFO [00m [00m audio-converter audio-converter.c:1215:gst_audio_converter_new:[00m unitsizes: 24 -> 2
0:00:00.015544970 [332m28525[00m 0x1983f70 [36mINFO [00m [00m audio-converter audio-converter.c:617:chain_unpack:[00m unpack format F32LE to F64LE
0:00:00.015559515 [332m28525[00m 0x1983f70 [36mINFO [00m [00m audio-converter audio-converter.c:754:chain_mix:[00m mix format F64LE, passthrough 0, in_channels 6, out_channels 1
0:00:00.015563179 [332m28525[00m 0x1983f70 [36mINFO [00m [00m audio-converter audio-converter.c:815:chain_convert_out:[00m convert F64 to S32
0:00:00.015571612 [332m28525[00m 0x1983f70 [36mINFO [00m [00m audio-converter audio-converter.c:841:chain_quantize:[00m depth in 32, out 16
0:00:00.015575707 [332m28525[00m 0x1983f70 [36mINFO [00m [00m audio-converter audio-converter.c:855:chain_quantize:[00m using dither 2 and noise shaping 0
0:00:00.015579695 [332m28525[00m 0x1983f70 [36mINFO [00m [00m audio-converter audio-converter.c:865:chain_quantize:[00m quantize to 16 bits, dither 2, ns 0
0:00:00.015584712 [332m28525[00m 0x1983f70 [36mINFO [00m [00m audio-converter audio-converter.c:888:chain_pack:[00m pack format S32LE to S16LE
0:00:00.015591658 [332m28525[00m 0x1983f70 [36mINFO [00m
More information about the gstreamer-devel
mailing list