PDA

View Full Version : player can't read .srt files burned in linux


starcycle
2nd July 2007, 03:52
i wasn't sure whether to put this in linux or subtitles forum, but since it's specifically about subtitles, i thought someone here might have the answer.

the problem is that my dvd player (dvp-642) can't read .srt files that i burn in linux. i've tried saving them as iso-8859-1 (and -15) CR, LF, and CR + LF, as well as all those options with UTF-8, but nothing works. i always have to boot up windows and save the .srt file as an ms-dos text file in windoze notepad, and then the dvd player can read it.

does anyone have a solution for this? it is very annoying having to boot up windows all the time just to open a file in notepad and save it. appreciate any help, thanks.

setarip_old
2nd July 2007, 04:34
Hi!

Try converting them to .SSA ...

You might also find this thread useful:

http://forums.afterdawn.com/thread_view.cfm/144735

starcycle
16th July 2007, 00:55
Hi!

Try converting them to .SSA ...

You might also find this thread useful:

http://forums.afterdawn.com/thread_view.cfm/144735



Thanks - I tried all those methods in the first post when I first had the problem. I don't think it's the subtitle file itself because all i have to do is save and burn it in windows and it works, whereas the same saved file won't work if I then burn it in linux. I just wondered what the problem is in linux that prevents the player from reading it, but I guess there's no ready answer.

How do you convert to .SSA, btw?

setarip_old
16th July 2007, 02:28
all i have to do is save and burn it in windows and it works, whereas the same saved file won't work if I then burn it in linux..SRT files are simple text files. READ both burned versions and compare for differences...

starcycle
16th July 2007, 03:06
.SRT files are simple text files. READ both burned versions and compare for differences...

i'm not sure i follow you. i have an .srt file, call it subtitles.srt. i open it over the network in windows, and resave it in notepad as subtitles.srt. when i burn it from that location (where i saved it in windows), it works in the player. if i then copy that file back over the network to my linux machine and burn it from linux, it doesn't work. it's the same file, there are no differences in the visible text. :confused:

setarip_old
16th July 2007, 04:56
it's the same file, there are no differences in the visible text.Perhaps you should examine them in a hex editor for differences...

starcycle
16th July 2007, 14:35
how would merely copying it from windows to linux change what's in the file? is there some metadata that changes? :?:

setarip_old
16th July 2007, 15:03
In your inital post, you saidthe problem is that my dvd player (dvp-642) can't read .srt files that i burn in linux. i've tried saving them as iso-8859-1 (and -15) CR, LF, and CR + LF, as well as all those options with UTF-8, but nothing works. i always have to boot up windows and save the .srt file as an ms-dos text file in windoze notepad, and then the dvd player can read it.Therefore, simple logic would dictate that the file generated by Linux is DIFFERENT than the file generated by Windows (for whatever reason - I have no way of knowing).

Therefore, once again, perhaps you should examine them in a hex editor for differences...

starcycle
16th July 2007, 16:45
In your inital post, you saidTherefore, simple logic would dictate that the file generated by Linux is DIFFERENT than the file generated by Windows (for whatever reason - I have no way of knowing).

Therefore, once again, perhaps you should examine them in a hex editor for differences...

sorry, it's not different at all. the point there is that no matter what i save the file as in linux, it doesn't work if it's burned in linux. those files don't work when burned in windows, either. in that case, i think you are right that it has something to do with the encoding, locale, etc. (or whatever it's called), which would probably show up in a hex editor.

but when i take any of those files that don't work in linux and open and resave them in windows, it DOES work, whereas that SAME file that i just saved does not work if i then burn it in linux. the same file. so therefore it obviously has little (in the first case) to nothing (in the second case) to do with the file -- since it's the same file -- and apparently something to do with how linux is burning it.

but the point now is moot anyway, since the player died last night! :p i think it might have overheated, not sure, but when i upgrade i'll test the subs again and see if it was just a quirk of the player.

btw for future ref if you could point me to how to convert to .SSA that would be great. i searched google, but i couldn't locate anything. thanks.

mitsubishi
16th July 2007, 16:56
I don't think many players support SSA anyway. SSA are superior to srt since they include formatting and colour.

Aegisub should work on Linux, although I havn't tried the Linux build myself, but they claim nearly 100%.

http://malakith.net/aegiwiki/Main_Page

Aegisub always saves as ASS (advanced substation alpha), but can export in srt and SSA also.

Dark Shikari
26th July 2007, 10:59
Could it be because of CR LF -> CR conversion? That would explain it not working in Linux.