Sponsored Content
Top Forums UNIX for Advanced & Expert Users split a video into smaller clips Post 302589014 by cokedude on Tuesday 10th of January 2012 12:57:11 PM
Old 01-10-2012
Quote:
Originally Posted by fpmurphy
The avisplit utility should do what you want. man avisplit for more information.
Any idea where to download it from?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

perl help to split big verilog file into smaller ones for each module

Hi I have a big verilog file with multiple modules. Each module begin with the code word 'module <module-name>(ports,...)' and end with the 'endmodule' keyword. Could you please suggest the best way to split each of these modules into multiple files? Thank you for the help. Example of... (7 Replies)
Discussion started by: return_user
7 Replies

2. Shell Programming and Scripting

Split large file into smaller file

hi Guys i need some help here.. i have a file which has > 800,000 lines in it. I need to split this file into smaller files with 25000 lines each. please help thanks (1 Reply)
Discussion started by: sitaldip
1 Replies

3. Shell Programming and Scripting

How to split a file into smaller files

Hi, I have a big text file with m columns and n rows. The format is like: STF123450001000200030004STF123450005000600070008STF123450009001000110012 STF234560345002208330154STF234590705620600070080STF234567804094562357688 STF356780001000200030004STF356780005000600070080STF356780800094562657687... (2 Replies)
Discussion started by: wintersnow2011
2 Replies

4. Shell Programming and Scripting

KSH: Split String into smaller substrings based on count

KSH HP-SOL-Lin Cannot use xAWK I have several strings that are quite long and i want to break them down into smaller substrings. What I have String = "word1 word2 word3 word4 .....wordx" What I want String1="word1 word2" String2="word 3 word4" String3="word4 word5" Stringx="wordx... (5 Replies)
Discussion started by: nitrobass24
5 Replies

5. Shell Programming and Scripting

Help needed - Split large file into smaller files based on pattern match

Help needed urgently please. I have a large file - a few hundred thousand lines. Sample CP START ACCOUNT 1234556 name 1 CP END ACCOUNT CP START ACCOUNT 2224444 name 1 CP END ACCOUNT CP START ACCOUNT 333344444 name 1 CP END ACCOUNT I need to split this file each time "CP START... (7 Replies)
Discussion started by: frustrated1
7 Replies

6. UNIX for Dummies Questions & Answers

Split large file to smaller fastly

hi , I have a requirement input file: 1 1111111111111 108 1 1111111111111 109 1 1111111111111 109 1 1111111111111 110 1 1111111111111 111 1 1111111111111 111 1 1111111111111 111 1 1111111111111 112 1 1111111111111 112 1 1111111111111 112 The output should be, (19 Replies)
Discussion started by: mechvijays
19 Replies

7. UNIX for Dummies Questions & Answers

Split files into smaller ones with 1000 hierarchies in a single file.

input file: AD,00,--,---,---,---,---,---,---,--,--,--- AM,000,---,---,---,---,---,--- AR, ,---,--,---,--- AA,---,---,---,--- AT,--- AU,---,---,--- AS,---,--- AP,---,---,--- AI,--- AD,00,---,---,---, ,---,---,---,---,---,--- AM,000,---,---,--- AR,... (6 Replies)
Discussion started by: kcdg859
6 Replies

8. UNIX for Dummies Questions & Answers

Split larger files into smaller ones with Column names

Hi, I have one large files of 100000 rows with header column. Eg: Emp Code, Emp Name 101,xxx 102,YYY 103,zzz ... ... I want to split the files into smaller files with only 30000 rows each..File 1,2 and 3 must have 30000 rows and file 4 must contain 10000 rows. But the column... (1 Reply)
Discussion started by: Nivas
1 Replies

9. UNIX for Beginners Questions & Answers

Split large file into smaller files without disturbing the entry chunks

Dears, Need you help with the below file manipulation. I want to split the file into 8 smaller files but without cutting/disturbing the entries (meaning every small file should start with a entry and end with an empty line). It will be helpful if you can provide a one liner command for this... (12 Replies)
Discussion started by: Kamesh G
12 Replies
AdvanceCOMP MNG Compression Utility(1)			      General Commands Manual			    AdvanceCOMP MNG Compression Utility(1)

