I’m trying to find the old forums but it appears the link to them is dead as I think I faced something similar before.
I just migrated from Raspbmc 14.1 on my Raspberry Pi B+ to OSMC last night (September release). Yes, I did take a VERY long time to move on, but only because everything worked.
I’m now having issues with LiveTV (MPEG2) streaming from HDHOMERUN over the air (OTA) TV (I’m in Canada). The video displays fine, with a consistent audio cut out every 5 seconds or so.
I’ve searched the forums looking for what setting should be enabled or disabled.
OMXPlayer: Video smooth, Audio cuts out.
MMAL: Video Choppy, Audio is fine
Deinterlace is set to Auto.
Disabling passthrough was the biggest help, but then no Dolby Digital going to the Samsung TV. My tvservice -a only has 2 channels displaying as well (PCM)
My TV will detect Dolby Digital (DD) and send it to my soundbar which is connected to my TV by optical. Disabling passthrough eliminates Dolby Digital and just says that PCM is being sent.
I’m not at home, so I’ll post again later with the logs, but I was just hoping to find a quick config setting or something. It’s been over a year since I’ve changed my set up! Clearly something has changed on the MPEG2 decoding side from LiveTV.
Everything else is fine. Am I missing a setting or something?
It’s too bad because it was working in 14.1 for over a year before I upgraded. To be fair, my Samsung SmartTV has received updates, and the Raspberry Pi and Kodi 15.2 are an update. So many changes to keep track of!
P.S. My SmartTV can play Dolby Digital and DTS, as I tested this using the Plex app from the Smart TV apps. The computer that runs the “Smart TV” is not part of the same system that allows Audio to passthrough. I hate TV manufacturers for doing this kind of nonsense.
I had reverted to enabling passthrough and enabling that my TV supported “Dolby Digital (AC3) capable receiver” for the last month or 2. I was able to have Dolby Digital 5.1 passed through as my TV passed the signal properly.
Today, after the June update, I’ve had to uncheck the “Dolby Digital (AC3) capable receiver” under passthrough as the stutter came back. Unchecking resolves it, but I no longer have DD 5.1 audio played.
osmc@osmc:~/.kodi/temp$ tvservice -a
PCM supported: Max channels: 2, Max samplerate: 48kHz, Max samplesize 24 bits.
whereas before it was:
PCM supported: Max channels: 8, Max samplerate: 192kHz, Max samplesize 24 bits.
Disabling OMXPlayer, and Enabling MMAL in the Video Acceleration section seems to fix the stuttering audio. Audio passthrough and “Dolby Digital (AC3) capable receiver” are both enabled, and the DD 5.1 is passed through once more.
Video Acceleration Results:
OMXPlayer: Video smooth, Audio cuts out. (frame rate always at incorrect 25.00 instead of 29.97 at 1920x1080 or 59.940 at 1280x720)
MMAL: Video is fine, Audio is fine (frame rate is correct at 29.97 at 1920x1080 or 59.940 at 1280x720)
Deinterlace is on Auto. If somebody knows which Deinterlace is most lightweight, please let me know.
OMXPlayer displays the non-deinterlaced framerate. MMAL displays the deinterlaced framerate.
They differ by a factor of 2, but you will be getting 50fps on the display in either case so there is no problem here.
I have 2 raspberry pi 3’s and a seperate computer for recordings. I also have a silicon dust dual tv tuner for atsc broadcast tv I.e. A sorta cheap TiVo. My parents are ditching dish when I finish the mythTV box. It was stuttering and I didn’t know why. I put the mpeg codecs in it and it still didn’t fix it. Your rhread fixed my problem. As long as the problem exists you should include part of your thread and put it in the documentation.
I’ve been weirdly having the issue though in the PVR live tv section as compared to the hdhomerun addon when the setting is disabled. Is there a playback feature I need to disable in that as well (out of curiosity)?
(Edit) I tried the setting “Start playback minimized”, and it seems to have the same setting as the aforementioned setting in this thread. Weirdly enough, disabling it, fixes streaming from my backend i.e. no glitchyness and/or stuttering. Also theres no glitchyness when using the PVR specific live TV viewer.
(Edit #2) The ghosting is still happening but, not as frequently. I can’t figure out what differentiates Live TV and the hdhomerun addon.
(Edit #3) I fixed it by making the computer use the NIC rather than wifi. No problems now