javaboyuk
Posts: 18
Joined: Mon Mar 05, 2012 7:07 pm

Audio Gapless playback on omxplayer xbmc

Sun Sep 08, 2013 5:37 pm

"force_hdmi_open=1" in config.txt file is the base answer

Well after nearly a year trying to make XBMC play a clasical/opera CDs (made of multiple tracks/files)
and any other CD or track without dropping the first ~2nd of audio I found the above worked for me.

The problem is that my amp would see the "gap" in the HDMI stream between tracks and resync, I have also
heard lots of others having similar problems in high end AMPS using RPI to deliver HiFi over HDMI.

"popcornmix" from openelec Raspberry PI test forums suggested this when I asked/begged if we new of anything to help...
I will ask him to added it to the config file and document it there.

I can not find a reference to this option on any of the offical RPI forums or sites!

so in summary OpenElec 3.1.6, with the option above added to the config.txt file gives my a first class xbmc audio jukebox with gapless (near enought) play back to my Yamha amp. Way to go.

masterluke
Posts: 200
Joined: Tue Apr 17, 2012 4:10 pm

Re: Audio Gapless playback on omxplayer xbmc

Wed Oct 23, 2013 9:01 pm

I cant find any reference to this (very useful) option in the config.txt guide here... http://elinux.org/RPiconfig

Perhaps someone with access can update it?

masterluke
Posts: 200
Joined: Tue Apr 17, 2012 4:10 pm

Re: Audio Gapless playback on omxplayer xbmc

Thu Oct 24, 2013 8:09 am

I actually just tried this on my Pi + Onkyo AV amp for audio playback via raspbmc and am still getting small missing sections of music at the start of each file while the amp negotiates over hdmi. Anyone got any ideas?

zzzzzzzz
Posts: 2
Joined: Tue Feb 25, 2014 1:53 pm

Re: Audio Gapless playback on omxplayer xbmc

Tue Feb 25, 2014 1:57 pm

i have been searching an answer for this very same problem eversince i own a pi and use it as an a v center using raspbmc

has anyone any idea???

i own a brand new onkyo amp and he too seems to give a lag before the hdmi syncs in
i miss the 1st second or so of any streamed or read music / videos
any format do it
i mostly have converted all my cd s in flac
but as i just said the file type don t seem to matter...

please help us !!!
:) :d

masterluke
Posts: 200
Joined: Tue Apr 17, 2012 4:10 pm

Re: Audio Gapless playback on omxplayer xbmc

Tue Feb 25, 2014 3:46 pm

I got this *kinda* working..

Try adding in an advancedsettings.xml as per...

http://wiki.xbmc.org/?title=Advancedsettings.xml#audio

The option you are looking for is <streamsilence>1</streamsilence>

Something like...

<advancedsettings>
<audio>
<streamsilence>1</streamsilence>
</audio>
</advancedsettings>

This worked for me in that it allowed audio files to play gaplessly, but created problems when switching between audio tracks and sometimes led to no audio at all on some files. YMMV but worth a try.

zzzzzzzz
Posts: 2
Joined: Tue Feb 25, 2014 1:53 pm

Re: Audio Gapless playback on omxplayer xbmc

Tue Feb 25, 2014 4:47 pm

thank you for the answer!!!

i never ever tried to put my "hands under the hood" here but i ll give it a go

thx

i ll report the results in a couple of days :)

Return to “Media centres”