kodi omxplayer resampling music
#1
I am using a rpi running kodi 15.2 connected to a yamaha AV received through hdmi.
From what I understand kodi - omxplayer does the mp3 to PCM decoding . I want to be able to pass that PCM track without resampling it to my AV receiver to perform the DAC conversion itself.
I enabled the debug logs
and I see the following
CActiveAEResamplePi::Init remapSadnil) chan:2->2 rate:44100->44100 format:6->3 bits:16->32 dither:0->0 norm:0 upmix:0

does this mean that a resampling is occuring?
what exactly is the format:6->3 bits ?
I understand that 16 bits are zero padded to 32?

here is the full log
INFO: ffmpeg[B3F85000]: Metadata:
18:32:19 T:3019395072 INFO: ffmpeg[B3F85000]: album_artist : Opeth
18:32:19 T:3019395072 INFO: ffmpeg[B3F85000]: title : To Bid You Farewell
18:32:19 T:3019395072 INFO: ffmpeg[B3F85000]: artist : Opeth
18:32:19 T:3019395072 INFO: ffmpeg[B3F85000]: track : 05
18:32:19 T:3019395072 INFO: ffmpeg[B3F85000]: Duration: 00:10:54.47, start: 0.025057, bitrate: 320 kb/s
18:32:19 T:3019395072 INFO: ffmpeg[B3F85000]: Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
18:32:19 T:3019395072 INFO: ffmpeg[B3F85000]: Metadata:
18:32:19 T:3019395072 INFO: ffmpeg[B3F85000]: encoder : LAME3.93
18:32:19 T:3019395072 DEBUG: CDVDDemuxFFmpeg::AddStream(0, ...) -> 0
18:32:19 T:3019395072 DEBUG: FactoryCodec - Audio: passthrough - Opening
18:32:19 T:3019395072 DEBUG: FactoryCodec - Audio: passthrough - Failed
18:32:19 T:3019395072 DEBUG: FactoryCodec - Audio: FFmpeg - Opening
18:32:19 T:3019395072 DEBUG: FactoryCodec - Audio: FFmpeg - Opened
18:32:19 T:3019395072 DEBUG: ffmpeg[B3F85000]: [mp3] Could not update timestamps for skipped samples.
18:32:19 T:3019395072 DEBUG: SeekTime - seek ended up on time 0
18:32:19 T:3019395072 DEBUG: Previous line repeats 1 times.
18:32:19 T:3019395072 INFO: CActiveAEResamplePi::CActiveAEResamplePi
18:32:19 T:3019395072 INFO: CActiveAEResamplePi::Init remapSadnil) chan:2->2 rate:44100->44100 format:6->3 bits:16->32 dither:0->0 norm:0 upmix:0
18:32:19 T:3019395072 INFO: CActiveAEResamplePi::Init 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
18:32:19 T:3019395072 INFO: CActiveAEResamplePi::Init 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
18:32:19 T:3019395072 INFO: CActiveAEResamplePi::Init 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00

18:32:19 T:3019395072 INFO: Previous line repeats 5 times.
18:32:19 T:3019395072 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_mixer input port 232 output port 231 m_handle 0x3803510
18:32:19 T:3019395072 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_mixer) - port(232), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(524288), nBufferAlignmen(32)
18:32:19 T:3019395072 DEBUG: COMXCoreComponent::AllocOutputBuffers component(OMX.broadcom.audio_mixer) - port(231), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(524288) nBufferAlignmen(32)
18:32:19 T:3019395072 DEBUG: ffmpeg[B3F85000]: [mp3] Could not update timestamps for skipped samples.
18:32:19 T:3019395072 INFO: AudioDecoder: File is queued
18:32:19 T:2942297008 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
18:32:19 T:3019395072 INFO: PAPlayer:TonguerepareStream - Ready
18:32:19 T:3019395072 DEBUG: PlayFile: OpenFile succeed, play state 1
18:32:19 T:2663633840 NOTICE: Thread PAPlayer start, auto delete: false
18:32:19 T:2663633840 DEBUG: PAPlayer:Tonguerocess - Playback started
18:32:19 T:2663633840 DEBUG: OnPlayBackStarted: play state was 1, starting 0
18:32:19 T:3019395072 DEBUG: CGUIInfoManager::SetCurrentSong(/media/HardDisk/Music/Full Albums/Opeth - Morningrise/05 - Opeth - To Bid You Farewell.mp3)
18:32:19 T:3019395072 DEBUG: Loading additional tag info for file /media/HardDisk/Music/Full Albums/Opeth - Morningrise/05 - Opeth - To Bid You Farewell.mp3
18:32:19 T:3019395072 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
18:32:19 T:3019395072 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
18:32:19 T:3019395072 DEBUG: UPnP: Building didl for object '/media/HardDisk/Music/Full Albums/Opeth - Morningrise/05 - Opeth - To Bid You Farewell.mp3'
Reply
#2
anyone from the Kodi team can explain these logs please?
Reply
#3
Since this is likely Pi specific moving to the Pi forum, however please note that v15.2 is a very old version of Kodi so if you want anyone from the Team to take interest then you should try using Beta 4 of v17.
Reply
#4
Code:
18:32:19 T:3019395072 INFO: CActiveAEResamplePi::Init remap:(nil) chan:2->2 rate:44100->44100 format:6->3 bits:16->32 dither:0->0 norm:0 upmix:0

No resampling (44100Hz->44100Hz).
Format AV_SAMPLE_FMT_S16P->AV_SAMPLE_FMT_FLT (see here). Which is lossless.
AV_SAMPLE_FMT_S16P is 16 bit integer. AV_SAMPLE_FMT_FLT is 32 bit floating point (which is lossless for 16-bit integers).

So, audio will be bit exact (as long as volume is 100%).
Reply



Logout Mark Read Team Forum Stats Members Help
kodi omxplayer resampling music0
This forum uses Lukasz Tkacz MyBB addons.