my start ffmpeg
Code: Select all
ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0+0,0 probnik.mp4Code: Select all
ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0+0,0 probnik.mp4
Code: Select all
ffmpeg -framerate 60 -f x11grab -i :0.0+0,0 probnik.mp4Code: Select all
-vcodec rawvideo -pix_fmt rgb32Code: Select all
ffmpeg -framerate 60 -f x11grab -i :0.0+0,0 -vcodec rawvideo -pix_fmt rgb32 probnik.mp4Code: Select all
[x11grab @ 0x5580a89fb600] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0.0+0,0':
Duration: N/A, start: 1748918166.759938, bitrate: 3981312 kb/s
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 3981312 kb/s, 60 fps, 1000k tbr, 1000k tbn
File 'probnik.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[mp4 @ 0x5580a8a04880] Could not find tag for codec rawvideo in stream #0, codec not currently supported in container
[out#0/mp4 @ 0x5580a8a04780] Could not write header (incorrect codec parameters ?): Invalid argument
[vf#0:0 @ 0x5580a8a05580] Error sending frames to consumers: Invalid argument
[vf#0:0 @ 0x5580a8a05580] Task finished with error code: -22 (Invalid argument)
[vf#0:0 @ 0x5580a8a05580] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0x5580a8a04780] Nothing was written into output file, because at least one of its streams received no packets.Code: Select all
-f rawvideo