I am using such a command to convert to mkv
fmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -r 25 -pix_fmt yuv420p -i input.yuv output_full_hd.mkv
But the output of the terminal's console contains too much information. Is it possible to get only this sample output on the console?
Input #0, rawvideo, from 'input.yuv':
Duration: 00:10:27.64, start: 0.000000, bitrate: 622080 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 622080 kb/s, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
Output #0, matroska, to 'output_full_hd.mkv':
Metadata:
encoder : Lavf58.45.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1920x1080, q=-1--1, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc58.91.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=15691 fps=7.3 q=-1.0 Lsize= 273565kB time=00:10:27.52 bitrate=3571.3kbits/s speed=0.292x
video:273446kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.043536%