bytedeco/javacv

how can i insert file stream on the fly use ffmpegFrameRecord

Open

#2,098 opened on Sep 14, 2023

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
help wantedquestion

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

the background is i use javacv ffmpeg to push some file to rtmp address, after i start a FFmpegFrameRecord record loop, i need insert one file when the previous file is push over, how can i do this use javacv; in ffmpeg command, i try "ffmpeg -re -f concat -i "list1.txt" -c:v libx264 -c:a aac -f flv "rtmp://***" and in "list1.txt",i write ffconcat、 file list and another file "list2.txt", and in file list2.txt ,i list some file and "list1.txt"

Contributor guide