Audio playback issue over HDMI : random glitch/blop
#1
Hello xbmc community Smile

I bought a Raspberry Pi about a month ago, with the only intention to make it my htpc, mainly for music playback, and also for movies and series once in a while, so I obviously installed xbmc (which is running quite well, thanks to all developpers).

I searched over the forum for a similar issue, but without success, so I'm posting it here.
The thing is, I have noticed a random noise/glitch/blop during playback. It can happen once in an hour, or twice in 10 minutes time. But it is really annoying when you listen to a good FLAC album, with your favorite songs and those glitches comes out of nowhere ruining your song...
I managed to record the glitch with my iPhone so you can listen to it by downloading the mp3 file below (glitch happens just before the 5th second) (sorry for the poor sound quality... iPhone...) :
http://we.tl/wZ8H2LN63p

So I tried a few combinations to locate the source of the problem, and it seems that it is coming from the RPi.
Remember I never used the analog output, I'm always with HDMI output.

Here's my setup :
- TV Toshiba 46TL938
- Denon AVR-1910
- Raspberry Pi model B with latest version of Xbian

Here's what I've tried so far :
- Openelec / Raspbmc / Xbian : same issue with each distrib
- I plugged directly the RPi to my TV (to bypass the AVR) : same issue
- I plugged a laptop to my AVR (to be sure the AVR is good) : no glitches
- I borrowed another Raspberry Pi model B to be sure mine hadn't a hardware problem : same issue
- FLAC or MP3 : same issue

This is the part of the log when the glitch from the link above happened :
Code:
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0xaece1d88 dllopen : 1
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.image_decode handle 0xafecdfe8 dllopen : 1
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.resize handle 0xaecdd430 dllopen : 1
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.resize input port 60 output port 61
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(3), nBufferSize(81920), nBufferAlignmen(16)
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::AllocOutputBuffers component(OMX.broadcom.resize) - port(61), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(1478656) nBufferAlignmen(16)
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.resize handle 0xaecdd430 dllopen : 1
13:57:32 T:3042582528   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0xafecdfe8 dllopen : 1
13:57:33 T:2970993728   DEBUG: CecLogMessage - key auto-released: exit (d)
13:57:33 T:2970993728   DEBUG: PushCecKeypress - received key d8 duration 1069
13:58:00 T:2754606144   DEBUG: Thread Jobworker 2754606144 terminating (autodelete)
13:58:02 T:3042582528   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-arm.so)
13:58:02 T:3042582528   DEBUG: Unloading: ImageLib-arm.so
14:00:32 T:3042582528   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
14:00:32 T:3042582528   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
14:00:32 T:3042582528   DEBUG: ------ Window Init () ------
14:00:32 T:2942301248  NOTICE: screensaver activated
14:00:32 T:2942301248   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x19136f8
14:00:57 T:2970993728   DEBUG: CecLogMessage - >> 01:44:45
14:00:57 T:2970993728   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
14:00:57 T:2970993728   DEBUG: CecLogMessage - >> 01:8b:45
14:00:57 T:2970993728   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): vendor remote button up (8B)
14:00:58 T:2970993728   DEBUG: CecLogMessage - key auto-released: stop (45)
14:00:58 T:2970993728   DEBUG: PushCecKeypress - received key e0 duration 1070

And I'm almost certain that the glitch happened at 13:58:00.
This is the second time I'm looking in the log just after a glitch, and I saw the same line :
Code:
DEBUG: Thread Jobworker 2754606144 terminating (autodelete)
But I have absolutely no idea what job is terminating, so maybe I'm wrong.

I hope my explanations were clear enough.
I have a few notions of coding, so I can try some things if you have an idea of what I could try.

Thank you for your time, I would really appreciate if I could get rid of this problem...
Raphael

[EDIT] :
I almost forgot : I think the issue is also present when playing movies or series, it's harder to tell cause you're more focused on the image than on the sound, but I'm pretty sure I've heard it during a video playback.
Reply
#2
I get the same problem during movies, just a slight glitch/blop during a movie. Happens rarely for us, but like you said you're focused more on the picture and sometimes I think it may happen during quiet periods so you don't even register it. Typically happens maybe 3 (audible) times during an hour and a half long movie.
Reply
#3
Well, at least glad to know I'm not the only one experiencing this problem Smile
Reply
#4
@Raphael78
This isn't something I've seen/heard on Pi, although I rarely listen to music on it.
I would expect the "Thread Jobworker terminating" to be coincidental, but try to get more evidence.

