Sponsored Content
Full Discussion: Sequence generator
Top Forums Shell Programming and Scripting Sequence generator Post 302771141 by robert89 on Tuesday 19th of February 2013 06:07:47 PM
Old 02-19-2013
thanks

Thanks guys . This really helped . Thanks a lot .
 

9 More Discussions You Might Find Interesting

1. Cybersecurity

Password Generator

I need a great Password Generator program. I looked at a few of them, but none of them seemed to be what I wanted. So I have decided to write my own. (That's the cool thing about being a programmer....I always get what I want in software :) ) Do you have any password generators that you... (13 Replies)
Discussion started by: Perderabo
13 Replies

2. UNIX for Dummies Questions & Answers

date generator

Is there a command to generate the unix date that is in theshadow file?>? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

3. Shell Programming and Scripting

Range generator

Dear All, I have a sorted file like 1 2 3 8 9 10 45 46 47 78 The output will be range like 1 3 8 10 45 47 78 78 (9 Replies)
Discussion started by: saifurshaon
9 Replies

4. Shell Programming and Scripting

Random Sentence Generator

Hi, I need to create a table with random sentences. I need lines that are upto 1000 characters in lenght. I need a random sentence generator that will create sentences and output it to a text file. The sentences should be of lenght varying from 1 to 1000. Does anyone know how this can be... (7 Replies)
Discussion started by: kaushys
7 Replies

5. What is on Your Mind?

Barcode Generator

QR Code Generator (0 Replies)
Discussion started by: Neo
0 Replies

6. Shell Programming and Scripting

time generator

Hi experts, I'd like to generate the table/file containing: number of milliseconds elapsed since midnight till midnight. It should contain 5 columns (hours minutes seconds milliseconds): Table will have theoretically 86 400 000 rows. My question is , is there somewhere the file or source... (7 Replies)
Discussion started by: hernand
7 Replies

7. Shell Programming and Scripting

find common entries and match the number with long sequence and cut that sequence in output

Hi all, I have a file like this ID 3BP5L_HUMAN Reviewed; 393 AA. AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3; DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot. DT 05-JUL-2004, sequence version 1. DT 05-SEP-2012, entry version 71. FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies

8. Shell Programming and Scripting

Generator script

Hello again unix.com people, I need your help again. I'm currently need a script that will generate ip ranges... lets say from 64.1.1.1 to 74.255.255.255 and the output should be like this: 64.1.1.2 64.1.1.3 ............. ............. 74.255.255.254 74.255.255.255 (line-by-line) ... (7 Replies)
Discussion started by: galford
7 Replies

9. Shell Programming and Scripting

Hostsfile generator

Hello I use a bash script to creating the hosts file /etc/hosts But there is a bug inside my output and I want to fix this. My Array looks like this: 205,IP 111.122.133.20 205,HOST2 unas 205,HOST1 unas15533 205,COMMENT # UNAS 775,IP ... (9 Replies)
Discussion started by: Marti95
9 Replies
mpgtx(1)							    User manual 							  mpgtx(1)

NAME
mpgtx, mpgsplit, mpgcat, mpgjoin, mpginfo, mpgdemux - manipulate mpeg files SYNOPSIS
mpgtx command [ options ] file [ range | file ] ... DESCRIPTION
mpgtx can split and join MPEG files in various ways. Three file types are currently handled (more to come): MPEG 1 Video files, MPEG 1/2 Audio files (mp1, mp2, and mp3), MPEG 1 System files (audio and video files), MPEG 2 Program files (Experimental), MPEG 2 Transport files (demultiplex and info modes only). mpgtx is a GOP (Group of Pictures) based editor. This means that mpgtx cuts MPEG files on a Group Of Picture basis, not on a frame-by-frame basis. A typical GOP duration is about 0.5 sec (approx. 15 frames), limiting the maximum accuracy of mpgtx. COMMANDS
-i prints information about files, such as duration, dimention, bitrate, etc. -j joins files (ranges may be specified, see the RANGES section). -s splits files according to the specified ranges (see the RANGES section). -d demultiplexes composite mpeg file. -T manipulates ID3v1 tags from mp3 files (see tagmp3(1)). -h prints a (not so) short help message. -v prints version and exit. -# where # is a number, splits the given files in # parts. --force enables joining of incompatible files (some players are very robust) --no-parachute prevents mpgtx to try to catch SIGSEGV signal. This is usefull for debugging. In addition, when invoked with the names mpgjoin, mpgcat, mpgsplit, mpgdemux, tagmp3 or mpginfo, mpgtx will modify its behaviour in the following ways: mpginfo behaves as mpgtx -i mpgsplit behaves as mpgtx -s mpgjoin behaves as mpgtx -j mpgcat behaves as mpgtx -j -o - mpgdemux behaves as mpgtx -d tagmp3 behaves as mpgtx -T OPTIONS
-f force overwriting of files, never ask. -Ax Change aspect ratio of mpeg. Valid are 1,2,3,4 for 1:1, 4:3, 16:9, 2.2:1 -P Keep junk or unusual headers in splits -X Desperate mode, search the whole movie for a valid PACK. In addition with Option -N no search infos will be displayed, only end sum- mary. -N Suppress progress output to the console. Speeds up operation a little on most Systems and much on Macintosh OS9. Suppress time line check in mpginfo mode. -b NAME each output file will have the basename NAME -o FILE FILE will be used as the output file (used with the join command). if FILE is -, standard output will be used. RANGES
Each range must follow a filename or another range. A range in an MPEG file can be specified using one of this three notations: Note for OSX Users: Ranges must be enclosed in single or double Quotes! [a-b] from value a inclusive to value b inclusive. If you want half opened ranges, you may want to use ]a-b], [a-b[ or ]a-b[. [n/ntot] the n th part out of ntot. [1/4] would result in the first quarter of the specified file. {a-b-...} with a , b , ... in ascending order. Split specified file at given boundaries. {55M} therefore means from beginnig of file to 55Megs and from 55Megs to the end of file. VALID VALUES
Values of ranges can be specified in seconds or as a byte offset. Time Format HH:MM:SS.SS where the HH: part can be omited Offset Format a number optionally followed by M for Megabytes k for kilobytes Omitted Values An empty value is valid and is equivalent to the corresponding file boundary: [-10M] are the first 10 Megabytes of the file. [1:10:04-] from 1 hour 10 minutes 4 seconds to the end of file. RETURN VALUE
All programs return 0 upon successful completion and 1 on failure. EXAMPLES
mpgjoin movie1.mpg [-0:32] [45M-75M] movie2.mpg -o joined.mpg joined.mpg will contain the first 32 seconds of movie1.mpg followed by 30 Megs of movie1.mpg starting at 45 Megs followed by the whole file movie2.mpg mpgtx -124 myfile.mpg -b output will split myfile.mpg in 124 parts with names output-001.mpg to output-124.mpg mpgtx -i Wazzup.mp3 will print infos about given file such as duration, bitrate, but also album, track, song name if this file has an ID3 tag. mpgcat myfile.mpg [2/2] | lpr will redirect the second half of myfile.mpg to your printer, emptying it from toner and paper and make you be fired by your boss... Use carefully. BUGS
Plenty of them :) GOP (Group of Picture) based: well this is not a bug but it's a limitation. As explained in the DESCRIPTION section, this limits the accu- racy of mpgtx on joins and splits to approximately 15 frames, or 0.5 seconds. Some artifacts can be seen with bad MPEG players playing joined files. These players don't take into account the broken link flag used to discard the first B frames they encounter. This is a bug in their MPEG decoding engine, not mpgtx. AUTHOR
Laurent Alacoque <laureck@users.sourceforge.net> CopyLeft 2001. Modified by Chris Danis <danish@debian.org>, copyleft 2001. Philipp Biermann <philipp@biermann.org>, copyleft 2002. Erik Schanze <schanzi_@gmx.de>, copyleft 2004. Get new releases and information from, and send patches, bugs, girls, money etc. to: http://mpgtx.sourceforge.net/ THANKS
for your attention. Have a good day. Godmar Back and Brent Phillips helped me to tune the command line interface. Volker Moell patiently teach me how to build rpms. Danke Volker. Jean Fransisco Sytem (alias Nicolas Schieli) helped me correct some nasty bugs. Thank you guys. Linux DECEMBER 2004 mpgtx(1)
All times are GMT -4. The time now is 03:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy