I am not really a "developer" but have basic knowledge in python, PHP and (especially) Delphi. I have found an example of capturing and live previewing a video and I could adapted it to:
Code: Select all
ffmpeg -s 1280x720 -framerate 30 -c:v mjpeg -c:a pcm_s16le -channels 2 -sample_rate 41100 -rtbufsize 100MB -t 5 -f dshow -i video="...":audio="@..." -c copy C:...C910.mkv -pix_fmt yuv420p -an -f sdl -window_size 640x360 "Preview"
a) How can I change the format to MP4 (lower disk space neccessary). Everything I tried, failed.
b) How could I integrate the preview window in another frame / window / tool, f.e., in a HTML-website?
Thank you in adcance for your help!