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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 14th December 2019, 17:07   #1  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,122
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
__________________
chapterEditor || Matroska-Playback || hSplit || DiscShare

Last edited by hubblec4; 24th December 2019 at 01:35.
hubblec4 is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.