My guess from listening to the mp3 file is that some samples were dropped. Possibly a whole encoded frame of audio.
Unfortunately there are many places this could occur, from the arm/ffmpeg end, through omxplayer, openmax on GPU, and interface to HDMI.

There's a few tests you can do to narrow it down.
Does it occur with analogue audio?
Does it definitely occur with video files?
Can you try (command line) omxplayer - does it occur with that?
Reply
#5
popcornmix, first of all, thank you for your time and for your suggestions.

Took some time to do the tests, but here are a part of the conclusions :
- I spent a whole day (I wanted to be sure) launching music with omxplayer in command line, no errors, and as soon as I returned to xbmc, at least 2 or 3 blops/hour.
- I think you are right about the coincidence of the terminating job. I checked the log 2/3 times after a blop, and the last time there was nothing in the log at the time the problem occured.
- I'm not yet 100% sure about video files, I've heard one last night during a movie, but I watched several videos (few hours) since, and didn't notice anything at all... so I still have to confirm on this matter.

Haven't tested with analog outuput yet, It's my next test so I'll keep you posted.
Reply
#6
I'm experiencing this as well. I've been upgrading through the OE pichimney releases over the last few months, and had assumed that some versions did it more than others. Been running on a 512MB Pi with 'modest' overclocking.

Never noticed it with Video but I could always spot it with FLAC music.

I'm currently running OE r14215. Tried it for an hour or so this evening and noticed a few glitches. I will post a debug log when I get the chance to sit down and time it.
Reply
#7
I've encountered it quite a bit on music playback (for ~8 months now) but I'm 99% sure it doesn't happen for me on movies -- perhaps because I'm usually bitstreaming DTS/AC3 for video rather than having XBMC decode to PCM like it does for audio.

I'll try playing back a video with a FLAC or AAC audio track to confirm.
Reply
#8
So, I finished my tests :
- 100% sure now that I have glitches during video playback as well. To be sure it wasn't an encoding error, each time I heard it, I jumped back 30 seconds before and listened again... and each time, no glitch with the second listening.
- Analog output is fine, no glitches, except for the pops at the beginning end the ending of a song, but I know it's a known problem which has nothing to do with mine.

@Johnkg : Do you know where I could find older version of OE, or Raspbmc, or Xbian ? Oldest I can find for OE is the r12577 from november 2012, for Raspbmc and Xbian I can't find any older versions.
I wish I had the version 1.0 and 2.0 of OE for instance, to see if the issue was already there...
And about overclocking, I tried several settings, from 700MHz to nearly 1Ghz for CPU, and I tried to change other frequencies as well, but I couldn't see any correlations with the number of glitches.

@frumpsnake : you may be right on this one. In my audio settings I left AC3/DTS amp support unchecked because I had trouble having sound with some videos. Waiting for your confirmation on a video with AAC/FLAC soundtrack, but so far the explanation seems pretty logical to me.
Reply
#9
@Raphael78
Thanks for testing. You mentioned audio pops, at start and end of playback, which has been fixed some time back, so I wonder how new your image is.

Can you try rbej's Gotham build? That uses ffmpeg 1.2 and passes data to GPU in float format, (avoiding a swresample stage on ARM).
That may well behave differently:
http://forum.xbmc.org/showthread.php?tid...pid1393759
Reply
#10
(2013-05-10, 01:46)Raphael78 Wrote: @Johnkg : Do you know where I could find older version of OE, or Raspbmc, or Xbian ? Oldest I can find for OE is the r12577 from november 2012, for Raspbmc and Xbian I can't find any older versions.

Afraid not. Not so long ago pichimney went back months and months, but it looks like they are now only showing the last 60 or so builds.

@Popcornmix: I will give rbej's version a go... Can I extract SYSTEM, KERNEL, the firmware files and update my current OE build via SSH, or do I need to build a fresh SD?
Reply
#11
(2013-05-10, 13:28)Johnkg Wrote: @Popcornmix: I will give rbej's version a go... Can I extract SYSTEM, KERNEL, the firmware files and update my current OE build via SSH, or do I need to build a fresh SD?

