Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
#1 | Link |
|
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,417
|
DiscShare
DiscShare is developed with the intention to share a chunk of a disc with a developer quickly.
Downloads: Windows Linux Note, there are no upload or download functions! This tool shrinks a disc only. The disc structure is copied and all the selected m2ts files. A chunk of a m2ts file will be created (20mb). There is a CLI and GUI version. // GUI After loading a disc folder you can play the mpls and m2ts files from the lists by a double click. Drag and drop is supported. GUI detects if a disc structure is present and use the input as source otherwise as target. // CLI Code:
DiscShare
-----------------------------------------------------------------
Syntax
DiscShare.exe [Param1 [Value1 [Param2 Value2 ... ...]]] "Source"
-----------------------------------------------------------------
Parameter
-h > Show this Help
-f > Full structure: the entire folder structure is copied
-F > Full structure and all m2ts files: all what "-f" does and
cut all m2ts to chunk files
-p > Playlist files: a comma separted array of mpls numbers
a mpls number consists of 5 digits
-m > M2TS files: a comma separted array of m2ts numbers
a m2ts number consists of 5 digits
-t > Target folder: folder will be created if not present
-r > Prepare disc restore: this mode split the m2ts files in 3 chunks
a chunk from the beginning, middle and the end
-R > Restore disc: this restores a disc backup which was created
with the "-r" parameter
".." > Source file: MUST be the last parameter! Path to source folder
@".." > Path to a parameter file: MUST be the first parameter!
The parameter file should be a simple text file
You can use any name and extension for the file name
Only source folder parameter can be used additionally
-----------------------------------------------------------------
Parameter file
Each line is used as a parameter
If you don't set a source path in the parameter file,
the source path is read from the command-line.
You can use a root parameter file called "params.txt"
Exists this file in the root folder of DiscShare, it is used automatically.
If the "params.txt" is empty, it will be ignored.
-----------------------------------------------------------------
Command
You can send a command while DiscShare is running.
Command will be executed after pressing the ENTER key
"e" > User Exit: stops DiscShare
-----------------------------------------------------------------
Exit codes
DiscShare sends at the end an exit code
0 - all OK
1 - no source folder
2 - no disc structure found
3 - no target folder (not found or could not created)
4 - no restore file found
7 - parameter file not found
8 - parameter file is empty (only if used with the cli parameter)
9 - wrong parameters
99 - internal Lazarus error
-1 - User Exit
-----------------------------------------------------------------
Examples
DiscShare: shrink disc
DiscShare.exe -t "Target\Path" "Source BD folder"
only important BD folders are copied, no m2ts chunks
DiscShare.exe -f -t "Target\Path" "Source BD folder"
all BD folders are copied, no m2ts chunks
DiscShare.exe -F -t "Target\Path" "Source BD folder"
all BD folders and m2ts chunks are copied
DiscShare.exe -f -m 00000,00002 -t "Target\Path" "Source BD folder"
all BD folders are copied and 2 m2ts chunks
DiscShare.exe -f -p 00000,00002 -t "Target\Path" "Source BD folder"
all BD folders are copied and all m2ts chunks from the 2 mpls files
DiscShare.exe -f -p 00000,00002 -m 00001 -t "Target\Path" "Source BD folder"
all BD folders are copied and all m2ts chunks from the 2 mpls files
00001.m2ts is additionally used if not used in the mpls files
DiscShare.exe -r -f -p 00000,00002 -t "Target\Path" "Source BD folder"
all BD folders are copied and all m2ts files from the 2 mpls files
are prepared for later restoring.
DiscShare: restore disc
DiscShare.exe -R "Path\prepared disc folder"
this restores the file size of all m2ts files
Last edited by hubblec4; 24th December 2019 at 02:35. |
|
|
|
|
|
#5 | Link |
|
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,417
|
|
|
|
|
|
|
#6 | Link |
|
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,417
|
update rev0.02
DiscShare rev0.02 is available.
Windows Linux Code:
Change DiscShare added & fixed * improved # changed % rev0.02 2021-04-23 // CLI & -s switch -> Chunk-Size-Factor, a byte value from 1 to 255, def=10 (almost 20MB) - base size of a chunk is 2046KB (almost 2MB) // GUI & support for the new -s switch & settings ini - form: width, heigth, left, top - Target path % increased form width to 590 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|