add h.264 file

This commit is contained in:
mofeng-git
2024-01-30 11:54:19 +00:00
parent b4016cf8d8
commit a2f73543ed
4 changed files with 7061 additions and 0 deletions

3
patch/stream.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
/usr/bin/ustreamer-dump --sink kvmd::ustreamer::jpeg --output - | /usr/bin/ffmpeg -re -use_wallclock_as_timestamps 1 -i pipe: -rtbufsize 10M -c:v libx264 -pix_fmt yuv420p -preset:v ultrafast -tune:v zerolatency -profile:v baseline -bf 0 -b:v 3M -maxrate:v 5M -r 30 -g 30 -an -f rtp rtp://127.0.0.1:5004