Kodi Community Forum

Full Version: [LINUX/WINDOWS] RC2 - New Zealand Users - TV3 Terrestrial Freeview Playback broken?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This failure may be an indication of a more generic dual audio stream problem that has cropped up in RC2 (and perhaps RC1). I can no longer playback files derived from terrestrial Freeview HDTV programs. These files contain dual format sound tracks (AAC and AC3 I think). In my case they are recorded by a MythTV backend. XBMC Dharma RC2 chokes, freezes solid on Linux and displays black screen under Windows 7, OSD still comes up but pressing the soft stop button doesn't do anything. All other channels (single format audio tracks) all playback fine. When I ran Beta4 I'm pretty sure TV3 playback worked OK. I have tried this on two Ubuntu 10.04 systems and a Windows 7 system, all with RC2. Anyone else seeing this? Perhaps I've missed the bug report and this is already known about.

I have a log I can post but thought I'd put the question out there quickly first to see if anyone else is experiencing the issue.

Cheers
Richard
A log + backtrace on linux would be useful.
OK, I'll see if I can generate a full debug level log. Not sure about the backtrace generation yet. In the mean time a few lines that look relevant from the log file I do have may mean something to someone who know what they're looking at:

20:50:06 T:2932972400 M:700493824 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
20:50:09 T:3078403968 M:690692096 NOTICE: Previous line repeats 1 times.
20:50:09 T:3078403968 M:690692096 NOTICE: DVDPlayer: Opening: /home/richard/Network/Hda/Recordings/recordings/2003_20101209152300.mpg
20:50:09 T:3078403968 M:690692096 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
20:50:09 T:2867854192 M:690429952 NOTICE: Creating InputStream
20:50:09 T:2867854192 M:690008064 NOTICE: Creating Demuxer
20:50:09 T:3024976752 M:689790976 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
20:50:10 T:2867854192 M:689659904 NOTICE: Opening video stream: 0 source: 256

Which looks OK so far, but when it gets to the audio:

20:50:11 T:2867854192 M:679395328 NOTICE: Opening audio stream: 1 source: 256
20:50:11 T:2867854192 M:679395328 NOTICE: Finding audio codec for: 86019
20:50:11 T:2867854192 M:679395328 NOTICE: Creating audio thread
20:50:11 T:2842676080 M:679313408 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
20:50:11 T:2842676080 M:679313408 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:50:11 T:2851068784 M:679313408 NOTICE: running thread: video_thread
20:50:11 T:2851068784 M:678694912 NOTICE: (VDPAU) screenWidth:1920 vidWidth:1920
20:50:11 T:2851068784 M:678060032 NOTICE: (VDPAU) screenHeight:1080 vidHeight:1080
20:50:11 T:2842676080 M:669265920 ERROR: CDVDPlayerAudio:Big GrinecodeFrame - Decode Error. Skipping audio packet
20:50:11 T:2842676080 M:669265920 NOTICE: Creating audio device with codec id: 86019, channels: 0, sample rate: 48000, no pass-through
20:50:11 T:2851068784 M:669138944 NOTICE: (VDPAU) Total Output Surfaces Available: 2 of a max (tmp: 2 const: 4)
20:50:11 T:2851068784 M:669138944 NOTICE: (VDPAU) Creating the video mixer
20:50:11 T:2851068784 M:669138944 NOTICE: fps: 50.000000, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
20:50:11 T:2851068784 M:669138944 NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (12)
20:50:14 T:2842676080 M:664592384 ERROR: PulseAudio: Invalid sample spec
20:50:14 T:3078403968 M:661356544 NOTICE: Using GL_TEXTURE_2D
20:50:14 T:3078403968 M:661356544 NOTICE: GL: Using VDPAU render method
20:50:14 T:3078403968 M:661356544 NOTICE: GL: NPOT texture support detected
20:50:14 T:3078403968 M:661356544 NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:50:30 T:3078403968 M:659230720 NOTICE: CDVDPlayer::CloseFile()
20:50:30 T:3078403968 M:659230720 NOTICE: DVDPlayer: waiting for threads to exit
20:50:30 T:2867854192 M:659337216 NOTICE: CDVDPlayer::OnExit()
20:50:30 T:2867854192 M:659337216 NOTICE: DVDPlayer: closing audio stream
20:50:30 T:2867854192 M:659337216 NOTICE: Closing audio stream
20:50:30 T:2867854192 M:659337216 NOTICE: Waiting for audio thread to exit
20:50:31 T:2851068784 M:659361792 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
20:50:32 T:2851068784 M:658345984 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
20:50:37 T:2851068784 M:658051072 WARNING: Previous line repeats 44 times.
20:50:37 T:2851068784 M:658051072 NOTICE: fps: 25.000000, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
20:50:37 T:2851068784 M:658051072 WARNING: CRenderManager::Configure - timeout waiting for previous frame
20:50:37 T:2851068784 M:658051072 NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (12)
20:50:39 T:2851068784 M:658063360 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available


Cheers
Richard
I'm not sure what is going on but I tried it again last night, with debug logging enabled and it worked (different TV3 recording). I then turned debug logging off and tried it again and it still worked! Given that 4 different XBMC RC2 installations (2 Linux and 2 Windows) had previously failed on the 2 TV3 recordings I tried them on I can only conclude at this stage that there was something else about those particular recordings (not the dual format audio stream) that XBMC didn't like. The recording had played back in Windows Media Player OK though. I'll look into it further. In the meantime if anyone else experiences similar issues I'd be keen to know.

Cheers
Richard
Yep, I just tried again with one of the original TV3 recordings. It would appear more related to some kind of 'corruption' in the file that XBMC can't handle, though some other media players can. I have noticed that XBMC is quite temperamental generally about video files that are a result of recording off air (DVB-T, H.264). Often it reports the length of the file incorrectly and sometimes it's impossible to skip through without XBMC bombing out and dropping back to the menu. Could be I need to upgrade my external antenna, though signal quality reports from my TV's and HDHomeRun unit seems to suggest it's pretty good (Signal Quality 89%, Symbol Quality 100%). When I get a moment I'll produce a debug log for the XBMC crash event when it tries to play one of these 'corrupt' files.