![]() ![]() Someplace where you keep all your utility programs, etc. ![]() The script should be saved to a folder on the PC, e.g., D:\Scripts or C:\Utils. I needed a way to do this myself without the app and I had 1600 files to rename and thus I developed this Powershell script to do the work for me. ![]() Using the camera's application software, the files would be copied over to the PC and renamed based on the file's original creation date and time, e.g., 20190223113432.m2ts, i.e., YYYYMMDDHHMMSS.ext format. The problem with this method is that the files are named in a sequential fashion starting at 00000.mts and incrementing by one for each subsequent video file. The only way to get the files off the hard drive was to manually copy the files across to my computer using Windows File Explorer. This meant I could not download and then clear the hard drive ready for the next shoot. The camera's application software would simply hang on a particular file and stay frozen until I disconnected the camera and forced the app closed. ![]() My camcorder's hard drive developed a problem whereby I could not download the files to my computer. This Powershell script will rename the files according to their original date and time of creation. The sequential filenames give no clue as to the video's content or when it was created thus making it difficult to sort and catalog the files once copied to the main computer for processing. HD video files stored on camcorders are usually named using a 5 digit sequential filename followed by the video file extension such as MTS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |