[LINUX] VDPAU and embedded SSA/ASS subtitles?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
xanadu1979 Offline
Senior Member
Posts: 265
Joined: Aug 2008
Reputation: 4
Post: #11
Darn, they denied the patch. Hopefully that other implementation he's talking about gets added soon.
find quote
Kirov Offline
Junior Member
Posts: 4
Joined: Sep 2009
Reputation: 0
Post: #12
If the other implementation simply needs some cleanup I can see it getting committed soon. I like the sound of the other solution more than my own given it takes care of the problem for all renderes. If you're impatient you can always use my patch in the meantime, it's what I'll be doing.
find quote
duttzi Offline
Junior Member
Posts: 4
Joined: Sep 2009
Reputation: 0
Post: #13
Now my XBMC (installed 5 days ago) will crash (shutdown) when I browse for .sub/.idx-subtitles. I use VPAUD.

Is this fixed in the patch, Kirov? How can I apply that patch?
Will this problem be fixed in a upcoming xbmc release?
find quote
xanadu1979 Offline
Senior Member
Posts: 265
Joined: Aug 2008
Reputation: 4
Post: #14
duttzi Wrote:Now my XBMC (installed 5 days ago) will crash (shutdown) when I browse for .sub/.idx-subtitles. I use VPAUD.

Is this fixed in the patch, Kirov? How can I apply that patch?
Will this problem be fixed in a upcoming xbmc release?

You should probably start a new thread and post a debug log. Make sure you read the "post about a problem in a useful manner" thread before you do so.

It's pretty hard to help you if you don't post any specifics. "Installed 5 days ago" tells us nothing. You could have installed a two year-old build, or a two hour old build.

If you installed a really recent build, it's probably because the code in the svn is sort of unstable right now.
find quote
Kurosama Offline
Junior Member
Posts: 13
Joined: Mar 2009
Reputation: 4
Post: #15
A BIG thanks to whom worked on this.
Tested a couple of minutes ago with a fresh svn compile: now styled subs on all the fansubs I've tried.
find quote
Robobandit Offline
Junior Member
Posts: 12
Joined: Aug 2009
Reputation: 4
Post: #16
If someone doesn't mind, I could use a bit of help applying this patch.

I checked out the latest SVN and am trying to run the patch from $HOME/XBMC with

patch -p0 -i xbmc-vdpau-subtitles.patch

but it keeps throwing an error back -

patch: **** Only garbage was found in the patch input.

Can anyone tell me what I'm doing wrong? from my research thus far, it appears I've given "patch" the wrong format flag, but I'm not sure what the correct one is.

Any help would be greatly appreciated.
find quote
fasteddy Offline
Senior Member
Posts: 230
Joined: Jan 2009
Reputation: 0
Location: Ottawa, Ontario, Canada
Post: #17
As of rev 22961-22964, it shouldn't be necessary to apply that patch.
find quote
Robobandit Offline
Junior Member
Posts: 12
Joined: Aug 2009
Reputation: 4
Post: #18
Yep. That took care of it.

SVN 22999 crashed when playing and had some subtitle skewing (being rendered at such an extreme angle that it looked like gibberish)

SVN 23005 doesn't crash but still has the subtitle rendering issue.

Some of the subtitles are rendered correctly, others look like gibberish.

However, I've found a workaround that will hold me until this is found and fixed.

1. Play file w/ VDPAU enabled
2. Note some(not all) corrupted subtitles
3. Stop playback and go to settings>Videos
4. Change rendering method to something else
5. Play file again and notice perfect subtitles
6. Stop playback - Go back to settings>Videos and re-select VDPAU as the renderer
7. Play file again, note perfect subtitles w/ VDPAU acceleration.

This "fixes" the issue for all of my anime files w/ ssa/ass subtitles until I shut down XBMC.
find quote
res0nat0r Offline
Junior Member
Posts: 20
Joined: Jul 2009
Reputation: 0
Post: #19
if you dont feel like recompiling xbmc to fix this issue, i have a workaround for it i have been using in the meantime. you can extract your ASS subs, and convert them to SRT with the perl script linked below, and use that as an external .srt file, and the subs will show up. might be useful for you.

http://github.com/res0nat0r/ass2srt
find quote
Icey Offline
Junior Member
Posts: 38
Joined: May 2008
Reputation: 0
Post: #20
This is great news! Having to watch many anime without VDPAU enabled has definitely not been fun. I'm hoping XBMC 9.10 will have this working perfectly.
find quote
Post Reply