View Full Version : [ubuntu] smplayer - flipped subtitles
Spitted
June 7th, 2012, 09:25 PM
Hello
I'm trying to watch a video with hebrew subtitles on smplayer.
I have fribidi compiled into mplayer.
Watching the movie with the command:
mplayer -flip-hebrew -sub subfile.srt videofile.mkvworks great!
But on smplayer the hebrew subtitles are always flipped.
I tried putting -flip-hebrew on Prefrences -> Advanced -> Options for MPlayer -> Options
But still doesn't work...
What can I do?
Thank you
andrew.46
June 8th, 2012, 12:05 AM
Do you have a link to a sample video so I can experiment?
Spitted
June 8th, 2012, 05:44 AM
It happens with every video file and every .srt file
andrew.46
June 8th, 2012, 06:31 AM
Hmmm.... I must apologise as I am obviously a few steps behind you as I cannot get hebrew subtitle display at all with MPlayer :(. Can you tell me how you achieved this? And hopefully I can work on the flipping with SMPlayer :).
shantiq
June 8th, 2012, 10:25 AM
ok so had a play with Hebrew sub and the only problem was when downloading one on
my computer. it shows as this [some of this might answer your question Andrew]
5
00:01:28,140 --> 00:01:29,540
.לעזאזל
6
00:01:31,340 --> 00:01:32,500
?היכן הוא
7
00:01:34,300 --> 00:01:35,940
.אני צריך לזוז
8
00:01:44,900 --> 00:01:52,340
- אושן 13 -
9
00:02:09,900 --> 00:02:14,580
מה החדשות? -שום דבר, הם
.אומרים שה-24 שעות... -נכון
this is easily corrected by going to Libre Office and opening as Hebrew.
219392
Then cut and paste into original text editor then you have this
00:01:28,140 --> 00:01:29,540
.לעזאזל
6
00:01:31,340 --> 00:01:32,500
?היכן הוא
7
00:01:34,300 --> 00:01:35,940
.אני צריך לזוז
8
00:01:44,900 --> 00:01:52,340
- אושן 13 -
9
00:02:09,900 --> 00:02:14,580
מה החדשות? -שום דבר, הם
.אומרים שה-24 שעות... -נכון but of course written on the right of the page.
Site here shows it on the wrong side when i paste but no bother it is fine in the original text editor
SMplayer was happy. had to set to Hebrew see below and see times and script match and not flipped
219389
also happy on vlc [i used random video here so no worries :::]]]
219390
================================================== ================
Spitted I would suggest save the file that is giving you a problem as a new file and to make sure the codes are right in the save . I use Mousepad but i guess any text editor will do same
Hebrew seems to be ISO-8859-8
i attach one converted with Libre office as attach [does not matter which film it is for just for trial]
If you know all this already sorry for wasting your time.... it might be something else altogether... all i can say is that it is working as should on SMplayer here so it might be your srt file that is the problem in this case [or not :]]
maybe try saving as one as all three choices here see if one of them works better
1. Open your existing srt in Libre Office in each of 3 options then copy and paste into text editor and save
If saved in LibreOffice directly it does not usually work as it becomes a mere text file and no longer an srt in my experience.
219392
Spitted
June 8th, 2012, 10:22 PM
Maybe I should have clarified that the .srt files are just fine. They work with both mplayer and totem, just smplayer is causing problems.
Here is what I get when I use the .srt file you attached to your message:
http://i.imgur.com/Qz0F3.jpg
As you can see, the subtitle text is flipped...
andrew.46
June 8th, 2012, 11:20 PM
I am having no great luck with Hebrew but perhaps SMPlayer respects MPlayer configuration, in which case place the following in your ~/.mplayer/config:
flip-hebrew=yes
It will save some commandline line typing for MPlayer anyway :).
Spitted
June 9th, 2012, 09:09 AM
I have already tried that also, no luck...
What I can't understand is - MPlayer works just fine, so if SMPlayer uses it directly, why are the results different?
It is obvious SMPlayer doesn't disregard the mplayer options I give him (giving -nosound works, for example) - the only option that is being disregarded is -flip-hebrew :(
andrew.46
June 9th, 2012, 01:07 PM
In the SMPlayer subtitle preferences try unchecking 'Freetype Support'.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.