[FFmpeg-user] how many complex filters i can use at the same time
Antonio Hanna
antoniohanna at gmail.com
Sat Dec 23 17:50:03 EET 2017
sorry for any inconvenience but i need a little help here..
i am writing this command with complex filters
ffmpeg.exe -re -i wonder.mp4 -i logo72.png -filter_complex
"[0:v]drawtext=fontcolor=white:fontsize=24:fontfile='C\:\\Windows\\Fonts\\arial.ttf':textfile='d\:\\text.txt':reload=1:y=h-line_h:x=w-(mod(n*3\,w+tw)-tw/40),drawbox=y=ih-30:color=black at 0.4:width=iw:height=30:t=max[text];[text][1:v]overlay=15:15,subtitles=wondering.ass:force_style='PrimaryColour=&H155000FF,OutlineColour=&H55000000,BorderStyle=5,FontSize=22'[filtered]"
-map "[filtered]" -map 0:a -codec:v libx264 -codec:a copy -f mpegts udp://
10.10.10.2:5000?pkt_size=1316
am i writing the filters right ??? i mean .. i feel like this is consuming
lots of cpu power .. i dont know if im doing anything wrong
On Sat, Dec 23, 2017 at 6:45 AM, Gyan Doshi <gyandoshi at gmail.com> wrote:
>
>
> On 12/22/2017 8:38 PM, Antonio Hanna wrote:
>
>> i'm using ffmpeg in a sort of a playout .. and i'm using 3 filters
>> together
>> ..
>>
>> 1- subtitle
>> 2- logo
>> 3- banner sliding at the bottom of the screen ..
>>
>> my question is .. how many complex filters i can use at the same time ??
>> thank you in advance !
>>
>
> As many as you want. But pads cannot be exchanged between two
> filter_complex graphs i.e. output of one FC graph cannot be ingested by
> another FC graph. and all ultimate output pads should be mapped or sent to
> a sink.
>
> Regards,
> Gyan
> _______________________________________________
> 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