2013-08-18, 04:37
Major frustration here. Just got XBMC working smoothly, Moving up to Frodo (12.2) seemed to fix all of my previous issues. Originally running on Fed 17, kernel 3.7.9, then, after doing system package updates, bam! Audio stopped working - for entire system (not just XBMC). Upgraded entire system to Fed 19 which fixed the system-wide audio issues, but it broke XBMC.
Now, any 5.1 channel audio streams won't play in XBMC, and the video runs fast forward - and no subtitles. Checked the audio settings in XBMC, and it is now (only) using Pulse Audio - it gives me no option to configure for anything else. From the debug logging, I see this:
Please! Any and all help greatly appreciated. Need to get my HTPC up and running quickly.
FWIW:
I'm using the stock build package from the RPMFusion repo (can't build at the moment on this system since it has no dev tools/libs).
I can play videos with no audio/video problems using (s)mplayer.
I have the ALC888 audio chipset, and am using the SPDIF/passthrough.
TIA
ken
Now, any 5.1 channel audio streams won't play in XBMC, and the video runs fast forward - and no subtitles. Checked the audio settings in XBMC, and it is now (only) using Pulse Audio - it gives me no option to configure for anything else. From the debug logging, I see this:
Code:
...
17:03:20 T:140543169923264 DEBUG: PulseAudio: Context authorizing
17:03:20 T:140543169923264 DEBUG: PulseAudio: Context setting name
17:03:20 T:140543169923264 DEBUG: PulseAudio: Context ready
...
17:03:55 T:140542035650304 INFO: ffmpeg[7E1C6700]: Input #0, matroska,webm, from '/nas/Videos/Cinema/The.Adventures.of.Priscilla.Queen.of.the.Desert.1994.720p.BluRay.X264-AMIABLE.mkv':
17:03:55 T:140542035650304 INFO: ffmpeg[7E1C6700]: Duration: 01:43:20.74, start: 0.000000, bitrate: 6055 kb/s
...
17:03:55 T:140542035650304 INFO: ffmpeg[7E1C6700]: Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x552, SAR 1:1 DAR 160:69, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
17:03:55 T:140542035650304 INFO: ffmpeg[7E1C6700]: Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
...
17:03:55 T:140542035650304 NOTICE: Finding audio codec for: 86020
17:03:55 T:140542035650304 DEBUG: DllAvUtilBase: Using libavutil system library
17:03:55 T:140542035650304 DEBUG: FactoryCodec - Audio: passthrough - Opening
17:03:55 T:140542035650304 DEBUG: FactoryCodec - Audio: passthrough - Opened
17:03:55 T:140542035650304 DEBUG: CDVDPlayerAudio: Sample rate changed, checking for passthrough
17:03:55 T:140542035650304 DEBUG: DllAvUtilBase: Using libavutil system library
17:03:55 T:140542035650304 DEBUG: FactoryCodec - Audio: passthrough - Opening
17:03:55 T:140542035650304 DEBUG: FactoryCodec - Audio: passthrough - Opened
17:03:55 T:140542035650304 NOTICE: Creating audio thread
17:03:55 T:140541849229056 NOTICE: running thread: video_thread
17:03:55 T:140541849229056 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
17:03:55 T:140541840836352 NOTICE: Thread CDVDPlayerAudio start, auto delete: false
17:03:55 T:140542035650304 NOTICE: Opening Subtitle stream: 2 source: 256
17:03:55 T:140542035650304 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opening
17:03:55 T:140542035650304 DEBUG: DllAvUtilBase: Using libavutil system library
17:03:55 T:140542035650304 DEBUG: DllAvCodec: Using libavcodec system library
17:03:55 T:140542035650304 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opened
17:03:55 T:140542035650304 DEBUG: ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: /nas/Videos/Cinema/The.Adventures.of.Priscilla.Queen.of.the.Desert.1994.720p.BluRay.X264-AMIABLE.mkv
17:03:55 T:140542035650304 DEBUG: CDVDPlayer::SetCaching - caching state 3
17:03:55 T:140541849229056 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
17:03:55 T:140541849229056 DEBUG: VAAPI - attempting to open codec 28 with profile 100 at level 41 with 5 reference frames
17:03:55 T:140541840836352 NOTICE: running thread: CDVDPlayerAudio::Process()
17:03:55 T:140541840836352 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(10000.000000, 1)
17:03:55 T:140541840836352 INFO: CAEStreamInfo::SyncDTS - dts stream detected (6 channels, 48000Hz, 16bit BE, period: 512)
17:03:55 T:140541840836352 DEBUG: CDVDPlayerAudio: Sample rate changed, checking for passthrough
17:03:55 T:140541840836352 DEBUG: DllAvUtilBase: Using libavutil system library
17:03:55 T:140541840836352 DEBUG: FactoryCodec - Audio: passthrough - Opening
17:03:55 T:140541840836352 DEBUG: FactoryCodec - Audio: passthrough - Opened
17:03:55 T:140541840836352 NOTICE: Creating audio stream (codec id: 86020, channels: 2, sample rate: 48000, pass-through)
17:03:55 T:140541840836352 DEBUG: PulseAudio: Stream failed
17:03:55 T:140541840836352 ERROR: PulseAudio: Waited for the stream but it failed
17:03:55 T:140541840836352 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
17:03:55 T:140542035650304 DEBUG: CDVDPlayer::HandleMessages - player started 1
17:03:55 T:140541849229056 DEBUG: VAAPI - initialize version 0.33
17:03:55 T:140541849229056 ERROR: VAAPI - unable to initialize display -1 - unknown libva error
17:03:55 T:140541849229056 DEBUG: VAAPI - attempting to open codec 28 with profile 100 at level 41 with 5 reference frames
17:03:55 T:140541849229056 DEBUG: VAAPI - initialize version 0.33
17:03:55 T:140541849229056 ERROR: VAAPI - unable to initialize display -1 - unknown libva error
17:03:55 T:140541849229056 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(42000.000000, 0)
17:03:55 T:140541849229056 INFO: ffmpeg[72FFD700]: [h264] Cannot parallelize deblocking type 1, decoding such frames in sequential order
17:03:55 T:140542035650304 DEBUG: CDVDPlayer::SetCaching - caching state 0
17:03:55 T:140541849229056 NOTICE: fps: 23.976024, pwidth: 1280, pheight: 552, dwidth: 1280, dheight: 552
17:03:55 T:140541849229056 DEBUG: OutputPicture - change configuration. 1280x552. framerate: 23.98. format: YV12
17:03:55 T:140541849229056 NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (16)
17:03:55 T:140541840836352 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:10238.225000, should be:20666.666667, error:10428.441667
17:03:55 T:140541840836352 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:20729.580667, should be:126666.666667, error:105937.086000
17:03:55 T:140541840836352 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:126731.651667, should be:233666.666667, error:106935.015000
17:03:55 T:140541840836352 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:233722.905667, should be:340666.666667, error:106943.761000
...
Please! Any and all help greatly appreciated. Need to get my HTPC up and running quickly.
FWIW:
I'm using the stock build package from the RPMFusion repo (can't build at the moment on this system since it has no dev tools/libs).
I can play videos with no audio/video problems using (s)mplayer.
I have the ALC888 audio chipset, and am using the SPDIF/passthrough.
TIA
ken