You are not logged in.

#1 2009-08-24 18:21:56

ohadbasan
Member
Registered: 2009-08-18
Posts: 30

bi directional subtitles

Hey fellas.

I am streaming media to my playstation3 with "ps3 media server" (you can find that great app in google code)
since i'm israeli and we write from the right to the left - the subtitles appear backwards (in ubuntu it worked ok so the problem is not with the application, in addition, vlc shows everything ok. the problem appears only when i stream media to the ps3)
I thought that it's somehow related to "fridibi" library (I am very not sure about that) so i installed it and then i found out that the transcoder comes precompiled with fridibi-disabled. I got the pkgbuild from AUR, enabled the fridibi support tried to recompile and oooopss -
an error
subreader.o: In function `sub_fribidi':
subreader.c:(.text+0x19a6): undefined reference to `fribidi_set_mirroring'
subreader.c:(.text+0x19ad): undefined reference to `fribidi_set_reorder_nsm'
subreader.c:(.text+0x19cd): undefined reference to `fribidi_parse_charset'
subreader.c:(.text+0x1a1f): undefined reference to `fribidi_charset_to_unicode'
subreader.c:(.text+0x1a65): undefined reference to `fribidi_log2vis'
subreader.c:(.text+0x1a84): undefined reference to `fribidi_remove_bidi_marks'
subreader.c:(.text+0x1abc): undefined reference to `fribidi_unicode_to_charset'
subreader.c:(.text+0x1b36): undefined reference to `fribidi_parse_charset'
collect2: ld returned 1 exit status
make: *** [mencoder] Error 1
==> ERROR: Build Failed.
    Aborting...

anybody has an idea??

thanks!

Offline

#2 2009-10-18 10:35:51

yhager
Member
Registered: 2009-08-21
Posts: 6

Re: bi directional subtitles

I'm experiencing the same issue. I am quite certain this is related to fribidi, and you (and I) did the right thing to make mplayer work.

Offline

#3 2009-10-18 12:47:23

zigiless
Member
From: Israel
Registered: 2008-06-27
Posts: 27
Website

Re: bi directional subtitles

Maybe you should check out the aur page comments for "mplayer-svn"
http://aur.archlinux.org/packages.php?ID=24405

I posted the exact same problem there, and crank the package maintainer made a patch to solve it.
I've used mplayer with fribidi support since then, with no problems.

Offline

#4 2009-10-18 14:21:23

yhager
Member
Registered: 2009-08-21
Posts: 6

Re: bi directional subtitles

ok, this took a bit of knowledge in mplayer internal build method. I created an AUR package that builds mplayer with fribidi support - http://aur.archlinux.org/packages.php?ID=31283

Let me know if this works for you.

Offline

Board footer

Powered by FluxBB