I think OP wants to keep the media out of the DB and instead put it on blob storage like S3. There's a similar feature request here: Storing images on AWS S3 for ODK Central. Do I have it right, @abhinav_sinha?
Can you tell me more about what's driving this need? Is it because of DB performance? Because you want to link directly to the files?