There was big enough interest in the Command Line version of AMCDX Video Patcher so at some point I made a fast solution to be able to run the app in command line mode. The only problem it still had all UI (Qt) dependencies. I finally found some free time and made UI less CLI version. JSON structure and implemented features are the same
NOTE: when you pass JSON as a string don’t forget to handle correctly string in the string case. eg: ./AMCDXVideoPatcherCLI “{“processor”: “mov_meta”} ” is wrong ./AMCDXVideoPatcherCLI “{\”processor\”: \”mov_meta\”}” is correct
This is a minor release with some critical bugs fixed and MXF Metadata edit initial work
Features: 1) MXF Metadata editor (color range and color characteristics) 2) Added Linux Installer
Bugs Fixed: 1) Fixed crash when patching from ProRes 422 to ProRes 444 2) Fixed support of mxf files with size > 4GB 3) Fixed CLI JSON as a string input
Starting v0.6.0 you can run AMCDX Video Patcher without UI, in other words, you can run it as a command-line app. AMCDX Video Patcher accept as a parameter JSON (it could be JSON string or path to JSON file) for example: AMCDXVideoPathcer /Users/test/test.json or AMCDXVideoPathcer "{ "processor": "f2f", "params": {...}}"
there are 2 fields: “processor” and “params” a) processor defines what processor do you want to run. The value should be a String and should have one of 3 values: 1) “f2f” – run File To File processor 2) “frame” – run Frame Editor 3) “mov_meta” – run MOV/MP4 Metadata Editor b) params define processor parameters. The value should be a JSON object each processor has a different structure.
Number of frames to insert from the Source to the Target file (Integer)
src_rect
A rectangle of the Source file frame that should be inserted to the Target file frame (*), (**)
dst_rect
Rectangle of Target file frame where should be inserted rectangle from the Source file (*), (**)
(*) rect fields are optional if these fields are not set – the full-frame will be processed (**) rect fields work only for ProRes codec, in VC3/AVCI/XAVC case these properties will be ignored
path to png file to apply or a folder where to save PNGs (String)
in_point
Video file IN Point (Integer, frame number)
duration
Number of frames to modify with PNG image or Number of frames to save to png (Integer)
mode
Can be one of 2 values “to_png” or “from_png”(String) to_png means we save selected rectangle to PNG files to the folder set by “png_path” from_png means we modify the selected rectangle by PNG files set by “png_path”
rect
A rectangle of the Video file that should be modified or saved to PNG
*All fields are optional *“in_file” is a Boolean field if it set to false it means Atom will be removed and other fields will be ignored. if “in_file” set to true it means we modify existing atom or add and modify newly added atom
headers_to_the_end
Defines if we should move headers to the end of the file or leave it as it (Boolean, Optional)
timecode
in_file: if set to true Timecode track will be added (Boolean, Optional) tc: timecode in format “hh:mm:ss:frame” (String, Optional) drop_flag: set DF/NDF (Boolean, Optional)
reel: { in_file: if set to false atom will be deleted otherwise added or edited existing (Boolean, Optional) text: Reel name (String, Optional) }
nclc
in_file: if set to false atom will be deleted otherwise added or edited existing (Boolean, Optional) primaries: Color Primaries (Integer, Optional) transfer: Transfer Function (Integer, Optional) matrix: Color Matrix (Integer, Optional)
gama
in_file: if set to false atom will be deleted otherwise added or edited existing (Boolean, Optional) gamma: Gamma value (Float, Optional)
pasp
in_file: if set to false atom will be deleted otherwise added or edited existing (Boolean, Optional) h_spacing: Pixel width (Integer, Optional) v_spacing: Pixel height (Integer, Optional)
fiel
in_file: if set to false atom will be deleted otherwise added or edited existing (Boolean, Optional) order: Field Order (Integer, Optional)
mdcv
in_file: if set to false atom will be deleted otherwise added or edited existing (Boolean, Optional) preset: MDCV Presets (Integer, Optional) max_lum: Max display mastering luminance (Float, Optional) min_lum: Min display mastering luminance (Float, Optional)
clli
in_file: if set to false atom will be deleted otherwise added or edited existing (Boolean, Optional) max_cll: Max content light level (Integer, Optional) max_fall: Max frame average light level (Integer, Optional)
I decided to post a roadmap of features planned on this 2020 year 1) [File To File] VC3 to VC3 (MOV, MXF) – Done 2) [File To File] AVCI to AVCI (MOV, MXF) – In Progress 3) [Metadata Editor] MOV Edit list editing 4) [Metadata Editor] MXF Metadata Editing – In Progress 5) [File To File] Apply to File stored on AWS S3 – In Progress 6) [File To File] Apply to File stored on Google Drive
P.S. Feature requests for the year 2021 can be posted in the comments for this post
Version 0.5.0 is released. Its all about performance 1) Encoder now ~x2 faster 2) [All Processors] Improved threading model 4) [File To File] fixed insert from 422 to 444
Bugs Fixed: 1) Fixed “Frame Editor” Crash if you patch more than 1 frame 2) [Metadata Editor] fixed support of MP4 files from Premiere 3) [Metadata Editor] re-worked “Add timecode” so QuickTime7 accept it 4) [Metadata Editor] Implemented Frame Metadata editor “Cancel”
P.S. I was in rush to release the new version because of some critical bugs and forgot to update the version number, so If you run the latest version and see the title “v0.4.0” so be frustrated it is really 0.4.1 and it has all fixes mentioned
AMCDX Video Patcher v0.4.0 released: Picture-In-Picture was never that easy before. Starting version 0.4.0 there is no “Identical resolution” restriction, in other words you can use source and target files with different resolutions and insert only selected rectangle you are interested in.
Features Added: 1) [File to File] Ability select rectangle of interest instead of inserting whole frame 2) [Metadata Editor] Now can open and edit MP4 files 3) [Metadata Editor] CLLI and MDCV atoms edit/add/remove
Bugs Fixed: 1) Fixed support of Interlaced MXF files 2) Fixed playback of MXF files with padded ProRes
Version 0.3.2 released. Features: 1. Added Keyboard shortcuts: 1.1. Space – Play/Pause 1.2. Arrow Left – Go to previous frame (works only if paused) 1.3. Arrow Right – Go to next frame (works only if paused) 1.4. Shift+Arrow Left – Go 15 frames back(works only if paused) 1.5. Shift+Arrow Right – Go 15 frames forward (works only if paused) 1.6. I – Set In Point 1.7. O – Set Out Point 1.8. Shift+I – Go to In Point 1.9. Shift+O – Go to Out Point 1.10. Delete/Backspace – Clear In and Out points 2. Now you can Drag & Drop a file to preview window to open it in application
Bugs Fixed: 1. WIN: fixed open file with a non-English letter in a file path 2. Fixed big-endian audio playback 3. Fixed preview Video <-> Full Range colors