Answer the question
In order to leave comments, you need to log in
How to add mp3 to ffmpeg?
Good to all
There is a broadcast via ffmpeg, it takes an image from an IP camera and sends it further, I wanted to fasten the track.mp3 and fasten the loop. Everything is started with this spell
ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i rtsp://192.168.100.200:554 -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/anything
I can't put it together correctly, maybe someone has a solution. Thanks
Answer the question
In order to leave comments, you need to log in
You didn't even try.
ffmpeg -rtsp_transport udp -i rtsp://192.168.100.200:554 -stream_loop -1 -re -i file.mp3 -map 0:v -map 1:a -tune zerolatency -vcodec libx264 -pix_fmt yuv420p -c:v copy -c:a aac -b:a 192k -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/всякое
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question