Announcement: Our new CyberLink Feedback Forum has arrived! Please transfer to our new forum to provide your feedback or to start a new discussion. The content on this CyberLink Community forum is now read only, but will continue to be available as a user resource. Thanks!
CyberLink Community Forum
where the experts meet
| Advanced Search >
Creating subtitle text fiile in Notepad
James1
Senior Contributor Location: Surrey, B.C., Canada Joined: Jun 10, 2010 16:20 Messages: 1783 Offline
[Post New]
Hi,
What is the Character length when creating a text file to use as "subtitles" and import feature? Also what format is it saved as ie. Ansi, windows character or rtf?
JimM Intel i7-2600@3.4Gz Geforce 560ti-1GB Graphic accelerator, windows 7 Premium 12GB memory

Visit GranPapa64's channel for your YouTube experience of the day!
vn800rider
Senior Contributor Location: Darwen, UK Joined: May 15, 2008 04:32 Messages: 1949 Offline
[Post New]
I am unaware of any restriction on the total character length in a subtitle .txt file.
Each individual sub-title size will probably be limited by the screen layout, font choice and size etc.
A member's recent .srt file contained 15,637 words and 132,403 characters and 1573 individual sub-titles.

I believe the Ansi format works fine.

Cheers
Adrian Life is really simple, but we insist on making it complicated. (see below)
Confucius
AMD Phenom IIX6 1055T, win10, 5 internal drives, 7 usb drives, struggling power supply.
Pax 123 [Avatar]
Senior Member Location: Miami, Florida Joined: Feb 25, 2010 06:35 Messages: 282 Offline
[Post New]
Hi James,

I may not understand the issue you are dealing with, but when using note pad, save the text as a .txt file (as Adrian pointed out). Using Word wrap will set margins for you. One can display the text in PD9 in various ways, horizontally and vertically, scrolling or simply displayed. This is done in PD9, after the text is imported for use as a sub-title. Creation of sub-titles is covered in the help files, including importation.

I realize you may have no need for this information, but just thought I would add it to the thread in case someone with less experience than you might read it.

Regards,

Pax Laptop PC, ASUS
Core i7 Q 720
Win 7, 64-bit
RAM 8GB DDR2
Graphics, NVIDIA GeForce GTS 360M 1GB DDR5
James1
Senior Contributor Location: Surrey, B.C., Canada Joined: Jun 10, 2010 16:20 Messages: 1783 Offline
[Post New]
Hi Adria and Pax,
thanks just curious about that I created a text file to experiment and imported it and only one line of text showed! My text file was only three lines long.
I will search the help files (done previously but didn't get an answer as to the txt file formats).
JimM Intel i7-2600@3.4Gz Geforce 560ti-1GB Graphic accelerator, windows 7 Premium 12GB memory

Visit GranPapa64's channel for your YouTube experience of the day!
JL_JL [Avatar]
Senior Contributor Location: Arizona, USA Joined: Oct 01, 2006 20:01 Messages: 6091 Offline
[Post New]
Your file should look something like this:

1
00:00:11,711 --> 00:00:13,879
[SUBTITLE 1 TEXT]

2
00:00:52,752 --> 00:00:54,920
[SUBTITLE 2 TEXT]

Obviously you need to have your own correct timecode. So 3 lines would make 1 subtitle. Not sure what your 3 lines were.

Jeff
vn800rider
Senior Contributor Location: Darwen, UK Joined: May 15, 2008 04:32 Messages: 1949 Offline
[Post New]
Jim,
You might like to view this tutorial on the DZ.

http://directorzone.cyberlink.com/tutorial/pdr/434&pageIndex=1

Cheers
Adrian Life is really simple, but we insist on making it complicated. (see below)
Confucius
AMD Phenom IIX6 1055T, win10, 5 internal drives, 7 usb drives, struggling power supply.
James1
Senior Contributor Location: Surrey, B.C., Canada Joined: Jun 10, 2010 16:20 Messages: 1783 Offline
[Post New]
thanks all off to view video...and hopefully remember the sequences LOL
JIm Intel i7-2600@3.4Gz Geforce 560ti-1GB Graphic accelerator, windows 7 Premium 12GB memory

Visit GranPapa64's channel for your YouTube experience of the day!
CubbyHouseFilms
Senior Contributor Location: Melbourne, Australia Joined: Jul 14, 2009 04:23 Messages: 2208 Offline
[Post New]
Hi James1

When copying large amounts of text from an outside program (Word - Note Pad - IE etc) and with PD open in minimal screen. Hightlight - copy and use control V to paste into open title box. Happing editing

Best Regards

Neil
CubbyHouseFilms

My Youtube Channel
My Vimeo Channel
PD3.5, 5, 6 & 7. Computer: Dell Dimension 5150, Intel Pen. 2.80 GHz, 2GB RAM, NVIDIA GeForce 8600GT 256MB, Windows XP Pro!!
PD8 Ultra v3022. Computer: Dell Studio 1747, Intel, i7 Q740 1.73 GHz, 8GB RAM, ATI Mob. Radeon HD 560v 1GB, Windows 7 Ult. 64
PD10 Ultra v2023. Computer: HP Pavilion dv7, Intel, i7 2630 2.00 GHz, 8GB RAM, ATI Mob. Radeon HD 6770 2GB, Windows 7 Pre. 64
PD12 Ultra v2930. Computer: HP Pavilion dv7, Intel, i7 2630 2.00 GHz, 8GB RAM, ATI Mob. Radeon HD 6770 2GB, Windows 7 Pre. 64
PD13 Ultim v3516. Computer: HP Pavilion dv7, Intel, i7 2630 2.00 GHz, 8GB RAM, ATI Mob. Radeon HD 6770 2GB, Windows 7 Pre. 64
PD16 Live v2101 Computer: HP Pavilion dv7, Intel, i7 2630 2.00 GHz, 16GB RAM, ATI Mob.Radeon HD 6770 2GB, Windows 7 Pre. 64
Director Suite 6: PowerDirector 16 Live, PhotoDirector 9, ColorDirector 6, AudioDirector 8

Cameras: Sony(s) HXR-NX5P, HXR-NX70P, NEX-VG10E, a6300 4k, HDR TG5E, GoPro 4 Black, Canon 6D DSLR

Visit PDtoots. PowerDirector Tutorials, tips, free resources & more. Subscribe!
Full linked Tutorial Catalog
- PDtoots happily supports fellow PowerDirector users!

Carl312
Senior Contributor Location: Texas, USA Joined: Mar 16, 2010 20:11 Messages: 9090 Offline
[Post New]
FYI,

The standard for Subtitles:
Subtitles are limited to 32 characters per line.

JL_JL, your subtitle format is called .SRT.
You have the time codes included.

You can have just the lines of text in a .txt file.

But you do have to do the markers where the text is supposed to appear in the video timeline.

This message was edited 1 time. Last update was at Dec 30. 2010 00:17

Carl312: Windows 10 64-bit 8 GB RAM,AMD Phenom II X4 965 3.4 GHz,ATI Radeon HD 5770 1GB,240GB SSD,two 1TB HDs.

James1
Senior Contributor Location: Surrey, B.C., Canada Joined: Jun 10, 2010 16:20 Messages: 1783 Offline
[Post New]
Thanks Carl,
got it solved I hope.
Jim Intel i7-2600@3.4Gz Geforce 560ti-1GB Graphic accelerator, windows 7 Premium 12GB memory

Visit GranPapa64's channel for your YouTube experience of the day!
JL_JL [Avatar]
Senior Contributor Location: Arizona, USA Joined: Oct 01, 2006 20:01 Messages: 6091 Offline
[Post New]
Quote: JL_JL, your subtitle format is called .SRT.
You have the time codes included.

Thanks Carl312, well aware of that.


Quote: The standard for Subtitles:
Subtitles are limited to 32 characters per line.

Limit is much more than that, attached pic has 80 characters. I don't know what the limit is, Adrian indicated probably just screen layout.

Jeff

[Thumb - subtitle.jpg]
 Filename
subtitle.jpg
[Disk]
 Description
At least 80 characters
 Filesize
325 Kbytes
 Downloaded:
322 time(s)
Carl312
Senior Contributor Location: Texas, USA Joined: Mar 16, 2010 20:11 Messages: 9090 Offline
[Post New]
Limit is much more than that, attached pic has 80 characters. I don't know what the limit is, Adrian indicated probably just screen layout.


You are showing a 16:9 screen, yes, it is wider than the standard 4:3 720 pixels that the 32 character limit was imposed.

Higher res, wider screen will fit more on the line, but what happens to the subtitle when viewed on a SD 4:3 TV?

Do you remember the early days of computers when the screen was 640x480? The max characters you could clearly see was 32. There were 80 character screens, but the text was hard to read.
Carl312: Windows 10 64-bit 8 GB RAM,AMD Phenom II X4 965 3.4 GHz,ATI Radeon HD 5770 1GB,240GB SSD,two 1TB HDs.

JL_JL [Avatar]
Senior Contributor Location: Arizona, USA Joined: Oct 01, 2006 20:01 Messages: 6091 Offline
[Post New]
Quote: Higher res, wider screen will fit more on the line, but what happens to the subtitle when viewed on a SD 4:3 TV?
80 characters can fit just fine and play just fine on my 4:3 CRT TV.

Quote: Do you remember the early days of computers when the screen was 640x480?
Sure but things have moved on. VolksWriter no longer the premier word processor either. I guess we could do subtitles in the original "Line 21 Character Set" one byte hex like.
50 6F 77 65 72 44 69 72 65 63 74 6F 72 for "PowerDirector" but that's not very relevant to todays editors either. That's why all should be happy with video edit codes like PD, even though they are a little buggy now and then.

Jeff
Carl312
Senior Contributor Location: Texas, USA Joined: Mar 16, 2010 20:11 Messages: 9090 Offline
[Post New]
I agree, Jeff.

PowerDirector, Yep, you got the Hex correct.

"Line 21 Character Set" is two bytes per field, but only the first field is normally used.

Also thanks for CCextractor Version .54, extracting closed captions from a DVD is easier. CCextractor makes an .srt file ready to import into PowerDirector for subtitles. Carl312: Windows 10 64-bit 8 GB RAM,AMD Phenom II X4 965 3.4 GHz,ATI Radeon HD 5770 1GB,240GB SSD,two 1TB HDs.

Powered by JForum 2.1.8 © JForum Team