I am working with files that are named after dates, such as "2020-02-24-16-13.h264". I am trying to get MP4Box to process all of these files in a bash script, but I can't figure out how to name the output files properly.
Essentially, I would like the script to automatically take the name of the .h264 file and output to the same name, with .mp4
The command I am using to do it manually is:
MP4Box -add /mnt/usb/Convert/2020-02-24-16-13.h264 /mnt/usb/Converted/2020-02-24-16-13.mp4
I cannot switch to
ffmpeg in my situation as a workaround.
I am very much hoping this is a simple command tweak but any input is greatly appreciated!