audio converter F32 unpack to F32?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

audio converter F32 unpack to F32?

Rand Graham-2
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 18163      0x22018f0 INFO                  a52dec gsta52dec.c:438:gst_a52dec_reneg:<a52dec0> reneg channels:6 rate:48000
0:00:00.194485038 18163      0x22018f0 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: 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 18163      0x22018f0 INFO           basetransform gstbasetransform.c:1308:gst_base_transform_setcaps:<audioconvert0> reuse caps
0:00:00.194553639 18163      0x22018f0 INFO         audio-converter audio-converter.c:1215:gst_audio_converter_new: unitsizes: 24 -> 24
0:00:00.194558799 18163      0x22018f0 INFO         audio-converter audio-converter.c:617:chain_unpack: unpack format F32LE to F32LE
0:00:00.194582011 18163      0x22018f0 INFO         audio-converter audio-converter.c:754:chain_mix: mix format F32LE, passthrough 1, in_channels 6, out_channels 6
0:00:00.194590548 18163      0x22018f0 INFO         audio-converter audio-converter.c:841:chain_quantize: depth in 32, out 32
0:00:00.194593807 18163      0x22018f0 INFO         audio-converter audio-converter.c:853:chain_quantize: using no dither and noise shaping
0:00:00.194597541 18163      0x22018f0 INFO         audio-converter audio-converter.c:888:chain_pack: pack format F32LE to F32LE
0:00:00.194600713 18163      0x22018f0 INFO         audio-converter audio-converter.c:1240:gst_audio_converter_new: same formats, no resampler and passthrough mixing -> passthrough

In the success case I notice this. F32 is unpacked to F64.

0:00:00.015540127 28525      0x1983f70 INFO         audio-converter audio-converter.c:1215:gst_audio_converter_new: unitsizes: 24 -> 2
0:00:00.015544970 28525      0x1983f70 INFO         audio-converter audio-converter.c:617:chain_unpack: unpack format F32LE to F64LE
0:00:00.015559515 28525      0x1983f70 INFO         audio-converter audio-converter.c:754:chain_mix: mix format F64LE, passthrough 0, in_channels 6, out_channels 1
0:00:00.015563179 28525      0x1983f70 INFO         audio-converter audio-converter.c:815:chain_convert_out: convert F64 to S32
0:00:00.015571612 28525      0x1983f70 INFO         audio-converter audio-converter.c:841:chain_quantize: depth in 32, out 16
0:00:00.015575707 28525      0x1983f70 INFO         audio-converter audio-converter.c:855:chain_quantize: using dither 2 and noise shaping 0
0:00:00.015579695 28525      0x1983f70 INFO         audio-converter audio-converter.c:865:chain_quantize: quantize to 16 bits, dither 2, ns 0
0:00:00.015584712 28525      0x1983f70 INFO         audio-converter audio-converter.c:888:chain_pack: pack format S32LE to S16LE
0:00:00.015591658 28525      0x1983f70 INFO   
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel