Hi, I've encountered a problem while using this lib.
Sometimes, when I tried to process a video (trim, scale, and transcode all in one command), ffmpeg will read the metadata of said video, but then nothing. I've put log in every callback to print the message (if any) and progress state. onStart() always run just fine. But, during onProgress() the message just stop after showing the video metadata, no message showing any process happening.
I've tried with multiple commands, from simple ones (just copy the video) to more complex, but sometimes it just happens. I've tried waiting for nearly an hour to see if it will eventually 'work' but it still shows nothing. The process itself (when it works fine) should only take about 2-3 minutes with the video I'm testing with.
This is how I call ffmpeg. Note: I'm testing mainly testing with BlueStacks4, no instant run, but testing in physical device still, although not as often as BS4, gave me this issue.
Hi, I've encountered a problem while using this lib.
Sometimes, when I tried to process a video (trim, scale, and transcode all in one command), ffmpeg will read the metadata of said video, but then nothing. I've put log in every callback to print the message (if any) and progress state.
onStart()
always run just fine. But, duringonProgress()
the message just stop after showing the video metadata, no message showing any process happening.I've tried with multiple commands, from simple ones (just copy the video) to more complex, but sometimes it just happens. I've tried waiting for nearly an hour to see if it will eventually 'work' but it still shows nothing. The process itself (when it works fine) should only take about 2-3 minutes with the video I'm testing with.
This is how I call ffmpeg. Note: I'm testing mainly testing with BlueStacks4, no instant run, but testing in physical device still, although not as often as BS4, gave me this issue.
This is how the log appears in my logcat (formatted to make it a bit readable).