D
D
DdarkX2020-10-31 12:02:40
Debian
DdarkX, 2020-10-31 12:02:40

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

1 answer(s)
V
ValdikSS, 2020-10-31
@DdarkX

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 question

Ask a Question

731 491 924 answers to any question