GoPro_Filenames.
Posted: Sun Mar 06, 2022 1:37 pm
Hi,
I've been casually using BRU for quite some time but now I'm facing an issue that requires a bit more expertise, if at all possible. But I believe it is.
I don't know who of you is familiar with the GoPro Action cameras. I recently became the owner of the Hero 8 Black. So this camera has many shooting modes, Time Lapse, Photo, Video... each Mode itself has many different settings. Resolution and Framerate being the most important ones for me.
A real downside of the GoPro is that each file, no matter what mode it was shot in, is named the same: GX012334, ascending.
My goal is as follows:
1. Create a subfolder for each mode. (photo, video, burst/timelapse)
2. Put the files in the corresponding subfolder
3. Rename the files so that they contain information about the settings the file was shot in.
I was able to extract the relevant information about Resolution and Framerate by using this in Add Prefix(7):
and this to add a date in a custom format:
I also used Replace(3) to replace frames-second with fps
Now I went from this: GX0101326 to this 01.03.2022_15h19--239.76 fps-1920x1080--_GX010013.MP4
I created the subfolders manually and put the files in, but the whole procedure takes a lot of time and I believe it can be done quicker, I just don't know how exactly.
__
Ok so that's as far as my very limited knowledge can reach.
The question is, how possible is it to achieve the other steps in an automated manner?
I think it could be possible to use RegEx to replace for example 1920x1080 from the file-properties with the Letters FullHD, for example, that would be really handy.
So I guess what I'm asking here is if you think this is the right tool for the job?
I've been casually using BRU for quite some time but now I'm facing an issue that requires a bit more expertise, if at all possible. But I believe it is.
I don't know who of you is familiar with the GoPro Action cameras. I recently became the owner of the Hero 8 Black. So this camera has many shooting modes, Time Lapse, Photo, Video... each Mode itself has many different settings. Resolution and Framerate being the most important ones for me.
A real downside of the GoPro is that each file, no matter what mode it was shot in, is named the same: GX012334, ascending.
My goal is as follows:
1. Create a subfolder for each mode. (photo, video, burst/timelapse)
2. Put the files in the corresponding subfolder
3. Rename the files so that they contain information about the settings the file was shot in.
I was able to extract the relevant information about Resolution and Framerate by using this in Add Prefix(7):
- Code: Select all
<(System.Video.FrameRate)>-<(System.Video.FrameWidth)>x<(System.Video.FrameHeight)>--_
and this to add a date in a custom format:
- Code: Select all
%d.%m.%Y_%Hh%M--
I also used Replace(3) to replace frames-second with fps
Now I went from this: GX0101326 to this 01.03.2022_15h19--239.76 fps-1920x1080--_GX010013.MP4
I created the subfolders manually and put the files in, but the whole procedure takes a lot of time and I believe it can be done quicker, I just don't know how exactly.
__
Ok so that's as far as my very limited knowledge can reach.
The question is, how possible is it to achieve the other steps in an automated manner?
I think it could be possible to use RegEx to replace for example 1920x1080 from the file-properties with the Letters FullHD, for example, that would be really handy.
So I guess what I'm asking here is if you think this is the right tool for the job?