Kodi Community Forum

Full Version: No sound
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My configuration is:
HTTP-to-UDP (Astra https://cesbo.com/en/solutions/streaming/) > TVHeadend 3.4 (IPTV) > XBMC 13 (Ubuntu 12.04 and Win7).

Astra config:
Quote:make_channel({
name = "channel_name",
input = { "http://127.0.0.1:8081/channels/play?id=1618" },
output = { "udp://239.0.0.1:10000" },
})

In TVHeadend I see:
PID (68) Type (MPEG2AUDIO) Details (rus)
PID (69) Type (H264) Details (25.00 Hz)

If I open udp://239.0.0.1:10000 in VLC (on the PCs where XBMC is installed):
video - OK, audio - OK

If I open the channel in Android TVHGuide (media container - pass-through):
video - OK, audio - OK

But if use XBMC through TVHeadend PVR-addon (both Ubuntu and Win7):
video - OK, audio - NOK

And nothing helps tuning XBMC or sound cards.

Ubuntu log
Quote:16:06:49 T:2124417856 NOTICE: PVRManager - PerformChannelSwitch - switched to channel 'Санкт-Петербург'
16:06:49 T:2124417856 NOTICE: Creating Demuxer
16:06:49 T:2124417856 NOTICE: Opening video stream: 0 source: 256
16:06:49 T:2124417856 NOTICE: Creating video codec with codec id: 28
16:06:49 T:2124417856 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
16:06:49 T:2124417856 NOTICE: Opening audio stream: 1 source: 256
16:06:49 T:2124417856 NOTICE: Finding audio codec for: 86016
16:06:49 T:2099239744 NOTICE: CVDPAU::Release pre-cleanup
16:06:49 T:2124417856 NOTICE: Opening video stream: 0 source: 256
16:06:49 T:2124417856 NOTICE: Opening audio stream: 1 source: 256
16:06:49 T:2275392320 NOTICE: CMixer::OnExit: Output Thread terminated
16:06:49 T:2116025152 ERROR: PreCleanup - could not find gl surface
16:06:51 T:2124417856 ERROR: Previous line repeats 3 times.
16:06:51 T:2124417856 NOTICE: Opening video stream: 0 source: 256
16:06:51 T:2124417856 NOTICE: Creating video codec with codec id: 28
16:06:51 T:2124417856 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
16:06:51 T:2099239744 ERROR: VAAPI - unable to initialize display -1 - unknown libva error
16:06:51 T:2099239744 NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(720x576)
16:06:51 T:2099239744 ERROR: VAAPI - unable to initialize display -1 - unknown libva error
16:06:51 T:2099239744 NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(720x576)
16:06:51 T:2099239744 NOTICE: (VDPAU) Close
16:06:51 T:2099239744 NOTICE: (VDPAU) screenWidth:720 vidWidth:720 surfaceWidth:720
16:06:51 T:2099239744 NOTICE: (VDPAU) screenHeight:576 vidHeight:576 surfaceHeight:576
16:06:51 T:1780562752 NOTICE: Thread Vdpau Output start, auto delete: false
16:06:51 T:1780562752 NOTICE: COutput::OnStartup: Output Thread created
16:06:52 T:1780562752 NOTICE: VDPAU::COutput::CreateGlxContext - created context
16:06:52 T:1780562752 NOTICE: VDPAU::COutput: vdpau gl interop initialized
16:06:52 T:1788955456 NOTICE: Thread Vdpau Mixer start, auto delete: false
16:06:52 T:1788955456 NOTICE: CMixer::OnStartup: Output Thread created
16:06:52 T:1788955456 NOTICE: (VDPAU) Creating the video mixer
16:06:52 T:1780562752 NOTICE: VDPAU::COutput::InitBufferPool - Output Surface created
16:06:52 T:1780562752 NOTICE: Previous line repeats 6 times.
16:06:52 T:1780562752 NOTICE: VDPAU::COutput registered output surfaces
16:06:52 T:2099239744 NOTICE: fps: 25.000000, pwidth: 720, pheight: 576, dwidth: 720, dheight: 540
16:06:52 T:2099239744 NOTICE: Display resolution DESKTOP : [email protected] 60.00 - Full Screen (16)
16:06:52 T:1780562752 NOTICE: VDPAU::COutput registered output surfaces
16:06:52 T:3001423680 NOTICE: Previous line repeats 1 times.
16:06:52 T:3001423680 NOTICE: Using GL_TEXTURE_2D
16:06:52 T:3001423680 NOTICE: (VDPAU) Close
16:06:52 T:3001423680 NOTICE: (VDPAU) FiniVDPAUOutput
16:06:52 T:2116025152 NOTICE: VDPAU::COutput: vdpau gl interop finished
16:06:52 T:2116025152 NOTICE: COutput::OnExit: Output Thread terminated
16:06:52 T:3001423680 NOTICE: GL: Using VDPAU render method
16:06:52 T:3001423680 NOTICE: GL: NPOT texture support detected
16:06:52 T:3001423680 NOTICE: GL: Using GL_ARB_pixel_buffer_object
16:06:59 T:1780562752 NOTICE: VDPAU::COutput registered output surfaces
16:08:08 T:2124417856 NOTICE: Previous line repeats 3 times.

Windows log
Quote:15:22:27 T:99820 NOTICE: PVRManager - PVR::CPVRManager:TongueerformChannelSwitch - switched to channel 'Санкт-Петербург'
15:22:27 T:99820 NOTICE: Creating Demuxer
15:22:27 T:99820 NOTICE: Closing video stream
15:22:27 T:99820 NOTICE: waiting for video thread to exit
15:22:27 T:116288 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
15:22:27 T:116288 NOTICE: thread end: video_thread
15:22:27 T:99820 NOTICE: deleting video codec
15:22:27 T:99820 NOTICE: Closing audio stream
15:22:27 T:99820 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
15:22:27 T:99820 NOTICE: Waiting for audio thread to exit
15:22:27 T:113876 NOTICE: thread end: CDVDPlayerAudio::OnExit()
15:22:27 T:99820 NOTICE: Closing audio device
15:22:27 T:99820 NOTICE: Deleting audio codec
15:22:27 T:99820 ERROR: CSelectionStreams::Get - failed to get stream
15:22:27 T:99820 WARNING: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
15:22:27 T:99820 WARNING: CDVDMessageQueue(video):Tongueut MSGQ_NOT_INITIALIZED
15:22:29 T:99820 NOTICE: Opening video stream: 0 source: 256
15:22:29 T:99820 NOTICE: Creating video codec with codec id: 28
15:22:29 T:99820 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
15:22:29 T:99820 NOTICE: Creating video thread
15:22:29 T:99820 NOTICE: Opening audio stream: 1 source: 256
15:22:29 T:99820 NOTICE: Finding audio codec for: 86016
15:22:29 T:48988 NOTICE: Thread DVDPlayerVideo start, auto delete: false
15:22:29 T:48988 NOTICE: running thread: video_thread
15:22:29 T:99820 NOTICE: Creating audio thread
15:22:29 T:115412 NOTICE: Thread DVDPlayerAudio start, auto delete: false
15:22:29 T:115412 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
15:22:29 T:99820 NOTICE: Opening video stream: 0 source: 256
15:22:29 T:99820 NOTICE: Creating video codec with codec id: 28
15:22:29 T:99820 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
15:22:30 T:48988 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
15:23:01 T:99820 NOTICE: Opening audio stream: 1 source: 256
15:23:01 T:99820 NOTICE: Finding audio codec for: 86016
15:23:03 T:99820 NOTICE: Opening audio stream: 1 source: 256
15:23:03 T:99820 NOTICE: Finding audio codec for: 86016
15:23:54 T:115412 NOTICE: Creating audio stream (codec id: 86016, channels: 2, sample rate: 48000, no pass-through)