I am using below command to add timestamps to video:
ffmpeg -y -i input.mp4 -vf "drawtext=fontfile=roboto.ttf:fontsize=36:fontcolor=yellow:text='%{pts\:gmtime\:1456007118}'" -preset ultrafast output.mp4
command is working but i don't get desired output. it is adding timestamp like this:
I want to use different date format like this:
I get this date :
2016-02-20 22:25:20
but i want this :
Sat, 20 Feb 2016 22:25:20 -0700