[LINUX] VDPAU and embedded SSA/ASS subtitles?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
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: 245
Joined: Jan 2009
Reputation: 1
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
mcnaz Offline
Junior Member
Posts: 4
Joined: Sep 2009
Reputation: 0
Post: #21
This is indeed excellent news! I can enjoy my MKVs with all their SSA/ASS glory without re-encoding a hard-sub version.

@Robobandit thank you for the work around.

Excellent work devs!
find quote
LAGMonkey Offline
Member
Posts: 50
Joined: Nov 2008
Reputation: 0
Post: #22
Anyone got a problem with ogm files and embedded subtitles?

Again its anime and the subtitles show but only for a split second, they apprear onscreen and then go even before the character is speaking.
VLC obviously works but then i dont get VDPAU which is kind of needed on my Zotac Atom box.
find quote
elupus Offline
Team-XBMC Developer
Posts: 3,799
Joined: Mar 2004
Reputation: 3
Post: #23
would need a sample

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: badge.gif]
find quote
LAGMonkey Offline
Member
Posts: 50
Joined: Nov 2008
Reputation: 0
Post: #24
ah, well i have an NZB for the files that i downloaded, you can have that if you want but then youll be downloading all 43 episodes of GTO (at 11gig)!

At the moment ive used ogmdemux to extract the subtitles to srt which work fine and dandy and i would like to mention that i am VERY happy with XBMC and thankful for all the work thats being done on it.
find quote
bmfrosty Offline
Fan
Posts: 305
Joined: Mar 2007
Reputation: 0
Post: #25
LAGMonkey Wrote:Anyone got a problem with ogm files and embedded subtitles?

Again its anime and the subtitles show but only for a split second, they apprear onscreen and then go even before the character is speaking.
VLC obviously works but then i dont get VDPAU which is kind of needed on my Zotac Atom box.

I came to a conclusion about OGM quite a while ago.

It's been almost entirely superseded by MKV to the point that most of the tools and implementation for MKV is so significantly better that I'm better off spending a minute with mkvmerge gui to put the streams in an MKV container than I am trying to play it natively.

Edit: It's been a little while, but I'm fairly certain that I can do all that with mkvmerge gui and no other program involved. It's almost painlessly easy, except that it takes about a minute to set up and process each episode.

Subtitles - Serious Business
find quote
TREX6662k5 Offline
Donor
Posts: 214
Joined: Oct 2006
Reputation: 0
Location: London, United Kingdom
Post: #26
I am also seeing this corruption with mkvs, very hit and miss. Although once the video has stopped the writing in the top left corner in menus becomes corrupted. Also corrupted is every heading under system information.

I can try and send samples or screen shots if requested.

r23388

WYSIWYG
(This post was last modified: 2009-10-04 21:38 by TREX6662k5.)
find quote
mediaplay Offline
Junior Member
Posts: 20
Joined: Jul 2009
Reputation: 0
Post: #27
TREX6662k5 Wrote:I am also seeing this corruption with mkvs, very hit and miss. Although once the video has stopped the writing in the top left corner in menus becomes corrupted. Also corrupted is every heading under system information.

I can try and send samples or screen shots if requested.

r23388

I'm also seeing the same gibrish with VDPAU and some embedded MKV subtitles. I'm using the latest PPA build (9.04.3+svn23539-jaunty1) and XBMC live.

When stopping playback after this corruption is observed, text sometimes (not always) shows corrupted in the XBMC menus.
find quote
elupus Offline
Team-XBMC Developer
Posts: 3,799
Joined: Mar 2004
Reputation: 3
Post: #28
okey. so the ssa/ass corruption seem to happen in combination with font corruption in xbmc in general?

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: badge.gif]
find quote
typhoe Offline
Donor
Posts: 41
Joined: Jun 2008
Reputation: 0
Post: #29
Hi,

for me, the corruption in the font of the xbmc "system" only occurs after a corruption occurrence in the subtitles of a video with ASS subtitles (and VDPAU enabled).

I never encounter a corruption in the system font before trying to play a video.

regards,
Typhoe
find quote
mediaplay Offline
Junior Member
Posts: 20
Joined: Jul 2009
Reputation: 0
Post: #30
typhoe Wrote:Hi,

for me, the corruption in the font of the xbmc "system" only occurs after a corruption occurrence in the subtitles of a video with ASS subtitles (and VDPAU enabled).

I never encounter a corruption in the system font before trying to play a video.

regards,
Typhoe

for me as well - the XBMC font corruption only happens after there is corruption of ASS/SSA subtitles with VDPAU.
find quote
Post Reply