0

I am trying to find out why the result of using scale2ref with overlay complex filters is returning audio-only mp4 output.

ffmpeg -i input.mp4 -i watermark.png -filter_complex "[1][0]scale2ref=w=oh*mdar:h=ih*0.1[logo][video];[video][logo]overlay=5:H-h-5" -c:a copy output.mp4

If I remove the scale2ref filter, then the output is a mp4 video.

ffmpeg -i input.mp4 -i watermark.png -filter_complex "overlay=5:H-h-5" -c:a copy output.mp4

One of the differences between the two is this line in the output:

[vost#0:0/libx264 @ 0x10f605de0] No filtered frames for output stream, trying to initialize anyway.

I am new to ffmpeg, any help will be appreciated.

Link to the log file

New contributor
Sushil is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

You must log in to answer this question.

Browse other questions tagged .