Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Error with -abort_on empty_output_stream #671

Closed
buntupana opened this issue Jan 30, 2021 · 3 comments
Closed

Error with -abort_on empty_output_stream #671

buntupana opened this issue Jan 30, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@buntupana
Copy link

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
@tanersener tanersener self-assigned this Feb 8, 2021
@tanersener tanersener added the enhancement New feature or request label Feb 8, 2021
@tanersener
Copy link
Owner

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.

@github-actions
Copy link

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.

@tanersener
Copy link
Owner

This project will be retired. Please consider switching to FFmpegKit. This issue is fixed there.

@tanersener tanersener added the wontfix This will not be worked on label Apr 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants