bytedeco / javacv

Java interface to OpenCV, FFmpeg, and more
Other
7.41k stars 1.57k forks source link

how can i set -re params in ffmpeg rtmp push command #2094

Closed xiezichao closed 9 months ago

xiezichao commented 9 months ago

I know can set -re params in ffmpeg command to control read speed, but I do not know how to set this readrate param when I use FFmpeg in JavaCv FFmpegFrameRecorder and FFmpegFrameGrabber ,here is my ffmpeg command "ffmpeg -re -i 1.flv -c:v libx264 -c:a aac -f flv "rtmp://""

saudet commented 9 months ago

Duplicate of #1633