Answer the question
In order to leave comments, you need to log in
How to stream on ffmpeg with video capture?
I have a nms server which says how can I stream with pure ffmpeg
Also 10 minutes of searching and I can find how to record screen with ffmpeg
But when I try to link the first command from the first source to the screen recording I get an error
[flv @ 000002607d95aa40] Video codec bmp not compatible with flv
Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented
ffmpeg -f gdigrab -framerate 30 -offset_x 1-offset_y 1-video_size 640x480 -show_region 1 -re -i desktop -c:v libx264 -preset veryfast -tune zerolatency -c:a aac -ar 44100 -f flv rtmp://localhost/live/newStream
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question