Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpeg is not canceling using FFMpeg.cancel and with FFmpeg.cancel(exeID); it working behind the scene #1024

Open
qasimali09 opened this issue Aug 21, 2024 · 1 comment

Comments

@qasimali09
Copy link

Description
Closing the session using FFmpegKit.cancel(sessionId) does not close the session.

Expected behavior
Session should be closed.

Current behavior
Working well in iOS simulator but not in real iOS device

To Reproduce
Create a session with the command -i input.mp4 -c:a copy -c:v h264_videotoolbox -vf scale=width:height -b:v bitrate output.mp4
Cancel it using FFmpegKit.cancel(sessionId) or FFmpegKit.cancel()

Environment

  • Platform: iOS
  • Architecture: arm64
  • Version: v5.1/v5.1.LTS
  • Source branch: main
  • Xcode version: 15.4
  • Cocoapods version: 1.15.2
@gregoireLem
Copy link

Same, I used this hack to globally kill all ffmpeg process : FFmpegKit.execute("-t 0")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants