You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.
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
[ @ 0x7aebbdc180] [Eval @ 0x7aebbdbaf0] Undefined constant or missing '(' in 'empty_output_stream'
[ @ 0x7aebbdc180] Unable to parse option value "empty_output_stream"
Failed to set value 'empty_output_stream' for option 'abort_on': Invalid argument
Error parsing global options: Invalid argument
Environment
Platform: Android
Version (if applicable) 4.4.LTS
Android Studio version (if applicable) 4.1.2
Android NDK version (if applicable) 22.0
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: