Sponsored Content
Full Discussion: Synchronizing Subtitle track
Top Forums Shell Programming and Scripting Synchronizing Subtitle track Post 302561315 by ratheeshjulk on Monday 3rd of October 2011 09:40:31 PM
Old 10-03-2011
Synchronizing Subtitle track

Hi,

I have a subtitle track something like this.

Code:
1
00:01:18,700 --> 00:01:20,660
Hi.

2
00:01:27,040 --> 00:01:30,380
-How'd it go?
-Lousy.

3
00:01:30,460 --> 00:01:34,300
Got a '63 Thunderbird
I would've sold in a day a year ago.

4
00:01:34,330 --> 00:01:37,050
Now they just wanna look at the pictures.

5
00:01:37,470 --> 00:01:39,840
You smell nice.

6
00:01:44,140 --> 00:01:45,680
How was your day?

7
00:01:45,890 --> 00:01:47,480
It was great.



I want to add few seconds to the time frame. like 30 seconds
00:01:18,700 --> 00:01:20,660
should become like
00:01:48,700 --> 00:01:50,660

and

00:01:44,140 --> 00:01:45,680
should become like
00:02:14,140 --> 00:02:15,680

and

00:59:44,140 --> 00:59:45,680
should become like
01:00:14,140 --> 01:00:15,680


Can any one please help me
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Regarding Synchronizing 2 CVS.

Hi As a System Admin, I have to handle synchronzing 2 CVS. But I'm new to CVS & hardly have any knowledge of such tools. Please help me, is there any way, that can automatize the process for synchronizing the 2 remotely residing CVS database with out manual intervension. Ex:- CVA... (1 Reply)
Discussion started by: S.Vishwanath
1 Replies

2. Shell Programming and Scripting

Synchronizing files using an input file

Who wants a challenge? ;) I have a Multimedia station (Damn Small Linux) that plays Video files using MPlayer. I'm in desperate need of a Script that would be able to do the following: The Multimedia station should read, at boot or through a cron job, a "Playlist" file on a remote machine.... (1 Reply)
Discussion started by: mkoenders
1 Replies

3. Programming

synchronizing multiple threads in unix

hi all! I wanted to know how to synchronize multiple threads in unix It would be better if someone give some code samples Thanx (1 Reply)
Discussion started by: bankpro
1 Replies

4. UNIX for Dummies Questions & Answers

Possible to track FTP user last login? Last and Finger don't track them.

Like the topic says, does anyone know if it is possible to check to see when an FTP only user has logged in? Because the shell is /bin/false and they are only using FTP to access the system doing a "finger" or "last" it says they have never logged in. Is there a way to see when ftp users log in... (1 Reply)
Discussion started by: LordJezo
1 Replies

5. UNIX for Dummies Questions & Answers

Synchronizing primary and secondary name servers

Hello All, Does some one know how to synchronize the primary name server with the secondary without knowing the domains on which synchronization failed. I have just done /usr/sbin/ndc reload Alternatively how do i find out the domains on which synchronization failed? (4 Replies)
Discussion started by: a2z1982
4 Replies

6. Ubuntu

Synchronizing with HTC Fuze

I have been trying to synchronise my calendar and contacts using Ubuntu and Windows Mobile on my HTC smart phone. I have read who knows how many posts, threads, blogs but still can't get this to work. I have synce installed, when I plug in my phone it recognises the phone, and lets me view... (2 Replies)
Discussion started by: naiku
2 Replies

7. Programming

infinite loop, synchronizing gossip-based method

the following code runs, but it hangs somewhere, i don't know why, #include<iostream> #include<vector> #include<cstdlib> #include<ctime> #include<list> #include<pthread.h> #include<cstring> using namespace std; pthread_mutex_t listlock = PTHREAD_MUTEX_INITIALIZER;... (3 Replies)
Discussion started by: saman_glorious
3 Replies
HD(4)							     Linux Programmer's Manual							     HD(4)

NAME
hd - MFM/IDE hard disk devices DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave hdd. General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi- cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions on an IDE disk. For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the second one. They are typically created by: mknod -m 660 /dev/hda b 3 0 mknod -m 660 /dev/hda1 b 3 1 mknod -m 660 /dev/hda2 b 3 2 ... mknod -m 660 /dev/hda8 b 3 8 mknod -m 660 /dev/hdb b 3 64 mknod -m 660 /dev/hdb1 b 3 65 mknod -m 660 /dev/hdb2 b 3 66 ... mknod -m 660 /dev/hdb8 b 3 72 chown root:disk /dev/hd* FILES
/dev/hd* SEE ALSO
chown(1), mknod(1), sd(4), mount(8) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 1992-12-17 HD(4)
All times are GMT -4. The time now is 10:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy