When I use mapillary_tools video_process, ffmpeg uses up a signifcant amount of my CPU. This is expected, but it doesn’t consume any of my GPU. Can an option to use hardware acceleration be added to a future version of mapillary_tools - i.e. add -hwaccel when calling ffmpeg?
If you wish to change the ffmpeg command;
lib/python2.7/site-packages/mapillary_tools/process_video.py - around line 114
command = [
'ffmpeg',
'-hwaccel xxxxx' ,
'-i', video_file,
'-loglevel', 'quiet',
xxxxx
]
AFAIK the -hwaccel option requires a device argument.
I think “-hwaccel auto” should do something (I think not specifying anything, i.e. just “-hwacel”, also has some effect), otherwise just pass a value from the command line used to call mapillary_tools in the first place.