NAME
advmng - AdvanceCOMP MNG Compression Utility SYNOPSIS
advmng [-l, --list] [-z, --recompress] [-x, --extract] [-a, --add RATE MNG_FILE PNG_FILES...] [-0, --shrink-store] [-1, --shrink-fast] [-2, --shrink-normal] [-3, --shrink-extra] [-4, --shrink-insane] [-s, --scroll HxV] [-S, --scroll-square] [-e, --expand] [-r, --reduce] [-c, --lc] [-C, --vlc] [-f, --force] [-q, --quiet] [-v, --verbose] [-h, --help] [-V, --version] FILES... DESCRIPTION
The main purpose of this utility is to recompress MNG files to get the smallest possible size. Please note that this utility is not able to read a generic file. It's granted to be able to read only the files generated by the Advance- MAME emulator. To compress the files this utility uses the following strategies: o Remove all ancillary chunks. o Use the MNG Delta feature to compress video clips with only small changes between frames. o Use the MNG Move feature to compress video clips with a scrolling background (option -s). o Reduce the color depth to 8 bit (option -r). o Use the 7zip Deflate implementation. COMMANDS
-l, --list FILES... List the content of the specified files. -z, --recompress FILES... Recompress the specified files. If the -1, -2, -3 options are specified, it's used the smallest file choice from the previous com- pressed data and the new compression. If the -0 option is specified the file is always rewritten without any compression. -x, --extract FILES... Extract all the .png frames in the .mng clips. You can use the --shrink options to control the compression ratio of the .png files. The extracted images are always 24 bit images with alpha channel. You can remove the alpha channel with the -n option. -a, --add RATE MNG_FILE PNG_FILES... Compress all the .png files on the command line as a .mng file. All the .png files must have the same size and the same bit depth. You must also specify an integer frame rate to use in the OPTIONS
-0, --shrink-store Disable the compression. The file is only stored and not compressed. The file is always rewritten also if it's bigger. -1, --shrink-fast Set the compression level to "fast". -2, --shrink-normal Set the compression level to "normal". This is the default level of compression. -3, --shrink-extra Set the compression level to "extra". -4, --shrink-insane Set the compression level to "insane". It's VERY SLOW. -s, --scroll HxV The "-s HxV" option specifies the size of the pattern (H width x V height) used to check for a scrolling background. The size is expressed in pixels and it must be bigger or equal than the scrolling speed of the background. For example take the game 1942 that scrolls vertically by 1 pixel every frame. If you recorded with an interleave factor of 2 the vertical scrolling speed is 1*2 = 2. In this case the minimum pattern is "-s 0x2". Generally you can use "-s 8x8" and use bigger values only for games scrolling faster. If the game scrolls only horizontally or vertically you can speed up a lot the compression with monodirectional patterns like "-s 16x0" or "-s 0x16". -S, --scroll-square N This option is like the option "-s NxN" but excludes big movement on both directions reducing the computation time. Specifically the check done is X+Y<=N. -r, --reduce Force the color reduction to 8 bit. The reduction is really done only if any frame have less than 256 colors and if no alpha channel is present. To force the reduction also if an alpha channel is present use the -n option. -e, --expand Force the color expansion to 24 bit. -n, --noalpha Remove the alpha channel if present. -c, --lc Force the use of the MNG LC (Low Complexity) specifications. It disables the delta compression. The file is always rewritten also if it's bigger. -C, --vlc Force the use of the MNG VLC (Very Low Complexity) specifications. It disables the delta compression and the precise timing. Warn- ing! you may lose the correct timing information because the VLC format only supports integer frequency. The file is always rewrit- ten also if it's bigger. -f, --force Force the use of the new file also if it's bigger. -q, --quiet Don't print the filenames. -v, --verbose Print more information on the compression process. EXAMPLES
A good tradeoff of recompression and time is the command : advmng -z -r -S 16 *.mng To create a .mng file from a series of .png files use the command : advmng -a 30 video.mng video*.png To extract all the images in a .mng file use the command : advmng -x video.mng COPYRIGHT
This file is Copyright (C) 2003 Andrea Mazzoleni, Filipe Estima SEE ALSO
advzip(1), advpng(1), advdef(1) AdvanceCOMP MNG Compression Utility(1)
All times are GMT -4. The time now is 09:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy