[FFmpeg-user] how to send three flv files to rtmp server continuously

Hasan BAĞÇACI dev.hasan.bagcaci at gmail.com
Sat Nov 19 00:54:18 EET 2016


Hi Andrew,

You can use concat. i send link about this.

https://trac.ffmpeg.org/wiki/Concatenate also i written example for three
files below

ffmpeg -i file1.flv  -i file2.flv -i file3.flv -filter_complex "[0:v:0]
[0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]" -map
"[v]" -map "[a]"  -c:a copy -f flv rtmp://192.168.183.76:1935/live1/abc

Regards

Hasan



2016-11-17 16:25 GMT+03:00 qw <applemax82 at 163.com>:

> Hi,
>
>
> I have three flv files, i.e. file1.flv, file2.flv, file3.flv. I know how
> to send one flv file to rtmp server, as shown below:
>
>
> ffmpeg.exe -re -i file1.flv -c:v copy -c:a copy -f flv rtmp://
> 192.168.183.76:1935/live1/abc
>
>
> But how to send file1.flv, file2.flv, and file3,flv to rtmp server
> continuously?
>
>
> Thanks!
>
>
> Regards
>
>
> Andrew
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list