Kodi Community Forum
Bug Dropping frames/audio when not in fullscreen - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: Bug Dropping frames/audio when not in fullscreen (/showthread.php?tid=150882)



Dropping frames/audio when not in fullscreen - xxxnelly - 2013-01-05

Hi All,

I am getting this issue that as appeared in the last in latest openelec build (OP3RC1) so it is running XBMC Frodo RC3.

Full log link

It seems that when I am playing a channel the then go back to the EPG Timeline or any other screen it starts to throw errors in the ffmpeg.

I wanted to check if anyone else is getting this?

Thanks,

--
19:27:16 T:139809548912384 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] mmco: unref short failure
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] Cannot combine reference and non-reference fields in the same frame
19:27:16 T:139809548912384 DEBUG: ffmpeg[F27FC700]: [h264_vdpau] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] decode_slice_header error
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] reference picture missing during reorder
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] Missing reference picture
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] mmco: unref short failure
19:27:16 T:139811151132416 ERROR: Previous line repeats 3 times.
19:27:16 T:139811151132416 DEBUG: CecLogMessage - >> 04
19:27:16 T:139811151132416 DEBUG: CecLogMessage - << POLL: TV (0) -> Playback 1 (4)
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] mmco: unref short failure
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] reference picture missing during reorder
19:27:16 T:139809548912384 ERROR: Previous line repeats 1 times.
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] Missing reference picture
19:27:16 T:139809548912384 ERROR: Previous line repeats 1 times.
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] reference picture missing during reorder
19:27:16 T:139809548912384 ERROR: ffmpeg[F27FC700]: [h264_vdpau] Missing reference picture


RE: Dropping frames/audio when not in fullscreen - FernetMenta - 2013-01-06

Check your audio settings. Your Sony supports 2 channels, hence set layout to 2.0. Output stereo to all speakers off, enable pass through only for AC3. Make sure NOT to allow gui sounds during playback.


RE: Dropping frames/audio when not in fullscreen - xxxnelly - 2013-01-06

Thanks Fernetmenta.

I have checked my audio settings and updated (are they still wrong?) - I noticed it happens more using the xperience1080p/ refocus skin.

with xperience skin

with confluence skin

with refocus skin

WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer then I get the errors...


Audio settings...

<audiooutput>
<ac3passthrough>true</ac3passthrough>
<audiodevice>ALSA:hdmi:CARD=NVidia,DEV=1</audiodevice>
<channels>1</channels>
<dtshdpassthrough>true</dtshdpassthrough>
<dtspassthrough>false</dtspassthrough>
<guisoundmode>1</guisoundmode>
<mode>2</mode>
<multichannellpcm>false</multichannellpcm>
<normalizelevels>true</normalizelevels>
<passthroughaac>true</passthroughaac>
<passthroughdevice>ALSA:hdmi:CARD=NVidia,DEV=1</passthroughdevice>
<stereoupmix>false</stereoupmix>
<truehdpassthrough>false</truehdpassthrough>
</audiooutput>


RE: Dropping frames/audio when not in fullscreen - FernetMenta - 2013-01-06

Can you try deleting your TVxx.db? Player starts with AC3 audio stream, then when channel settings get loaded it switches to mpeg. Audio stream stalls and it alternates between those 2 audio streams.


RE: Dropping frames/audio when not in fullscreen - xxxnelly - 2013-01-06

Thanks for looking.

I deleted the channel setting but removing the TVxx.db, then replayed. it should be using the AC3 stream, but still has the same issue.

http://pastebin.com/FNz9GpRv

Should it not be able to cope with switching to mpeg anyway?


RE: Dropping frames/audio when not in fullscreen - FernetMenta - 2013-01-06

Yes it should but your system gets in a loop of errors and can't recover. Audio stream stalls and it looks like the audio sink gets restarted due to buffer underruns. One reason for this to happen can be a large offset in audio/video timestamps. can you duplicate the issue with other sources than tvheadend?


RE: Dropping frames/audio when not in fullscreen - xxxnelly - 2013-01-06

I just tried a movie, and it still the same - its only when I move from fullscreen, the channels or movies play fine unless I am browsing EPG or movies etc,

As I said this seems to just happened lately - I will need to step back through versions to before the exact one.

http://pastebin.com/JTPduzec

Thanks again.


RE: Dropping frames/audio when not in fullscreen - FernetMenta - 2013-01-08

Any progress on investigation? Do you know the last version working?


RE: Dropping frames/audio when not in fullscreen - xxxnelly - 2013-01-09

I have tried everything I can think of...

Current setup
Acer Revo 3700 with OpenElec 3.0 RC1
1. Tried removing .xbmc folder - still the same after reconfigure
2. downgrading to 3.0 Beta6 (Beta5 doesnt seem to be able to download now)

I am not sure what else to do - i'll do more debugging/ troubling shooting tomorrow.

I am almost certain it worked with beta6, so I trying to work out anything else that has changed, I did move my TV/Hifi but again it is setup correctly again.



RE: Dropping frames/audio when not in fullscreen - coffeecup - 2013-01-09

I experienced similar problems a while ago and adding this to the advancedsettings.xml solved it for me:

Code:
<video>
        <disablebackgrounddeinterlace>1</disablebackgrounddeinterlace>
    </video>

this will turn off deinterlacing when you leave fullscreen mode. Not sure if it will work for you but it's worth a try.


RE: Dropping frames/audio when not in fullscreen - xxxnelly - 2013-01-10

Thanks Coffeecup, but no it doesnt work. Any other thoughts?


RE: Dropping frames/audio when not in fullscreen - xxxnelly - 2013-01-12

I have installed xbmcubnutu and issue no longer exists, I have raised a openelec ticket and I will post on the forums