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
AMCDXVideoPatcherCLI Windows x86_ 64
AMCDXVideoPatcherCLI OSX x86_64
AMCDXVideoPatcherCLI Centos x86_64
Hi Alex,
Thank you for this nice tool! Everything works very well except that I found a problem with timecode atom – can’t change a reel name and TC atom can’t be deleted. I use path to JSON file, WinOS.
Thank you.
thanks Edi,
yes this is known issue and was fixed long time ago just need to find time to release most recent version
Kind Regards,
Alex
AMCDX CLI fails on UBUNTU under windows 11 (WSL2)
Hi Alex !
Using windows embedded Linux for ease of authoring and testing windows and linux app
The CLI program produces a page full of errors even if you launch it with an empty command line
The errors are all about the ALSA library. They start out like this
./AMCDXVideoPatcherCLI ‘{“processor”: “mov_meta”, “params”: {“video_file”:”/home/rberk2/QT_Meta_Edit/dirtguy.mov”, “headers_to_the_end”: false, “nclc”: { “in_file”: true, “primaries”: 1, “transfer”: 1, “matrix”: 1 }, “gama”: { “in_file”: false, “gamma”: 2.39999 } } }’
ALSA lib confmisc.c:767:(parse_card) cannot find card ‘0’
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
Same error just launching the program with a blank command line.
ALSA errors are commonplace with windows WSL2, Is the ALSA Library needed for patching metadata ?
I get the following errors on CentOS 7.6 when using the command line. Any help would be appreciated.
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card