Page 1 of 1

Documentation for string manipulation

Posted: Tue Mar 06, 2018 6:56 am
by Meat_PoPsiclez
Getting a bit flustered, I've been hunting for an hour for some sort of documentation for string manipulation and have only found a handful of asides on the forums.

Anywho, I've got a recurring project working with media from a handful of action cams in a multicam scenario, that don't store timecode. For the sake of my sanity, I'm hoping to set the starting timecode and reel name on each file with the ffmpeg

Code: Select all

-timecode
and

Code: Select all

-metadata:s:v:0 reel_name=
options, but need to be able to parse it from the timestamp in the filename.

That of course won't be terribly accurate, but at least it gets the cameras into the same ballpark when loading them into an editor

For example, "2018_0224_092002_059.MP4" might become timecode "09:20:02:00" with reel name "2018_0224#59"

Point me in the right direction?

Re: Documentation for string manipulation

Posted: Tue Mar 06, 2018 9:28 am
by admin
Hi Meat_PoPsiclez, thank you for using FFAStrans and welcome to the forum! :-)

All functions are documented where applicable. That is in the "Conditional" and "Populate variables" nodes. Just press the "F" button down on the left corner in the nodes.

-steinar

Re: Documentation for string manipulation

Posted: Wed Mar 07, 2018 1:20 am
by Meat_PoPsiclez
I cannot believe how helpful that was!
There was some kind of disconnect in my head about how variables in ffastrans worked.

Thanks so much, I'm well on my way to recovering my sanity!