shinobi (4)

-loglevel warning -r 5 -progress pipe:5 -analyzeduration 1000000 -probesize 1000000 -fflags +igndts -rtsp_transport tcp -i "rtsp://192.168.2.159:554/11" -acodec aac -vcodec copy -vf -segment_format_options movflags=faststart+frag_keyframe+empty_moov -f segment -segment_atclocktime 1 -reset_timestamps 1 -strftime 1 -segment_list pipe:2 -segment_time 1200 "/home/Shinobi/videos/g7sIoWUHxS/Gdvu1tX6Er/%Y-%m-%dT%H-%M-%S.mp4" -preset ultrafast -c:a aac -c:v copy -f hls -hls_time 2 -hls_list_size 3 -start_number 0 -hls_allow_cache 0 -hls_flags +delete_segments+omit_endlist "/dev/shm/streams/g7sIoWUHxS/Gdvu1tX6Er/s.m3u8" -update 1 -r 1 "/dev/shm/streams/g7sIoWUHxS/Gdvu1tX6Er/s.jpg" -y

-g : I-Frame controller. Personally I would leave this at 1 or match it to the FPS. However different use cases require different choices.
-g int 设置图像组大小
-y覆盖输出文件

QSV 是inel硬解码(cpu解码)

https://hub.shinobi.video/articles/view/wCqU0hf1J1an1jV Why is my CPU Usage so high?

原文地址:https://www.cnblogs.com/weihua2020/p/13916476.html