'FFMPEG Unable to parse graph description

This is code to resize video:

ffmpeg -i D:\b\a\bin\Debug\net5.0\EditlyProfiles\796f75833d0c837cef804c79cb2478b0\MediaFolder\1.mp4 -vf "fps=30,scale=720:1280:force_original_aspect_ratio=1,pad=720:1280:(ow-iw)/2:(oh-ih)/2,drawtext=textfile=D\:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine1.txt:fontsize=45:fontcolor=white:y=100:x=w-(t+3)*w/8:expansion=none,drawtext=textfile=D\:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine2.txt:fontsize=45:fontcolor=white:y=190:x=w-(t+1)*w/8:expansion=none,drawtext=textfile=D\:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine3.txt:fontsize=45:fontcolor=white:y=280:x=w-(t+3)*w/8:expansion=none,drawtext=text=Vanhoadaichung:fontsize=45:fontcolor=white:y=370:x=50:expansion=none:enable=lt(mod(t,3),1)" -c:v h264_qsv -b:v 2M -y D:\b\a\bin\Debug\net5.0\EditlyProfiles\796f75833d0c837cef804c79cb2478b0\MediaFolder\resized_1.mp4

Thend i add an image as watermark by this code:

-i https://icons.iconarchive.com/icons/dakirby309/simply-styled/64/YouTube-icon.png

and

[1:v]overlay=10:10

ffmpeg -i D:\b\a\bin\Debug\net5.0\EditlyProfiles\796f75833d0c837cef804c79cb2478b0\MediaFolder\1.mp4 -i https://icons.iconarchive.com/icons/dakirby309/simply-styled/64/YouTube-icon.png -filter_complex "[0:v]fps=30,scale=720:1280:force_original_aspect_ratio=1,pad=720:1280:(ow-iw)/2:(oh-ih)/2,drawtext=textfile=D\:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine1.txt:fontsize=45:fontcolor=white:y=100:x=w-(t+3)*w/8:expansion=none,drawtext=textfile=D\:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine2.txt:fontsize=45:fontcolor=white:y=190:x=w-(t+1)*w/8:expansion=none,drawtext=textfile=D\:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine3.txt:fontsize=45:fontcolor=white:y=280:x=w-(t+3)*w/8:expansion=none[1:v]overlay=10:10" c:v h264_qsv -b:v 2M -y D:\b\a\bin\Debug\net5.0\EditlyProfiles\796f75833d0c837cef804c79cb2478b0\MediaFolder\resized_1.mp4

What do i wrong here ? Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source