[FFmpeg-user] how to burn subtitles and transcode live stream
Moritz Barsnick
barsnick at gmx.net
Sat Oct 24 02:45:39 EEST 2020
Hi Daniel,
On Wed, Oct 21, 2020 at 19:01:37 +0300, Daniel Dimitrov wrote:
> i have also tried :
> ffmpeg -i "udp://@
> 239.253.251.14:5505?overrun_nonfatal=1&fifo_size=50000000&pkt_size=1316&&buffer_size=10000000"
> -b:v 2600k -maxrate 4M -bufsize 4M -b:a 128k -vf scale=720:576
> -filter_complex "[0:v][0:s:2]overlay[v]" -map "[v]" -f mpegts "udp://@
> 239.253.251.15:5505?overrun_nonfatal=1&fifo_size=50000000&pkt_size=1316&&buffer_size=10000000
> "
>
> but the error was:
> Filtergraph 'scale=720:576' was specified through the -vf/-af/-filter
> option for output stream 0:0, which is fed from a complex filtergraph.
> -vf/-af/-filter and -filter_complex cannot be used together for the same
> stream.
Exactly what it says there. You can't combine simple and complex
filters.
Use this:
# [...] -filter_complex "[0:v]scale=720:576[v0]; [v0][0:s:2]overlay[v]" -map "[v]"
Cheers,
Moritz
More information about the ffmpeg-user
mailing list