Kodi Community Forum

Full Version: Wrong TV audio codec - mp3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am running Kodi 16.1 on Debian package version: 16.1+dfsg1-2~bpo8+1. Platform: Linux x86 64-bit with MythTV 0.27 (only alsa, no pulse audio).

I have a little problem when play LiveTV. The TV channels are usually encoded as MPEG Video and Audio, but the audio is handed over as mp3 stream and I face a stuttering every few seconds:

Code:
22:24:10 T:139978884671232  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 24
22:24:24 T:139978884671232  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 24
22:24:24 T:139978884671232  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 2 packets of duration 24
22:24:39 T:139978884671232  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 4 packets of duration 24
22:24:39 T:139978884671232  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 2 packets of duration 24
22:25:02 T:139978884671232  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 24
22:25:02 T:139978884671232  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 2 packets of duration 24


Full kodi.log can be found here.

I have two Kodi clients (one linux Debian, one windows 10). The windows client shows correct audio stream and no stuttering. The linux client always shows mp3 audio and stutters.
I guess that MythTV is not source of the problems and due to two different clients my suspicion is that linux client is somehow broken. Can you help me?

Regards
Jan
Mythtv passes over whatever the broadcaster sends.
Yes, but "linux" Kodi shows mp3 instead of MPEG Audio ....
When I record a LiveTV showing the MPEG Audio is correctly identified when played.
There is very little difference between mp2 and mp3. I doubt that this is your problem.
Ok, maybe.

Do you have any other suggestion regarding packed duplication and sound stuttering?

Only possible problem that I can imagine is that sampling rate of the output (mp3) is different than input, which is 48khz and diference is compensated by packed duplication.

Typical audio stream:

Code:
Audio
ID                                       : 511 (0x1FF)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 3
Duration                                 : 1h 5mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : -407ms
Stream size                              : 89.4 MiB (5%)
Language                                 : Czech
A debug log (wiki) would perhaps help. Can you provide a sample stream? Perhaps do a 1 minute recording and use dropbox or something.

Your input is 48k, all your audio devices support 48k. Check you haven't set output to something else (in audio settings).
Hi,

the debug log is here and recorded LiveTV can be found on the dropbox.

The audio setting is at defaults.

You can see that played audio is identified as a mp3 stream.

Image


Thanks