[7. June 2013] Youporn available now | [19. April 2013] A-400 Advanced Network Setup | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 4 Guest(s)
Post Reply 
.srt wont play! problem fixed!
03-03-2011, 01:32 PM
Post: #1
Wink .srt wont play! problem fixed!
I was having issues with subtitles not working on the A-100. they were all .srt's, all properly named but some worked while others did not. I made sure they were in the same directory. I made sure they were named EXACTLY the same as the movie file, capitalization and all. I looked at the files in notepad, but couldn't see any problems. Compared them with working ones, still couldn't figure it out!!

I searched off and on for days (WEEKS!!) trying to figure it out.
Then I came across this thread:

http://www.networkedmediatank.com/showth...?tid=29027

Particularly this post by "Popcornia"

Quote:The problem was that the subtitle SRT file was Unicode encoded, and seemingly the Popcorn Hour cannot handle this, but rather only ASCII/ANSI encoded text!

Second, here is the procedure to "fix" (i.e. convert to non-Unicode) your Unicode subtitle files so that the Popcorn Hour can play them (this will of course only work fully if the subtitles don't really contain any non-ASCII characters to begin with):

In Notepad:
-----------
1. Open the SRT file in Notepad.
2. Select "Save as"
3. In the save dialog, set the type to "All files" (important), and select the SRT file that is currently open (i.e. same file name).
4. In the "Encoding" drop down, select "ANSI".
5. Press "Save", and you're done!

In Notepad++:
--------------
1. Open the SRT file in Notepad++.
2. From the "Format" menu, select "Convert to ANSI".
3. From the file menu, select "Save", and you're done!

I found out I could easily check the file by opening in notepad, selecting save as, and if the encoding box said unicode, bingo!

Now I didn't want to check each file so I searched for a unicode to ansi converter and came across this thread:

http://www.autoitscript.com/forum/topic/...onversion/

Quote:Micha1405
Advanced Member
Posted 11 December 2005 - 08:41 PM

Hello,
this little CMD File can convert all files you want. The sample is for registry files Smile

@Echo Off
echo UniCode to ANSI converter for Registry files.
md ~ANSI
for %%a in (*.reg *.?reg?) do type "%%a">"~ANSI\%%a"
for %%a in (*.reg *.?reg?) do attrib -r -h -s "%%a"
cd ~ANSI
for %%a in (*.reg *.?reg?) do move /y "%%a" ..
cd..
rd ~ANSI

A quick tweak for .srt instead of .reg files:

Code:
@ECHO OFF
echo UniCode to ANSI converter for .SRT subtitle files.
md ~ANSI
for %%a in (*.srt *.?srt?) do type "%%a">"~ANSI\%%a"
for %%a in (*.srt *.?srt?) do attrib -r -h -s "%%a"
cd ~ANSI
for %%a in (*.srt *.?srt?) do move /y "%%a" ..
cd..
rd ~ANSI

saved in notepad as "subfix.cmd"

now I copied this cmd file in my movie directory, ran it (double click like any other shortcut/program) and poof! all my srt's were fixed!! (and smaller than their unicode counterparts as well!)

(btw, if doing over a lan, map the drive or it wont work)

I don't know how to make it do sub directories and such, but it's tiny so I just copied it to each directory with problematic srts, and ran it in each.. is quite quick as it's basically copying the srt to a new folder (using windows type command, wich sends ascii? output) and then copying it back over the original!

I now have it in my default download folder so when I download srt's I run subfix before moving them over to the movie folder(s). Smile

Hope this can help someone else... Had I not found Popcornia's post, i'd probably still be searching for an answer...
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 3 users say Thank You to dsob for this post
04-18-2011, 01:11 PM
Post: #2
RE: .srt wont play! problem fixed!
For me I have loaded UTF8 encoded chinese Big5 .srt (external) or internal mkv with no problem. It does not have to be ANSI
Find all posts by this user
Add Thank You Quote this message in a reply
10-23-2011, 10:50 PM
Post: #3
RE: .srt wont play! problem fixed!
Thankyou this worked a treat
Find all posts by this user
Add Thank You Quote this message in a reply
10-27-2011, 10:53 PM
Post: #4
RE: .srt wont play! problem fixed!
(03-03-2011 01:32 PM)dsob Wrote:  I was having issues with subtitles not working on the A-100. they were all .srt's, all properly named but some worked while others did not. I made sure they were in the same directory. I made sure they were named EXACTLY the same as the movie file, capitalization and all. I looked at the files in notepad, but couldn't see any problems. Compared them with working ones, still couldn't figure it out!!

I searched off and on for days (WEEKS!!) trying to figure it out.
Then I came across this thread:

http://www.networkedmediatank.com/showth...?tid=29027

Particularly this post by "Popcornia"

Quote:The problem was that the subtitle SRT file was Unicode encoded, and seemingly the Popcorn Hour cannot handle this, but rather only ASCII/ANSI encoded text!

Second, here is the procedure to "fix" (i.e. convert to non-Unicode) your Unicode subtitle files so that the Popcorn Hour can play them (this will of course only work fully if the subtitles don't really contain any non-ASCII characters to begin with):

In Notepad:
-----------
1. Open the SRT file in Notepad.
2. Select "Save as"
3. In the save dialog, set the type to "All files" (important), and select the SRT file that is currently open (i.e. same file name).
4. In the "Encoding" drop down, select "ANSI".
5. Press "Save", and you're done!

In Notepad++:
--------------
1. Open the SRT file in Notepad++.
2. From the "Format" menu, select "Convert to ANSI".
3. From the file menu, select "Save", and you're done!

I found out I could easily check the file by opening in notepad, selecting save as, and if the encoding box said unicode, bingo!

Now I didn't want to check each file so I searched for a unicode to ansi converter and came across this thread:

http://www.autoitscript.com/forum/topic/...onversion/

Quote:Micha1405
Advanced Member
Posted 11 December 2005 - 08:41 PM

Hello,
this little CMD File can convert all files you want. The sample is for registry files Smile

@Echo Off
echo UniCode to ANSI converter for Registry files.
md ~ANSI
for %%a in (*.reg *.?reg?) do type "%%a">"~ANSI\%%a"
for %%a in (*.reg *.?reg?) do attrib -r -h -s "%%a"
cd ~ANSI
for %%a in (*.reg *.?reg?) do move /y "%%a" ..
cd..
rd ~ANSI

A quick tweak for .srt instead of .reg files:

Code:
@ECHO OFF
echo UniCode to ANSI converter for .SRT subtitle files.
md ~ANSI
for %%a in (*.srt *.?srt?) do type "%%a">"~ANSI\%%a"
for %%a in (*.srt *.?srt?) do attrib -r -h -s "%%a"
cd ~ANSI
for %%a in (*.srt *.?srt?) do move /y "%%a" ..
cd..
rd ~ANSI

saved in notepad as "subfix.cmd"

now I copied this cmd file in my movie directory, ran it (double click like any other shortcut/program) and poof! all my srt's were fixed!! (and smaller than their unicode counterparts as well!)

(btw, if doing over a lan, map the drive or it wont work)

I don't know how to make it do sub directories and such, but it's tiny so I just copied it to each directory with problematic srts, and ran it in each.. is quite quick as it's basically copying the srt to a new folder (using windows type command, wich sends ascii? output) and then copying it back over the original!

I now have it in my default download folder so when I download srt's I run subfix before moving them over to the movie folder(s). Smile

Hope this can help someone else... Had I not found Popcornia's post, i'd probably still be searching for an answer...

Thank you thank you thank you!!!!!!!! :-)
Find all posts by this user
Add Thank You Quote this message in a reply
08-07-2012, 08:05 AM
Post: #5
RE: .srt wont play! problem fixed!
Further to this and after reading and checking my files as above....(they were already ANSI) I found the following was the simple fix required.

- On your pop­corn hour go to Setup menu, under sub­ti­tles change the lan­guage to Eng­lish (Or any lan­guage, but not NONE), this will make sure the sub­ti­tles always run when you load a movie in your selected language.
Find all posts by this user
Add Thank You Quote this message in a reply
12-25-2012, 10:08 AM
Post: #6
RE: .srt wont play! problem fixed!
I knew this from before, but the other thing is - why don't we have normal choice of all srt files to load? Why does it have to be same named?

I am having issues when we are using three languages subs - english, Croatian and Italian.
I have to rename files for these, and I'd prefer to just select that.

Shouldn't be such a hard problem, should it?
Find all posts by this user
Add Thank You Quote this message in a reply
12-30-2012, 06:58 PM
Post: #7
RE: .srt wont play! problem fixed!
Yes, works fine, thx.

Spanish NMT User
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [AUDIO] Noise at beginning of file play Iggy 0 503 01-23-2013 06:53 PM
Last Post: Iggy
  Should the A110 be able to play ts files with DTS HD MA audio? lchiu7 7 3,236 10-22-2012 10:59 PM
Last Post: lchiu7
  [AUDIO] PCH-A110 not playing audio on some files! Codec problem? flateric 30 9,946 08-31-2012 08:09 PM
Last Post: rozroz
  [Subtitles] not showing external srt when mkv has internal subs theone 3 2,176 06-18-2012 06:49 AM
Last Post: leighv
  MP3 stops playing after a few songs or sometimes does not play at all jongem 35 11,607 05-12-2012 10:21 AM
Last Post: matlaff
  audio does not play on files... stanross 1 1,348 02-23-2012 05:40 PM
Last Post: halfelite
  Want to "remote play" music on A100 to my stereo receiver RedFarmer 4 1,563 02-02-2012 06:22 PM
Last Post: genuk
  Very strange subtitle problem. McJe 1 1,231 01-21-2012 07:39 AM
Last Post: halfelite
  Audio Sync Problem with C-200 GrabbaTheButt 0 790 12-06-2011 09:07 PM
Last Post: GrabbaTheButt
  [SUBTITLE] Can I play *.sub subtitles on my PCH-A110? stone28 5 3,514 12-06-2011 09:44 AM
Last Post: stone28

Forum Jump: