njumlin Wrote:I have got it working, except I get no sound for the channels in XBMC, but I do get sound in the MediaPortal client. Any ideas? :confused2:
Which XBMC build are you using on which operating system?
Sounds like XBMC (ffmpeg lib) detects no or more than 1 audio stream.
For multiple audio streams, try to select one of the other audio streams (full screen -> Open "audio settings" dialog).
If that does not help, enable debug logging and check the xbmc.log file for the ffmpeg lines that describe the stream contents.
Example:
Code:
[size=x-small]19:59:53 T:5512 M:3748356096 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
19:59:53 T:5512 M:3748356096 INFO: ffmpeg[1588]: Input #0, mpegts, from 'pvr://channels/tv/All TV channels/1.pvr':
19:59:53 T:5512 M:3748356096 INFO: ffmpeg[1588]: Duration: N/A, start: 0.076133, bitrate: 15160 kb/s
19:59:53 T:5512 M:3748356096 INFO: ffmpeg[1588]: Program 137
19:59:53 T:5512 M:3748356096 INFO: ffmpeg[1588]: Stream #0.0[0x30]: Video: mpeg2video, yuv420p, 704x576 [PAR 16:11 DAR 16:9], 15000 kb/s, 500 fps, 25 tbr, 90k tbn, 50 tbc
19:59:53 T:5512 M:3748347904 INFO: ffmpeg[1588]: Stream #0.1[0x40]: Audio: mp2, 48000 Hz, 2 channels, s16, 160 kb/s
19:59:53 T:5512 M:3748347904 INFO: ffmpeg[1588]: Stream #0.2[0x61](dut): Subtitle: [6][0][0][0] / 0x0006[/size]
As you can see, this example has one video stream, one audio stream and 1 teletext stream (wrongly called Subtitle by ffmpeg).
I would like to know the output in your case.