Closed buntupana closed 3 years ago
This issue happens because our fftools_ffmpeg_opt.c is a bit outdated. empty_output_stream
is not one of the options we have there right now. We must update this file from ffmpeg
upstream.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This project will be retired. Please consider switching to FFmpegKit. This issue is fixed there.
Description Experiencing a failed encoding when I use
-abort_on empty_output_stream
but everything is fine when I use-abort_on empty_output
Expected behavior Execute the command as it should
Current behavior The execution will throw result with code 1 with this command:
-y -i example.mp4 -filter_complex "[0:v] pad=iw:'if(gt(iw, ih), iw, ih)':(ow-iw)/2:(oh-ih)/2, crop=iw:iw, scale=-1:480, setsar=1 [clip0]; [0:a] anull [audio0]; [clip0][audio0] concat=n=1:v=1:a=1 [v][a]" -map '[v]' -map '[a]' -c:a aac -c:v h264 -crf 18 -r 30 -preset veryfast -loglevel warning -abort_on empty_output_stream out.mp4
Logs
Environment