Open aza1200 opened 2 months ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
If there is a difference in behaviour, then outputs from local ffmpeg
and react-native-ffmpeg-kit
must be compared to understand the issue.
Hello,
I am using react-native-ffmpeg-kit to encode a video with the following FFmpeg command:
It works on local mac - ffmpeg(not-native-ffmpeg-kit) However, when I run this command on react-native ios simulator, I receive the following error message:
Environment: FFmpeg version: 60.3.100 (via react-native-ffmpeg-kit) H.264 codec, 30 fps, 1220 kbps Command options: Video codec: hevc_videotoolbox Resize: 1920x1080 Video bitrate: 3000k Frame rate: 30 fps Audio codec: aac Other: -movflags +faststart Issue: It seems there’s an issue with the encoder (hevc_videotoolbox) while initializing the output stream. The error message suggests that the problem might be related to incorrect parameters, but I’m not sure which parameters are causing the issue (bitrate, resolution, frame rate, or something else).
Has anyone experienced this issue before? Any help or insights on how to resolve this would be greatly appreciated!
Thank you in advance!