473,378 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

text converet into srt(subtitle) format

i am having an text file.that includes the continuois stringin 10 lines.after that the timings are next. then how to change that text file into srt file using a c program codes.

and below my text file


141,  米 で 六月 三十 日 、 日本 で は 、 今日 始まっ た Apple の 新しい 音楽配信 サービス 、 Apple 身内 、 で 。 アメリカ で は 月額 九 ドル   九十 九 セント   、 日本 で は 、 九百 八十 円 で 、 すべて の 曲 が 、 ストリーミング によって 聴き 放題 に なり ます   いずれ も 最初 の 三 カ月 間 は 、 無料 で 使用 でき ます 。 定額 制 の 音楽配信 サービス をめぐって は   スウェーデン 発祥 の Spotify が 先行 し て い ます が 、 ここ に き て いる 。 が アップル に 対抗 する 形 で 、 すでに 開始 し て い た サービス を 、 一部 無料 に し た   ほか 、 日本 で も LINE など は   し て いる 。   、 これ まで 音楽 界 に 革命 を 起こし て き た と いわ れる Apple の 際 に   で 、 音楽配信 サービス の 戦国時代 に 突入 し た と 言え そう です 。,0.85 2.05 2.52 2.65 3.07 3.44 3.82 4.18 4.52 4.63 4.79 4.83 5.08 5.6 5.78 6.22 6.36 7.01 7.85 8.5 8.54 9.06 9.42 9.49 9.64 10.85 11.32 11.44 11.58 12.31 12.55 12.83 12.85 13.34 13.59 13.83 14.05 14.57 14.9 14.99 15.12 15.13 15.59 16.08 16.3 16.47 16.5 16.97 17.12 17.42 17.6 17.63 18.38 18.83 19.13 19.53 19.63 19.8 20.09 21.61 21.92 22.05 22.42 22.53 22.79 23.15 23.42 23.64 23.67 24.1 24.22 24.58 24.82 25.1 26.73 27.11 27.28 27.33 28.1 28.56 29.06 29.27 29.3 29.9 30.36 30.55 31.35 31.49 31.92 32.03 32.12 32.18 32.4 32.58 32.85 33.12 33.26 33.36 33.51 33.76 33.95 34.12 34.44 34.63 35.07 35.32 35.71 35.87 36.03 36.46 36.8 36.9 37.01 37.08 37.17 37.71 37.86 37.89 38.3 38.7 38.82 38.93 39.01 39.0 39.32 39.75 40.09 40.18 40.34 40.73 40.97 41.07 41.49 41.6 41.7 41.78 42.82 42.11 43.83 44.05 44.38 44.79 44.97 45.1 45.6 45.73 46.05 46.15 46.27 46.39 46.5 46.73 46.97 47.41 47.52 47.71 47.92 47.98 48.18 48.39 49.31 49.8 49.94 50.84 50.98 51.51 51.63 51.75 51.94 52.17 52.45 52.86,0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,\N
Jul 27 '15 #1
1 1458
donbock
2,426 Expert 2GB
SubRip (.srt) is a text file format.
I suggest you start by manually creating a .srt file from this example and verify that it produces the desired subtitles. This exercise should clarify which portions of the input file need to be extracted and placed where in the output file.
Jul 27 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Lyle A. Sieren | last post by:
Hello! Is there a way to output text in a unix format from vb.net? I am trying to complete a CIM load in Progress and I need the data to be in unix format. I tried using the following code...
0
by: younus | last post by:
Hi Guys I need some help i want to encode arabic text to UCS2 format in asp my text بيسليسلسيس is converted to 0633062C064A06440643002006280646062C0627 this format plese help me this is very...
0
by: younus | last post by:
Hi Guys I need some help i want to encode arabic text to UCS2 format in asp my text بيسليسلسيس is converted to 0633062C064A06440643002006280646062C0627 this format plese help me this is very...
2
DigitalInvertor
by: DigitalInvertor | last post by:
Hi... I have problem with the table format in Rich Text Box. The text and images are fine, but when there is a table in the rtf, problem occures. The cells are fixed dimensions and the text is not...
2
by: praveen1983 | last post by:
Hi al I need a solution for for converting my text to HTML using C# code. for Ex.. if i am entering a some text in a textarea and formatting the text and i want to convert those foramtted text...
1
by: ganesh22 | last post by:
Hi, Iam getting the below error while my application is running on IIS. in my application iam converting a text into word format, so i added some .dll from COM for converting word format ...
9
by: Fred Yu | last post by:
Hi, I want to encode input text into html format such as replace "<" with "&lt", replace "&" with "&amp". Could you give me some ideas? Thanks. Fred
22
by: Chuck Connors | last post by:
Hey guys. I'm working on a little program to help my wife catalog her/ our coupons. I found a good resource but need help formatting the text data so that I can import it into a mysql database....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.