Hi all,
I have a problem in handling files through C.
here is the problem im having:
i will query the database (for instance consider employees table )
for empno,ename,job,salary fields.The query returns me some 100 of rows. now i need to place them in a file in row wise pattern as they... (3 Replies)
Hi all,
I got a little issue here. Imagine that I have more than one process accessing one file. Is it possible to know which process(es) are accessing that file when I open the file??
Thanks for the help.
Best regards,
Ernesto (2 Replies)
Hi,
I have a log file which runs into 3 to 5 GB.
We store this typically for 6 months. When a new month starts we move the previous month into a 9 month back up log (file.9m) and delete the last month of the 9 month back up.
Iam using awk to find the data and cat to join the files like... (3 Replies)
sir i have to get first line from a file
for example
>cat file1
abc
zxc
asd
adsf
from that file1 i need only first line
expected result
>abc
please help me ! (1 Reply)
my input for a script is another csv file
but in that file say 7 lines are there ...
how can i get line by line to that input
for example :
>cat link.csv
www.yahoo.com,yahoo
www.google.com,google
www.unix.com,unix
another file
in that file i need to ping the above links
... (2 Replies)
I have been doing automation of daily check activity for a server, i have been using sqls to retrive the data and while loop for reading the data from the file for several activities. BUT i got a show stopper the below one.. where the data is getting store in $temp_file, but not being read by while... (1 Reply)
$# some text
$$ some text
$@ some text
$$. some text
Mg1 some text
Mg2 some text
.
.
.
Mg10 some text
The above 10 lines are to be extracted except the lines starting from $#,$$.,... (4 Replies)
Specifically on RHEL 5.7.
When does the underlying ksh process open and close files? Every time they're accessed, or as little as possible?
Say you have some script like:
CreateFiles()
{
grep "<VALUE1>" ${infile} >> ${outfile}
grep "<VALUE2>" ${infile} >> ${outfile}
...... (4 Replies)
I have a file
1
298167
298168
1093209
1093210
1422663
I want to write a code where in I want to read contents of above file
like first read is 1
second read is 298167
Substract second read from first and if this is greater than or less than 99,999.
Similarly I want to traverse thru... (3 Replies)
Hi All,
I need to extract the data from the text file. The data of the text file is shown below
#L 0.000017 4.329939 0.000017 4.716267 r7.9 P 1 1;Net=IN32
The extracted data should be IN32. Could anyone help to script in c shell.? (4 Replies)
Discussion started by: gopishrine
4 Replies
LEARN ABOUT DEBIAN
oggcut
OGGCUT(1) User Manuals OGGCUT(1)NAME
oggCut - extracts parts of an ogg file (.ogv, .ogg and .oga)
SYNOPSIS
oggCut [options] inputfile outputfile
DESCRIPTION
oggCut creates a new ogg file named outputfile as a subpart of the original file named inputfile
oggCut is able to cut video (theora) only files, audio (vorbis) only files or files with both video and audio streams.
The start and end time for the cut area must be given in milliseconds with the options -s and -e.
As a video stream consists of I-frames (which are full pictures) and P-frames (which are delta pictures to the leading I-frame) the oggCut
algorithm searches for the first I-frame. If a video file would start with a p-frame, the player is not able to interpret this picture, as
the leading I-frame (on where it is based) is not available. oggCut starts the I-frame search at the start time given by the -s option. So
expect a shorter video time than the calculated seconds for the new file.
oggCut does not do any reencoding, therefore the output quality is completely the same as from the input file.
For those involved into the ogg container format: The file is cut on packet basis, not on page basis.
There is another tool called oggCut out in the internet with a different synopis. This one has not been written by the author of this tool
you are actually using.
OPTIONS -s Cut start position in ms. If the input file is a video file, the cut area starts with the next keyframe found. Default: 0
Example: -s 5000
-l Length of the cut area in ms. If -e is also given, the length is ignored.
Example: -l 10000
-e Cut end position in ms. If -l is also used, the end position is prefered. If the end position is set to -1, the end of the stream is
assumed.
Default: -1
Example: -e 20000
EXAMPLE
oggCut -s 1000 -e 21000 myVideo.ogv myOutput.ogv
Creates a new video called myOutput.ogv from the video myVideo.ogv starting after 1 second ending after 21 seconds
AUTHOR
Joern Seger <yorn at gmx dot net>
SEE ALSO oggCat(1), oggJoin(1), oggSplit(1), oggTranscode(1), oggSlideshow(1), oggThumb(1), oggSilence(1)Linux JAN 2010 OGGCUT(1)