There's an undocumented attribute of the submission method in praw called media_metadata that would facilitate us implementing this feature (provided it still exists, as the r/redditdev comment was made about a year ago)
submission
praw
media_metadata
r/redditdev