quicktime_video_hack
quicktime_video_hack copied to clipboard
Feature request: record to mp4 file directly
Now, if I want to record mp4 file, I have to do
./quicktime_video_hack record a.h264 a.wav
ffmpeg -framerate 60 -i a.h264 -i a.wav -c:v copy -f mp4 output.mp4 -y
Can it possible support
./quicktime_video_hack record output.mp4
Thanks a lot.
If you run go run main.go gstreamer --examples there is an example of how to do this with the built in gstreamer support.
Maybe you are right though and this is still a little complicated if you just want to record mp4. I think I can add more easy support for the more common formats.
If you wanna try it, I'd be interested in how stable the gstreamer support works longterm.
Without gstreamer, qvh works really well even if you run it for many hours. I don't about the gstreamer part yet.
Thanks @danielpaulus , gstreamer looks fine, except in my mac. BTW: add gstreamer will add more dependencies, which make it hard to build.