Arabic subtitles support on Ps3showtime

Added by jaffar alsaffar over 8 years ago

i wrote a Perl script to convert Arabic .srt subtitles to ps3 friendly format
the script reverse the words , and retype letters in ps3-readable form, and i tried some subtitle files i made on ps3showtime, and they works just fine =)
here i will give screen shots of the subtitle before using the script and after

after

there are minor bugs need to be sorted out , but for the time being I'm more than satisfied =) ,
how to use the script:
the .srt Arabic subtitle file encoding has to be converted to utf-8 (most available on subscene.com use windows-1256 encoding)
in linux i convert them using this command , but you can use subtitle workshop to change the encdoing as well...
iconv -f windows-1256 -t utf-8 "old(windows1256).srt" > "new(utf8).srt";
once the srt file is ready, use the provided perl script in the attachments
perl filehandle3.pl $new.srt >ps3_new.srt;
you can try opening the files in any subtitle editor app to make sure they are well formatted and valid ...
now you can enjoy watching your media files with proper Arabic subtitles using ps3showtime

Thank you


Replies (16)

RE: Arabic subtitles support on Ps3showtime - Added by Fadi Amro over 8 years ago

we are windows users , Can you help us more ???

I convert .srt file to utf8 , and download the perl scripit , then what >>>>

how to use perl script ?????
please help and thanks for your great work

RE: Arabic subtitles support on Ps3showtime - Added by jaffar alsaffar over 8 years ago

you are most welcome bro..
unfortunately I don't have Windows on my PC, but I think you should install either ActiveState or Strawberry to be able to run Perl scripts
there are many well-illustrated how-to guides that will help you..
here is one ..
http://www.youtube.com/watch?v=5LM_Mta4hFo&feature=related
one more thing, you HAVE to replace the font PS3 showtime uses with a font that supports Arabic Glyphs
you can refer to my blog for more updated script ,
https://sites.google.com/site/abjdiaty/home/ps3_friendly_arabic_subs_converter

Thank you ...

RE: Arabic subtitles support on Ps3showtime - Added by Fadi Amro over 8 years ago

Thanks for your help

when I used the files in your example the subtitle is the same not correct???

RE: Arabic subtitles support on Ps3showtime - Added by jaffar alsaffar over 8 years ago

how come, did you follow all the steps carefully? could you post a screen shot ?

RE: Arabic subtitles support on Ps3showtime - Added by Fadi Amro over 8 years ago

I just use the subtitle files in attachment , and put it in the same folder and the same name.
is sample files read for use ????

RE: Arabic subtitles support on Ps3showtime - Added by Fadi Amro over 8 years ago

Dear Jaffar:
I made some progress , I install Perl in windows , and change the srt file to utf8 .

but I need your help more please :
in your command (perl filehandle3.pl $new.srt >ps3_new.srt;)

1- is the filehandle3.pl = the script in your attachment ???
2- when I use the command , the result is : (no such file or directory at filehandle3.pl line 4)

Thanks

RE: Arabic subtitles support on Ps3showtime - Added by jaffar alsaffar over 8 years ago

that's good to know,
yeah regarding your quesion, that's right, the filehandle3.pl stands for the "perl script file name" , i should have written ps3_friendly_arabic_subs_converter.pl , but i think it's obvious, anyway
I tried the script on Windows 7, it worked fine, no errors.
the command was the same:
perl ps3_friendly_arabic_subs_converter.pl new.srt >ps3_new.srt
make sure you copy the command and replace new.srt and ps3_new.srt with your files names
then open the ps3_new.srt with subtitle workshop or any other subtitle editor, re-save and that's it
hopes it works well w/ you...

RE: Arabic subtitles support on Ps3showtime - Added by Ahmed Zahrani over 8 years ago

hi to all
windows user try convert patch from attachment
اخوي جعفر هذا الباتش اهداء لك ويعمل على الاكسبي

convert.bat (64 Bytes)

RE: Arabic subtitles support on Ps3showtime - Added by Ahmed Zahrani over 8 years ago

can you make xml converter

RE: Arabic subtitles support on Ps3showtime - Added by yaser bakeer over 8 years ago

can u elaborate how to get microsoft tahoma font and how to replace it in ps3?

RE: Arabic subtitles support on Ps3showtime - Added by jaffar alsaffar over 8 years ago

@Yaser bakeer, well, since i use Ps3showtime complied to be integrated within Multiman, i replace the showtime.ttf in this path [/dev_hdd0/game/BLES80608/USRDIR/fonts/system/showtime.ttf] with any font that supports Arabic properly, after renaming it of course.

RE: Arabic subtitles support on Ps3showtime - Added by yaser bakeer over 8 years ago

Worked like a charm !! Amazing thnx for your great work :)

RE: Arabic subtitles support on Ps3showtime - Added by Mahmoud Ziada over 7 years ago

Thank you Jaffar for posting but you should tell people that you found this solution online which was made by abjdiat not that you made it.

http://abjdiaty.blogspot.com/2012/01/ps3-friendly-arabic-subs-converter.html

RE: Arabic subtitles support on Ps3showtime - Added by Mahmoud Ziada over 7 years ago

and to run the script it's easier to do it that way:
cmd>perl script.pl sub.srt

example

cmd>perl ps3_friendly_arabic_subs_converter Love.and.Death.srt

and it will create new file the same name as your subtitle with subtitle_ps3.srt

RE: Arabic subtitles support on Ps3showtime - Added by jaffar alsaffar over 7 years ago

Mahmoud Ziada wrote:

Thank you Jaffar for posting but you should tell people that you found this solution online which was made by abjdiat not that you made it.

http://abjdiaty.blogspot.com/2012/01/ps3-friendly-arabic-subs-converter.html

this is hilarious , hey buddy , I'm the same guy, and abjdiaty.blogspot.com is my blog along with https://sites.google.com/site/abjdiaty/ , i guess you have to check twice before accusing me of stealing my own script =) ... thank you...

RE: Arabic subtitles support on Ps3showtime - Added by Mahmoud Ziada over 7 years ago

jaffar alsaffar wrote:

Mahmoud Ziada wrote:

Thank you Jaffar for posting but you should tell people that you found this solution online which was made by abjdiat not that you made it.

http://abjdiaty.blogspot.com/2012/01/ps3-friendly-arabic-subs-converter.html

this is hilarious , hey buddy , I'm the same guy, and abjdiaty.blogspot.com is my blog along with https://sites.google.com/site/abjdiaty/ , i guess you have to check twice before accusing me of stealing my own script =) ... thank you...

That's funny man :) sorry I didn't know you are the same person your name on the blog is abjdiat and here is Jaffar, so how would I know you need to be more obvious :P
anyway I was just protecting your right of that script.

(1-16/16)