If you browse to the Pi running OpenELEC through SMB you will see an update folder. Copy the 4 files from target directory into update, and reboot Pi.
Reply
#12
Soz popcornmix, I'm booting from NFS. Will that method work OK?
Reply
#13
(2013-05-10, 13:44)Johnkg Wrote: Soz popcornmix, I'm booting from NFS. Will that method work OK?

Probably not. I'm sure the files can be manually copied to the right places (don't forget the 3rdparty/bootloader files)
I think @MilhouseVH runs OpeneELEC from nfs, so can answer definitively.
Reply
#14
Cheers, looks like it'll install the normal nfs way.

Will report back...
Reply
#15
Tried both Rbej's Frodo 12.2 Final & Gotham Branch versions (fresh sd card install), and this is what happened (with both) :
- Impossible to play any song which has a cover info in it : xbmc just freezes, and considering the amount of errors lines named image_decode timeout, I suppose it crashes trying to decode the image.
Code:
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers(/var/media/Media/Music/Aaron Parks/James Farm/01-joshua_redman-coax.mp3)
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
23:25:47 T:3041042960   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
23:25:47 T:3041042960   DEBUG: SECTION:LoadDLL(libmad.so.0)
23:25:47 T:3041042960   DEBUG: Loading: libmad.so.0
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (4)
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: OMXPlayer (4)
23:25:47 T:3041042960   DEBUG: CPlayerCoreFactory::GetPlayers: added 3 players
23:25:47 T:3041042960  NOTICE: COMXPlayer: Opening: /var/media/Media/Music/Aaron Parks/James Farm/01-joshua_redman-coax.mp3
23:25:47 T:3041042960   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.clock handle 0x2e15958 dllopen : 1
23:25:47 T:3041042960   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.clock input port 80 output port 81
23:25:47 T:3041042960 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:25:47 T:3041042960   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
23:25:47 T:3041042960   DEBUG: LinuxRendererGL: Cleaning up GL resources
23:25:47 T:3041042960   DEBUG: DllSwScale: Using libswscale system library
23:25:47 T:2888139872  NOTICE: Thread OMXPlayer start, auto delete: false
23:25:47 T:2888139872  NOTICE: Creating InputStream
23:25:47 T:2888139872  NOTICE: Creating Demuxer
23:25:47 T:2888139872   DEBUG: DllAvUtilBase: Using libavutil system library
23:25:47 T:2888139872   DEBUG: DllAvCodec: Using libavcodec system library
23:25:47 T:2888139872   DEBUG: DllAvFormat: Using libavformat system library
23:25:47 T:2888139872   DEBUG: Open - probing detected format [mp3]
23:25:47 T:2888139872   DEBUG: Open - avformat_find_stream_info starting
23:25:48 T:2888139872   DEBUG: ffmpeg[AC258460]: [mp3] max_analyze_duration 5000000 reached at 5015510 microseconds
23:25:48 T:2888139872   DEBUG: Open - av_find_stream_info finished
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]: Input #0, mp3, from '/var/media/Media/Music/Aaron Parks/James Farm/01-joshua_redman-coax.mp3':
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:   Metadata:
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     title           : Coax
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     track           : 1/10
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     encoder         : Lame3.98
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     genre           : Jazz
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     encoded_by      : Lame
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     artist          : Aaron Parks
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     album           : James Farm
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     date            : 2011
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:   Duration: 00:07:10.71, start: 0.000000, bitrate: 236 kb/s
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 235 kb/s
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     Stream #0:1: Video: mjpeg, yuvj420p, 499x443 [SAR 72:72 DAR 499:443], 90k tbr, 90k tbn, 90k tbc
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:     Metadata:
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:       title           :
23:25:48 T:2888139872    INFO: ffmpeg[AC258460]:       comment         : Cover (front)
23:25:48 T:2888139872  NOTICE: Opening video stream: 1 source: 256
23:25:48 T:2888139872   DEBUG: DllBcm: Using omx system library
23:25:48 T:2888139872    INFO: OMXPlayerVideo::OpenDecoder : Invalid framerate 90000, using forced 25fps and just trust timestamps
23:25:48 T:2888139872   DEBUG: OMXClock::OMXStop
23:25:48 T:2888139872   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.video_decode handle 0x32d5b60 dllopen : 1
23:25:48 T:2888139872   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.video_decode input port 130 output port 131
23:25:48 T:2994730080   DEBUG: CecLogMessage - GetPhysicalAddress - physical address = 1200
23:25:48 T:2994730080   DEBUG: CecLogMessage - physical address changed to 1200
23:25:48 T:2994730080   DEBUG: CecLogMessage - physical address unchanged (1200)
23:25:48 T:2888139872   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.video_render handle 0x3967ec8 dllopen : 1
23:25:48 T:2888139872   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.video_render input port 90 output port 90
23:25:48 T:2888139872   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.video_scheduler handle 0x3564b68 dllopen : 1
23:25:48 T:2888139872   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.video_scheduler input port 10 output port 11
23:25:48 T:2888139872   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.video_decode) - port(130), nBufferCountMin(1), nBufferCountActual(60), nBufferSize(81920), nBufferAlignmen(16)
23:25:48 T:2888139872   DEBUG: COMXVideo::Open - decoder_component(0x0x32d5b60), input_port(0x82), output_port(0x83) deinterlace 0 hdmiclocksync 0
23:25:48 T:2888139872    INFO: OMXPlayerVideo::OpenDecoder : Video codec omx-mjpeg width 499 height 443 profile -99 fps 25.000000
23:25:48 T:2888139872    INFO: OMXPlayerVideo::OpenDecoder fps: 25.000000 hdmi_ntsc_freqs 0
23:25:48 T:2888139872  NOTICE: OMXClock using video as reference
23:25:48 T:2888139872   DEBUG: OMXClock::OMXReset audio / video : 0 / 1 start audio / video : 0 / 1 wait mask 2
23:25:48 T:2888139872  NOTICE: Creating video thread
23:25:48 T:2888139872   DEBUG: OMXClock::OMXSetSpeed 1 buffering 0
23:25:48 T:2866578528  NOTICE: Thread OMXPlayerVideo start, auto delete: false
23:25:48 T:2888139872  NOTICE: Opening audio stream: 0 source: 256
23:25:48 T:2888139872   DEBUG: DllBcm: Using omx system library
23:25:48 T:2888139872   DEBUG: DllAvUtilBase: Using libavutil system library
23:25:48 T:2888139872   DEBUG: DllAvCodec: Using libavcodec system library
23:25:48 T:2888139872   DEBUG: DllAvFormat: Using libswresample system library
23:25:48 T:2888139872  NOTICE: Creating audio thread
23:25:48 T:2888139872   DEBUG: OMXClock::OMXSetSpeed 1 buffering 0
23:25:48 T:2834297952  NOTICE: Thread OMXPlayerAudio start, auto delete: false
23:25:48 T:2866578528   DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_STARTED 0
23:25:48 T:2866578528   DEBUG: COMXPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
23:25:48 T:2834297952   DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_STARTED 0
23:25:48 T:2888139872   DEBUG: ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: /var/media/Media/Music/Aaron Parks/James Farm/01-joshua_redman-coax.mp3
23:25:48 T:2888139872   DEBUG: COMXPlayer::SetCaching - caching state 3
23:25:48 T:2888139872   DEBUG: OMXClock::OMXSetSpeed 0 buffering 0
23:25:48 T:2834297952   DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 0
23:25:48 T:2834297952   DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_STARTED 0
23:25:48 T:2866578528   DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 0
23:25:48 T:2866578528   DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_STARTED 0
23:25:48 T:2866578528    INFO: COMXPlayerVideo - Stillframe left, switching to normal playback
23:25:48 T:2866578528   DEBUG: OMXVideo::Decode VDec : setStartTime 0.000000
23:25:48 T:2834297952   DEBUG: COMXAudioCodecOMX::Decode(0x3980960,104) format=6(8) chan=2 samples=1152 size=4608/9216,2304/4608,2304 data=0x34d4820,0x34d5120,(nil),(nil),(nil),(nil),(nil),(nil)
23:25:48 T:2866578528   ERROR: Output - renderer not started
23:25:48 T:2888139872   DEBUG: COMXPlayer::HandleMessages - player started 2
23:25:48 T:2834297952   DEBUG: COMXAudioCodecOMX::GetData size=0/9216/9216 cont=1 buf=0x3f08370
23:25:48 T:2834297952   DEBUG: OMXClock::OMXStop
23:25:48 T:3041042960   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.image_decode handle 0x39437e8 dllopen : 1
23:25:48 T:2834297952   DEBUG: DllAvUtilBase: Using libavutil system library
23:25:48 T:2834297952   DEBUG: COMXAudio::SetCodingType OMX_AUDIO_CodingPCM
23:25:48 T:3041042960   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321
23:25:48 T:3041042960   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.resize handle 0x39f7560 dllopen : 1
23:25:48 T:2834297952   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.audio_render handle 0x353a4f8 dllopen : 1
23:25:48 T:3041042960   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.resize input port 60 output port 61
23:25:48 T:2834297952   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100
23:25:48 T:3041042960   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(3), nBufferSize(81920), nBufferAlignmen(16)
23:25:48 T:2834297952   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.audio_decode handle 0x34aaf78 dllopen : 1
23:25:48 T:2834297952   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_decode input port 120 output port 121
23:25:48 T:2834297952   DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.audio_mixer handle 0x3979050 dllopen : 1
23:25:48 T:2834297952   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_mixer input port 232 output port 231
23:25:48 T:2834297952   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_decode) - port(120), nBufferCountMin(4), nBufferCountActual(43), nBufferSize(16384), nBufferAlignmen(16)
23:25:48 T:2834297952   DEBUG: COMXAudio::Initialize Ouput bps 16 samplerate 44100 channels 2 buffer size 705600 bytes per second 352800
23:25:48 T:2834297952   DEBUG: COMXAudio::Initialize Input bps 32 samplerate 44100 channels 2 buffer size 705600 bytes per second 352800
23:25:48 T:2834297952   DEBUG: COMXAudio::Initialize device hdmi passthrough 0 hwdecode 0
23:25:48 T:2834297952    INFO: Audio codec  channels 2 samplerate 44100 bitspersample 16
23:25:48 T:2834297952  NOTICE: OMXClock using audio as reference
23:25:48 T:2834297952   DEBUG: OMXClock::OMXReset audio / video : 1 / 1 start audio / video : 1 / 1 wait mask 3
23:25:48 T:2834297952   DEBUG: COMXAudio::Decode ADec : setStartTime 0.000000
23:25:48 T:2834297952   DEBUG: pcm->direction      : input
23:25:48 T:2834297952   DEBUG: pcm->nPortIndex     : 232
23:25:48 T:2834297952   DEBUG: pcm->eNumData       : 0
23:25:48 T:2834297952   DEBUG: pcm->eEndian        : 1
23:25:48 T:2834297952   DEBUG: pcm->bInterleaved   : 1
23:25:48 T:2834297952   DEBUG: pcm->nBitPerSample  : 16
23:25:48 T:2834297952   DEBUG: pcm->ePCMMode       : 0
23:25:48 T:2834297952   DEBUG: pcm->nChannels      : 2
23:25:48 T:2834297952   DEBUG: pcm->nSamplingRate  : 44100
23:25:48 T:2834297952   DEBUG: OMX_AUDIO_ChannelLF
23:25:48 T:2834297952   DEBUG: OMX_AUDIO_ChannelRF
23:25:48 T:2834297952   DEBUG: pcm->direction      : output
23:25:48 T:2834297952   DEBUG: pcm->nPortIndex     : 100
23:25:48 T:2834297952   DEBUG: pcm->eNumData       : 0
23:25:48 T:2834297952   DEBUG: pcm->eEndian        : 1
23:25:48 T:2834297952   DEBUG: pcm->bInterleaved   : 1
23:25:48 T:2834297952   DEBUG: pcm->nBitPerSample  : 16
23:25:48 T:2834297952   DEBUG: pcm->ePCMMode       : 0
23:25:48 T:2834297952   DEBUG: pcm->nChannels      : 2
23:25:48 T:2834297952   DEBUG: pcm->nSamplingRate  : 44100
23:25:48 T:2834297952   DEBUG: OMX_AUDIO_ChannelLF
23:25:48 T:2834297952   DEBUG: OMX_AUDIO_ChannelRF
23:25:48 T:2888139872   DEBUG: COMXPlayer::HandleMessages - player started 1
23:25:48 T:2888139872   DEBUG: COMXPlayer::SetCaching - caching state 0
23:25:48 T:2888139872   DEBUG: OMXClock::OMXSetSpeed 1 buffering 0
23:25:48 T:2834297952   DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 1000
23:25:48 T:2834297952   DEBUG: COMXPlayerAudio - CDVDMsg::GENERAL_RESYNC(26122.448980, 1)
23:25:48 T:2866578528   DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 1000
23:25:48 T:2834297952   DEBUG: OMXClock::OMXAudioBufferStart
23:25:48 T:2888139872   DEBUG: COMXPlayer::SetCaching - caching state 1
23:25:48 T:2888139872   DEBUG: OMXClock::OMXSetSpeed 0 buffering 0
23:25:48 T:2866578528   DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 0
23:25:48 T:2866578528   DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_STARTED 1
23:25:48 T:2888139872   DEBUG: COMXPlayer::HandleMessages - player started 2
23:25:48 T:2834297952   DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 0
23:25:48 T:2834297952   DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_STARTED 1
23:25:48 T:2888139872   DEBUG: COMXPlayer::HandleMessages - player started 1
23:25:48 T:2888139872   DEBUG: COMXPlayer::SetCaching - caching state 0
23:25:48 T:2888139872   DEBUG: OMXClock::OMXSetSpeed 1 buffering 0
23:25:48 T:2834297952   DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 1000
23:25:48 T:2834297952   DEBUG: OMXClock::OMXAudioBufferStart
23:25:48 T:2866578528   DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 1000
23:25:48 T:2834297952    INFO: COMXPlayerAudio - Switching to normal playback
23:25:48 T:2834297952   DEBUG: OMXClock::OMXAudioBufferStop
23:25:48 T:2834297952   DEBUG: OMXClock::OMXSetSpeed 1 buffering 0
23:25:48 T:2959819872   DEBUG: CecLogMessage - key auto-released: select (0)
23:25:48 T:2959819872   DEBUG: PushCecKeypress - received key  b duration 1070
23:25:49 T:3041042960   ERROR: COMXCoreComponent::WaitForEvent OMX.broadcom.image_decode wait event 0x00000003 timeout 1000
23:25:49 T:3041042960   ERROR: COMXImage::Decode HandlePortSettingChange() failed
23:25:51 T:3041042960   ERROR: COMXCoreComponent::WaitForCommand OMX.broadcom.image_decode wait timeout event.eEvent 0x00000000 event.command 0x00000002 event.nData2 320
23:25:53 T:3041042960   ERROR: COMXCoreComponent::WaitForCommand OMX.broadcom.image_decode wait timeout event.eEvent 0x00000000 event.command 0x00000001 event.nData2 320
23:25:55 T:3041042960   ERROR: COMXCoreComponent::WaitForCommand OMX.broadcom.image_decode wait timeout event.eEvent 0x00000000 event.command 0x00000001 event.nData2 321
23:25:55 T:3041042960   ERROR: COMXCoreComponent::SetStateForComponent - OMX.broadcom.image_decode failed with omx_err(0x80001000)
23:25:55 T:3041042960   ERROR: Previous line repeats 2 times.
23:25:55 T:3041042960   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.resize handle 0x39f7560 dllopen : 1
23:25:57 T:3041042960   ERROR: COMXCoreComponent::WaitForCommand OMX.broadcom.image_decode wait timeout event.eEvent 0x00000000 event.command 0x00000001 event.nData2 320
23:25:59 T:3041042960   ERROR: COMXCoreComponent::WaitForCommand OMX.broadcom.image_decode wait timeout event.eEvent 0x00000000 event.command 0x00000001 event.nData2 321
23:25:59 T:3041042960   ERROR: COMXCoreComponent::SetStateForComponent - OMX.broadcom.image_decode failed with omx_err(0x80001000)
23:25:59 T:3041042960   ERROR: Previous line repeats 2 times.
23:25:59 T:3041042960   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0x39437e8 dllopen : 1
23:26:15 T:2921694304   DEBUG: Thread JobWorker 2921694304 terminating (autodelete)
- No cover info in files, but AAC/FLAC album : sound is chopped at something like 10Hz, as if the decoder wasn't fast enough (link for audio : http://we.tl/KbcA5YD9Mf )
- When I was able to find an album without cover info, and in mp3 format : heard 3 glitches in half an hour.
Reply

Logout Mark Read Team Forum Stats Members Help
Audio playback issue over HDMI : random glitch/blop0