2013-04-06, 01:30
(2012-03-21, 18:02)divingmule Wrote: Doesn't look like there's going to be a way to fix this on the add-on side of things. It seems to be an audio codec problem.
If you look at the Metadata in the log you'll notice most of these broadcasters are using this XSplit software.
Code:07:50:21 T:4784 NOTICE: audiocodecid 11.00
07:50:21 T:4784 NOTICE: audiodatarate 100.00
07:50:21 T:4784 NOTICE: bufferSize 1000k
07:50:21 T:4784 NOTICE: frameRate 400000
07:50:21 T:4784 NOTICE: maxBitrate 1000k
07:50:21 T:4784 NOTICE: videoDevice XSplitBroadcaster
07:50:21 T:4784 NOTICE: xsplitBroadcasterVersion1.2.1.91
07:50:21 T:4784 NOTICE: xsplitCoreVersion 1.0.1201.0504 Public Beta 6
07:50:21 T:4784 NOTICE: xsplitGameSourceVersion1.1.0.18
07:50:21 T:4784 NOTICE: xsplitMediaLibVersion 2.0.0.88
Notice the audiocodecid.
If the stream plays, it will have no audio -
Code:07:43:57 T:1096 NOTICE: Opening audio stream: 1 source: 256
07:43:57 T:1096 NOTICE: Finding audio codec for: 86054
07:43:57 T:1096 DEBUG: FactoryCodec - Audio: FFmpeg - Opening
07:43:57 T:3980 DEBUG: Thread CDVDPlayerVideo start, auto delete: 0
07:43:57 T:3980 NOTICE: running thread: video_thread
07:43:57 T:1096 DEBUG: CDVDAudioCodecFFmpeg::Open() Unable to find codec 86054
07:43:57 T:1096 DEBUG: FactoryCodec - Audio: FFmpeg - Failed
If the stream doesn't play -
Code:WARNING: could not find codec parameters
ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
However this stream played without issue, notice the audiocodecid -
Code:08:01:50 T:3636 NOTICE: audiocodecid mp4a
08:01:50 T:3636 NOTICE: audiodatarate 187.50
08:01:50 T:3636 NOTICE: bufferSize 3700k
08:01:50 T:3636 NOTICE: frameRate 181818
08:01:50 T:3636 NOTICE: maxBitrate 3700k
08:01:50 T:3636 NOTICE: videoDevice XSplitBroadcaster
08:01:50 T:3636 NOTICE: xsplitBroadcasterVersion1.3.0.9
08:01:50 T:3636 NOTICE: xsplitCoreVersion 1.0.1203.1602 Public Beta 7.1
08:01:50 T:3636 NOTICE: xsplitGameSourceVersion1.1.0.21
08:01:50 T:3636 NOTICE: xsplitMediaLibVersion 2.0.0.100
I also dumped some video to a file, from a stream that would not play, and it played without any audio in XBMC and VLC.
Was there ever a fix for codecid 11.0 (Speex)? My machine has both codecs (Opus/Speex) installed via FFMpeg yet it fails on every stream.
Code:
openelec:~ # ffmpeg -codecs
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 4 2013 23:06:09 with gcc 4.7.2 (GCC)
configuration: --prefix=/usr --cpu=btver1 --arch=x86_64 --enable-cross-compile --cross-prefix=/home/openelec/OpenELEC.tv/build.OpenELEC-Fusion.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu- --sysroot=/home/openelec/OpenELEC.tv/build.OpenELEC-Fusion.x86_64-devel/toolchain/x86_64-openelec-linux-gnu/sysroot --sysinclude=/home/openelec/OpenELEC.tv/build.OpenELEC-Fusion.x86_64-devel/toolchain/x86_64-openelec-linux-gnu/sysroot/usr/include --target-os=linux --nm=/home/openelec/OpenELEC.tv/build.OpenELEC-Fusion.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-nm --ar=/home/openelec/OpenELEC.tv/build.OpenELEC-Fusion.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-ar --as=/home/openelec/OpenELEC.tv/build.OpenELEC-Fusion.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-gcc --cc=/home/openelec/OpenELEC.tv/build.OpenELEC-Fusion.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-gcc --ld=/home/openelec/OpenELEC.tv/build.OpenELEC-Fusion.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-gcc --host libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
..A.L. speex Speex
..A.L. opus Opus (Opus Interactive Audio Codec)
Code:
22:49:54 T:140392690665280 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:49:54 T:140392690665280 NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
22:49:54 T:140391376201472 NOTICE: Thread CDVDPlayer start, auto delete: false
22:49:54 T:140391376201472 NOTICE: Creating InputStream
22:49:56 T:140391376201472 NOTICE: Creating Demuxer
22:49:56 T:140391376201472 NOTICE: Metadata:
22:49:56 T:140391376201472 NOTICE: author
22:49:56 T:140391376201472 NOTICE: copyright
22:49:56 T:140391376201472 NOTICE: description
22:49:56 T:140391376201472 NOTICE: keywords
22:49:56 T:140391376201472 NOTICE: rating
22:49:56 T:140391376201472 NOTICE: title
22:49:56 T:140391376201472 NOTICE: presetname Custom
22:49:56 T:140391376201472 NOTICE: creationdate Sun March 24 21:14:47 2013
22:49:56 T:140391376201472 NOTICE: videodevice XSplitBroadcaster
22:49:56 T:140391376201472 NOTICE: framerate 15.00
22:49:56 T:140391376201472 NOTICE: width 1280.00
22:49:56 T:140391376201472 NOTICE: height 720.00
22:49:56 T:140391376201472 NOTICE: videocodecid avc1
22:49:56 T:140391376201472 NOTICE: avclevel 31.00
22:49:56 T:140391376201472 NOTICE: avcprofile 100.00
22:49:56 T:140391376201472 NOTICE: videodatarate 390.62
22:49:56 T:140391376201472 NOTICE: videokeyframe_frequency0.20
22:49:56 T:140391376201472 NOTICE: audiodevice VHAudioCustom
22:49:56 T:140391376201472 NOTICE: audiosamplerate 16000.00
22:49:56 T:140391376201472 NOTICE: audiochannels 1.00
22:49:56 T:140391376201472 NOTICE: audioinputvolume 100.00
22:49:56 T:140391376201472 NOTICE: audiocodecid 11.00
22:49:56 T:140391376201472 NOTICE: audiodatarate 27.15
22:49:56 T:140391376201472 NOTICE: bufferSize 1000k
22:49:56 T:140391376201472 NOTICE: maxBitrate 600k
22:49:56 T:140391376201472 NOTICE: xsplitBroadcasterVersion1.3.0.95
22:49:56 T:140391376201472 NOTICE: xsplitCoreVersion 1.2.1303.0101 Version 1.2
22:49:56 T:140391376201472 NOTICE: xsplitGameSourceVersion1.1.1.30
22:49:56 T:140391376201472 NOTICE: xsplitMediaLibVersion 2.0.0.209
22:49:57 T:140391376201472 NOTICE: Opening video stream: 0 source: 256
22:49:57 T:140391376201472 NOTICE: Creating video codec with codec id: 28
22:49:57 T:140391376201472 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
22:49:57 T:140392263571200 NOTICE: Thread CVideoReferenceClock start, auto delete: false
22:49:57 T:140391376201472 NOTICE: Creating video thread
22:49:57 T:140391399421696 NOTICE: Thread CDVDPlayerVideo start, auto delete: false
22:49:57 T:140391376201472 NOTICE: Opening audio stream: 1 source: 256
22:49:57 T:140391376201472 NOTICE: Finding audio codec for: 86052
22:49:57 T:140391376201472 ERROR: Unsupported audio codec
22:49:57 T:140391376201472 WARNING: OpenAudioStream - Unsupported stream 1. Stream disabled.