I would like to convert videos into m4v format in python without saving video to a file.
I tried ffmpeg - ffmpeg -i v1.mp4 v1.m4v
. It works great but it needs to store the output to a file.
My code runs on google app engine where storing files is not advised.
ffmpeg-python
also requires the output to be streamed to a file.
Is there a way to build a python function f1(input_video)
which would return output_video in m4v format.