-
Notifications
You must be signed in to change notification settings - Fork 626
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
Encoding from network takes ages compared with FFmpeg-mobile library #11
Comments
Thanks for reporting this. I see the same issue as well but I'm not sure about the reason. I need to run some tests to understand what is happening there. |
My tests show that this commit, 70d8077b795766e2486e6ec8110f22a97362d6d6, on Ideally, this issue must be reported to |
Cool, thanks a lot. |
Created this ticket on
|
Sure, no problem. |
This issue is fixed on |
Fixed in |
I'm using this command to encode a video from web:
-y -reconnect 1 -i https://snapcellvideos.s3.amazonaws.com/manual/24/manualupload_16098586962947166522.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 /output_path/output_file.mp4
With
FFmpeg-mobile
library it takes around 100 seconds to encode it but withFFmpeg-kit
it takes 639 secondsI've check with local videos and it takes the same aprox, so the problem is related to videos from web
Version: com.arthenica:ffmpeg-kit-full-gpl:4.4.LTS
The text was updated successfully, but these errors were encountered: