Kodi Community Forum

Full Version: [MAC] No MythTV playback on PPC (PowerPC) on XBMC for Mac?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey all,

I have written about this in the mythtv thread but seeing as though it might just be a ppc mac thing I figure I would post here to see if I can get more feedback from other people that are running a mythbackend with a ppc xbmc front end. This is what I got so far...
the myth:// protocol wont play and it causes xbmc to crash. in the log I get stuff like this before the crash...
Quote:22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 209707094, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 211935360, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 219013361, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 219341055, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 219800350, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 212591803, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 215474653, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 209378979, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 221044302, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 212459488, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 219145291, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 210167529, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 221112451, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 225109703, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 212396327, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 210037504, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 222555067, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 211217183, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 217181337, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 209644593, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 212593253, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 217441731, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 222488080, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 218491117, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 218623210, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 214299570, whence 0
22:24:52 T:4035047424 M:1541730304 DEBUG: Seek - seek to pos 220263971, whence 0
etc,etc...
Also using the mythbox script the dvdplayer craps out. It plays the first 1 or 2 minutes or so of live tv and then it gives me this sort of stuff...
Quote:22:48:22 T:4035649536 M:1288835072 DEBUG: CDVDPlayerAudio:: Discontinuty - was:45401069.662620, should be:45434239.370620, error:33169.708000
22:48:22 T:4035649536 M:1288835072 DEBUG: CDVDPlayerAudio:: Discontinuty - was:45546522.546620, should be:45534093.533620, error:-12429.013000
22:48:22 T:4035649536 M:1288835072 DEBUG: CDVDPlayerAudio:: Discontinuty - was:45603722.073620, should be:45590097.494620, error:-13624.579000
22:48:22 T:4035649536 M:1288835072 DEBUG: CDVDPlayerAudio:: Discontinuty - was:45694572.803620, should be:45722097.278620, error:27524.475000
22:48:22 T:4035649536 M:1288835072 DEBUG: CDVDPlayerAudio:: Discontinuty - was:45839239.863620, should be:45822094.076620, error:-17145.787000
22:48:22 T:4035649536 M:1288835072 DEBUG: CDVDPlayerAudio:: Discontinuty - was:45960327.646620, should be:45950096.300620, error:-10231.346000
22:48:22 T:4035649536 M:1288835072 DEBUG: CDVDPlayerAudio:: Discontinuty - was:45984909.811620, should be:46010096.138620, error:25186.327000
22:48:22 T:4035649536 M:1289035776 DEBUG: CDVDPlayerAudio:: Discontinuty - was:46093893.066620, should be:46082093.154620, error:-11799.912000
22:48:23 T:4035649536 M:1289035776 DEBUG: CDVDPlayerAudio:: Discontinuty - was:46254130.994620, should be:46238091.526620, error:-16039.468000
22:48:23 T:4035649536 M:1289035776 DEBUG: CDVDPlayerAudio:: Discontinuty - was:46272679.610620, should be:46298097.277620, error:25417.667000
and then I get this and playback just stops...
Quote:22:48:23 T:4035117056 M:1289035776 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
22:48:23 T:4035649536 M:1289035776 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
22:48:23 T:4035649536 M:1289035776 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_EOF
22:48:23 T:4035649536 M:1289035776 DEBUG: CDVDAudio:Big Grinrain - adding 1536 bytes of silence, buffer size: 512, chunk size: 2048
22:48:23 T:4034584576 M:1289035776 NOTICE: CDVDPlayer::OnExit()
22:48:23 T:4034584576 M:1289035776 NOTICE: DVDPlayer: eof, waiting for queues to empty
22:48:23 T:4034584576 M:1289035776 NOTICE: DVDPlayer: closing audio stream
22:48:23 T:4034584576 M:1289035776 NOTICE: Closing audio stream
22:48:23 T:4034584576 M:1289035776 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
22:48:23 T:4035649536 M:1289035776 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
22:48:23 T:4034584576 M:1289035776 NOTICE: Waiting for audio thread to exit
22:48:23 T:4035649536 M:1289035776 DEBUG: CDVDPlayerAudio:Tonguerocess - Abort received, exiting thread
22:48:23 T:4035649536 M:1289035776 NOTICE: thread end: CDVDPlayerAudio::OnExit()
22:48:23 T:4035649536 M:1289035776 DEBUG: staticThread, deleting thread graphic context
22:48:23 T:4035649536 M:1289035776 DEBUG: Thread 4035649536 terminating
22:48:23 T:4034584576 M:1289056256 NOTICE: Closing audio device
22:48:23 T:4034584576 M:1289076736 DEBUG: PortAudioDirectSound:Big Grineinitialize
22:48:23 T:4034584576 M:1289076736 ERROR: [PortAudio] ERROR[/Users/julie/XBMC/xbmc/cores/AudioRenderers/PortaudioDirectSound.cpp:104]: Stream is stopped.
22:48:23 T:4034584576 M:1289850880 DEBUG: PortAudioDirectSound:Big Grineinitialize - set active
22:48:23 T:4034584576 M:1289834496 DEBUG: PortAudioDirectSound() dtor
22:48:23 T:4034584576 M:1289830400 DEBUG: PortAudioDirectSound:Big Grineinitialize
22:48:23 T:4034584576 M:1289830400 DEBUG: PortAudioDirectSound:Big Grineinitialize - set active
22:48:23 T:4034584576 M:1289834496 NOTICE: Deleting audio codec
22:48:23 T:4034584576 M:1289867264 NOTICE: DVDPlayer: closing video stream
22:48:23 T:4034584576 M:1289867264 NOTICE: Closing video stream
22:48:23 T:4034584576 M:1289867264 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
22:48:23 T:4035117056 M:1289867264 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
22:48:23 T:4034584576 M:1289867264 NOTICE: waiting for video thread to exit
22:48:23 T:4035117056 M:1289867264 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
22:48:23 T:4035117056 M:1289867264 NOTICE: thread end: video_thread
22:48:23 T:4035117056 M:1289867264 DEBUG: staticThread, deleting thread graphic context
22:48:23 T:4035117056 M:1289867264 DEBUG: Thread 4035117056 terminating
22:48:23 T:4034584576 M:1289879552 NOTICE: deleting video codec
22:48:23 T:4034584576 M:1290932224 NOTICE: CDVDPlayer::OnExit() deleting demuxer
22:48:23 T:4034584576 M:1290932224 NOTICE: CDVDPlayer::OnExit() deleting input stream
22:48:23 T:4034584576 M:1290932224 DEBUG: Playback has finished
Anyone using ppc version getting this sort of thing?
BTW I am trying to play mpeg4 .nuv files.

-Alain
Poor beenje Sad
I've never used mythtv and don't have any hardware to run it... but I can check if I see any obvious endian pb in the code.
Ding, could you pastebin the full xbmc.log?
I saw you did in another thread, but I couldn't see it.

Thanks for your support althekiller Smile
Hey beenje thanks for trying to help. I know how hard you have been working on getting the ppc stuff to the point it is so thanks. I know it is hard when you don't even have the same setup so I am not expecting much. I know davilla has a mythtv box so hopefully he might have some insights but we will see. Anyway here is the pastebin...
http://www.pastebin.ca/1404019
Hopefully you can find some endian issue. I have mythfrontend working on my ppc so I know it is not a connections issue as you can see from the log. I think it is that the dvdplayer instance is very confused as to what to do with the .nuv file. I am guessing that can be the issue although it plays fine from the recordings but I get these...
Quote:18:19:04 T:4037246976 M:1009111040 DEBUG: CDVDPlayerAudio:: Discontinuty - was:17841004.978620, should be:17826321.022620, error:-14683.956000
18:19:04 T:4037246976 M:1009111040 DEBUG: CDVDPlayerAudio:: Discontinuty - was:17965050.776620, should be:17954173.668620, error:-10877.108000
18:19:04 T:4037246976 M:1009111040 DEBUG: CDVDPlayerAudio:: Discontinuty - was:18023565.022620, should be:18010222.714620, error:-13342.308000
18:19:04 T:4037246976 M:1009111040 DEBUG: CDVDPlayerAudio:: Discontinuty - was:18034153.781620, should be:18070243.005620, error:36089.224000

Thanks
My quick code review didn't give anything...
I need to reproduce the problem.
I have installed mythtv but I need a nuv file. Could you send me a sample recording?
Thanks to vdrfan, I found some nuv files here: http://samples.mplayerhq.hu/nuv/
I made XBMC crash on ppc as well. Gonna try to look.
Looks like nuv files don't play on OSX (both ppc and intel) when using software render method.
I assume that's what you have been using as well (couldn't see in your log), because it works fine on my PowerBook (when not using sw renderer).
You have an ATI Radeon 9600 that supports OpenGL 2.0. You should use it Smile.
Go to Videos Settings -> Player -> Render method
Set it to "Auto detect". And try again.
Let me know if I was right or not Wink
Dude,

Must say you are da MAN! I looked at the player setting and it was on auto detect but I decided to cycle thru it any ways and left it back on auto detect. Now it works. Yes! I am guessing that even thought it said it was on auto detect, that it really was not until I cycled thru it. Awesome. Will test some more but so far that solved it.
Strange about the auto detect... But glad to hear it works now Smile
To check the render method used, you can look in xbmc.log. When starting to play a video, you should see something like:
18:50:14 T:2693535520 M:160067584 DEBUG: GL: Requested render method: 0
18:50:14 T:2693535520 M:160055296 NOTICE: GL: Selecting YUV 2 RGB Progressive Shader