Hey! Hello how to timestamp the output files with linux date comand,
If possible in ns resolution, something like date "+%Y%m%d-%H%M%S%N"
date "+%Y%m%d-%H%M%S%N"
Or may be the other way round, What are my options to relate video with another signal from another source.
Any info is appreciated.
Hey, try this command to generate timestamp
ffmpeg -i test.mp4 -vf \ "drawtext=fontfile=arialbd.ttf:text='%{pts\:gmtime\:0\:%H\\\:%M\\\:%S}'" test.avi
This produces a stamp in the HH:MM:SS format; you can change it to whatever you'd like, using strftime
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey! Hello how to timestamp the output files with linux date comand,
If possible in ns resolution, something like
date "+%Y%m%d-%H%M%S%N"
Or may be the other way round, What are my options to relate video with another signal from another source.
Any info is appreciated.
Hey, try this command to generate timestamp
ffmpeg -i test.mp4 -vf \ "drawtext=fontfile=arialbd.ttf:text='%{pts\:gmtime\:0\:%H\\\:%M\\\:%S}'" test.avi
This produces a stamp in the HH:MM:SS format; you can change it to whatever you'd like, using
strftime