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 |
Registered User
Join Date: Sep 2013
Location: Czech Republic
Posts: 316
|
H.264 Patcher and BD-Tools
(Project is mirrored on site videofan3d)
BDTools is small set of simple command-line (CLI) utilities for displaying the structure of .mpls playlist and .clpi clip information files which are part of Bluray Disc navigation. MPLS2JSON.exe – converts .mpls playlist, .clpi clip information file or .bdjo BD-J object file into human&machine readable JSON file, or – converts .json file into binary .mpls, .clpi or .bdjo file. This reverse operation can be used for modification of the content of the .mpls/.clip/.bdjo file. MPLSDump.exe – displays simplified list of all .m2ts files referred in given .mpls playlist h264Modify.exe - allows changes of some parameters of H.264 elementary video-stream. Modifies frame-rate and sample-aspect-ratio of the H.264 encoded video without re-encoding! - allows insertion or deletion of frame packing arrangement SEI messages (side-by-side, top-above-bottom, etc.) h264Offset3D.exe - tool for offset-metadata manipulation (subtitles in Bluray-3D) - allows extract, delete, replace, insert offset-metadata from/into dependent view elementary stream of Bluray-3D. AVCHDInfo - displays recording date/time of each videoframe of AVCHD.MTS file extracted from vendor-specific information (if available) BDTools executables and documentation can be downloaded from: 2019-06-05: BDTools version 2.31 - bugfix in MPLS2JSON - 3D subtitle depth plane extraction 2017-08-24: BDTools version 2.30 - added AVCHDInfo 2017-08-02: BDTools version 2.20 - added h264Offset3D 2017-07-24: BDTools version 2.10 2017-06-16: BDTools version 2.00 2017-05-10: BDTools version 1.10 2017-04-29: BDTools version 1.00 Last edited by videofan3d; 29th February 2020 at 00:09. Reason: Version 2.31 |
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Sep 2013
Location: Czech Republic
Posts: 316
|
Rename the executable to whatever else than "*patch*.exe" and it will work.
Crazy Microsoft! If the exe-filename contains the word "patch" then it is considered as dangerous and requires administrator access... WTF!!! I will rename it in next build to something else. Hereby I'm opening discussion/your suggestions for new name recommendations ![]() Last edited by videofan3d; 29th April 2017 at 16:59. |
![]() |
![]() |
![]() |
#9 | Link | |
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 6,732
|
Quote:
Other metadata than can be changed is the Level, like CoolSoft H264 Level Editor.
__________________
BeHappy, AviSynth audio transcoder. |
|
![]() |
![]() |
![]() |
#10 | Link | |
Registered User
Join Date: Sep 2013
Location: Czech Republic
Posts: 316
|
Quote:
I will add also change of profile_idc, constraint_setN_flag and level_idc. Next release will be around 10 of May. |
|
![]() |
![]() |
![]() |
#11 | Link |
Registered User
Join Date: Sep 2013
Location: Czech Republic
Posts: 316
|
BDTools 1.10
BDTools 1.10 released:
h264Patch - renamed to h264Modify (due to Windows antivirus protection) - added options -profile_idc, -constraint_flags, -level_idc - renamed options -frame_rate, -sar_idc (for consistency with BD-documentation) MPLS2JSON - added experimental support for UHD Bluray (4K) |
![]() |
![]() |
![]() |
#13 | Link | |
Registered User
Join Date: Sep 2013
Location: Czech Republic
Posts: 316
|
Quote:
Re: version 300 (UHD) ... some experimental support is already there - try it. (To finalize it I need to get the complete UHD-BD specification.) |
|
![]() |
![]() |
![]() |
#14 | Link |
Registered User
Join Date: Jul 2015
Posts: 33
|
Maybe these documents will help BD-ROM Version 3.0 I found them on the internet.
I checked your new experimental version for all three types of files *.mpls, MovieObject.bdmv, index.bdmv Conversion and reverse ![]() |
![]() |
![]() |
![]() |
#15 | Link |
Registered User
Join Date: May 2016
Posts: 197
|
Thanks for the tool. May I ask for another feature in h264modify? Can you allow it to change the SPS and PPS id-values (both of the actual SPS and PPS and of the frames using them)? This would improve the ability to join different videos (with incompatible SPS and PPS) without reencoding, because one would only need to set the SPS and PPS id to different values before joining them. (Yes, I know that this is unnecessary for Blu-ray authoring because on a Blu-ray the SPS and PPS are simply repeated and can therefore be easily overwritten, but for mp4 and mkv it would allow to use the more space-efficient "out-of-band" way of transmitting the SPS and PPS.)
|
![]() |
![]() |
![]() |
#16 | Link | |
Registered User
Join Date: Sep 2013
Location: Czech Republic
Posts: 316
|
Quote:
I'm working now on MPLS2JSON for .clpi files (requested somewhere above). Once finished I will check also if SPS/PPS matter is somehow easily doable. |
|
![]() |
![]() |
![]() |
#17 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,351
|
Hi videofan3d
The MPLS2JSON is a nice tool. I have made a small test and found a small issue. I copyed a mpls file to the BD-Tools folder and use this commandline Code:
F:\Download\BDTools_1.10\MPLS2JSON.exe 00001.mpls Failed to open 00001.mpls failed signature match: found "" expected "MPLS" or "MOBJ" or "INDX" Parse failed: 00001.mpls Code:
F:\Download\BDTools_1.10\MPLS2JSON.exe F:\Download\BDTools_1.10\00001.mpls Last edited by hubblec4; 8th June 2017 at 14:06. |
![]() |
![]() |
![]() |
#18 | Link | |
Registered User
Join Date: Sep 2013
Location: Czech Republic
Posts: 316
|
Quote:
If it was NOT "F:\Download\BDTools_1.10", then it is logical that process could not find the first parameter. MPLS2JSON doesn't change current directory, this is standard behavior of all command line programs in any operation system (Unix, Windows DOS-prompt, Linux, ...) You have specified full-path-qualification for executable program, thus operating system found it. But then executable MPLS2JSON tried to find 00001.mpls in current (and unchanged) directory, but it was not there. So it failed. In the second case you fully qualified the 00001.mpls file, thus process found it. I will change the error message to explain more precisely the cause, but behavior itself is according OS standards. |
|
![]() |
![]() |
![]() |
#20 | Link |
Registered User
Join Date: Sep 2013
Location: Czech Republic
Posts: 316
|
BDTools 2.00
BDTools 2.00 released:
MPLS2JSON - added support for .clpi clip information files Please: I don't have so many Blu-ray discs to check thoroughly all variants of .mpls and .clpi. If you face some discrepancies or suspicious behavior, please provide me with relevant input file (.mpls/.clpi - both these are quite small to be send or attached) and I can fix it. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|