Playback of OGG crashes
#1
Hi all,

I am unable to play back OGG format files, I am using cdEx to rip straight to ogg vbr. I am running the latest SVN copy of XBMC and still get the same problem.

Here is the important part of the log:

11:08:48 T:3057960896 M: 11616256 DEBUG: new file set audiostream:0
11:08:48 T:3057960896 M: 11563008 DEBUG: CPlayerCoreFactor::GetPlayers(/Media/Music/From Nikki/george/polyserena/01 - Release.ogg)
11:08:48 T:3057960896 M: 7397376 DEBUG: CFileCache::Open - opening </Media/Music/From Nikki/george/polyserena/01 - Release.ogg> using cache
11:08:48 T:2909936528 M: 7397376 DEBUG: Running thread 2909936528
11:08:48 T:2909936528 M: 7397376 DEBUG: thread start, auto delete: 0
11:08:49 T:2909936528 M: 7471104 DEBUG: Process, request seek on source to 3567634
11:08:49 T:2909936528 M: 7471104 INFO: CFileCache:Tonguerocess - Hit eof.
11:08:49 T:2909936528 M: 7471104 DEBUG: Process, request seek on source to 3559134
11:08:49 T:2909936528 M: 7471104 INFO: CFileCache:Tonguerocess - Hit eof.
11:08:49 T:2909936528 M: 7471104 DEBUG: Process, request seek on source to 3566006
11:08:49 T:2909936528 M: 7471104 INFO: CFileCache:Tonguerocess - Hit eof.
11:08:49 T:2909936528 M: 7471104 DEBUG: Process, request seek on source to 4425
11:08:49 T:2909936528 M: 7729152 INFO: CFileCache:Tonguerocess - Hit eof.
11:08:49 T:2909936528 M: 7729152 DEBUG: Process, request seek on source to 3567634
11:08:49 T:2909936528 M: 7729152 INFO: CFileCache:Tonguerocess - Hit eof.

Any and all help would be appreciated... thanks Smile
Reply
#2
How 'bout you pastebin.ca the WHOLE log and let us decide which parts are pertinent? Also pastebin any out put at the terminal.
Reply
#3
While it is less fun than abusing the nubies, it might be productive to post a sticky thread that describes what the developers would and would not like regarding bug reports.

My best understanding is:

- YES, bug reports are appreciated
- Say what version you are running
- Ensure it happens on the SVN HEAD version too
- Full debug log posted to pastebins.com or similar site (don't post full logs here)

Gnif -- he's that polite with everyone :-)
XBMC machine: ABIT AN-M2HD with nVidia 7050 onboard (Ubuntu Hardy + latest nVidia driver), AMD Athlon BE-2350, Microsoft MCE IR Remote, Logitech PS3 USB keyboard, 33w idle, 53w max, 720p plasma over HDMI
Reply
#4
Just so you know, I AM a developer, I HAVE tried to fix this problem myself, but due to multimedia programming being my weak point, I am not able to track this problem down, I am not a noob.

Right now my daughter is watching videos, so I cant create a debug log right now, but I can confirm a few more things...

I am running the latest SVN HEAD.
I have just completed a clean re-build and it is still occuring
The problem seems to be intermittant
The problem causes a complete lockup of XBMC

I only posted the relevant exert of the log as the rest of the log only contained information related to loading of images, xml and libs. However, since some people are rude and dont even offer basic advice as to where or what the problem could be, I will post the full debug log. I was only hoping for a pointer to the right direction so I could try to fix this problem myself!

If he is rude to everybody, he should be taken to task, yes, this is free software, yes, it is unsupported, but that is NO excuse to be rude to someone who only wants to become part of the development community on this project.

A few things I have noted however, that I am yet unclear as to the impact it may have on things, and could be responsible for this problem.

I am using SPDIF for everything with a SoundBlaster Live Platinum. I set the output to digital, and use DTS & AC3 passthrough as my amp is capable of decoding both. When anything that does not contain DTS or AC3 is played (including CDDA or Movies), XBMC uses the default audio device to play instead of the digital output. To fix this I just set the default audio output to "iec958", however this seems a bit counter intruative since once digital is enabled, it would be expected to be used by default anyway, just like the xbox does.

I would be happy to provide a patch to use the digital by default for non DTS & AC3 content once digital is turned on if people want this behaviour.
Reply
#5
Here is the log in full: http://pastebin.ca/981891
Reply
#6
I'm afraid I can't help out all that much with the problem as I'm more on the xbox/win32 side of development.

With that said, I'd possibly check the ogg decoder routines - it's jumping around a bit in the filecache, so it could possibly be crashing in the reading routines on init which are in OGGCodec::Init in xbmc/cores/paplayer/OggCodec.cpp. This calls into the vorbis library and sets read/seek etc. callbacks and requests info about the file and so on. The callbacks will allow tracking into where it's moving in the file, and running under gdb may help isolate the issue perhaps.

EDIT: It could also be spinning in the file caching stuff (CFileCache) waiting on reading perhaps.

I shall point some linux devs at this thread for their comments regarding the analog/digital issue as well.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Playback of OGG crashes0