![]() ![]() This would be less efficient because it would launch exiftool for each file, and the overhead to launch exiftool is significant. Quote3) the command in the batch file is: Saves me having to delete them after I am done as I don't need it. Is there a way within the command line to say I don't want an original created. Quote2) whenever I run the exiftool command it creates a "original" mp4 file i.e. (note I have changed "-filemodifydate ![]() Quote from: jaybee on November 30, 2016, 12:07:14 PMĮxiftool -tagsfromfile %d%f.mod -api quicktimeutc=1 "-createdate ![]() Saves me having to delete them after I am done as I don't need it.įor %%a in ("*.mod") do ffmpeg -i "%%a" -c:v libx264 -preset slow -c:a aac -crf 13 -movflags faststart "newfiles\%%~na.mp4" which converts the files. Which puts the 21:22:50 -07:00 date in the filemodifydate in the MP4 to ensure that is preserved after the original file (MOD) is deleted.ġ) is there a way to combine the two commands into one?Ģ) whenever I run the exiftool command it creates a "original" mp4 file i.e. To get the right date for PlayMemories and thenĮxiftool -tagsfromfile %d%f.mod "-filemodifydatespecifically want the FileModifyDate to transfer over as that is the date and time the MOD video was taken and will display as the Date Taken in Playmemories Home. The problem is, the new mp4 files do not carry any of the metadata. Which does a great job of converting the mod to mp4 files with little/no loss in quality (some in the audio). In the BAT file I place the following command:įor %%a in ("*.mod") do ffmpeg -i "%%a" -c:v libx264 -preset slow -c:a aac -crf 13 -movflags faststart "newfiles\%%~na.mp4" ![]() I set up a Folder in which I place the MOD files, a batch.bat file with the appropriate coding and a Newfile folder to receive the converted files and the ffmpeg.exe all placed in a FFmpeg folder at the root of the C directory. I am converting MOD files to MP4 files using FFMPEG on a batch basis. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |