libx264 Android - Application exits / fails with no ADB logs #234
Unanswered
hemantkathuria
asked this question in
Q&A
Replies: 1 comment
-
Hello All, I got some inputs to optimize the frame size and some more command line parameters and after that the app has stopped crashing. So, in a nut shell, we have to configure FFMPEG right on phone and it works |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello All,
I am trying to use ffmpeg-kit in Android phone for streaming video and audio. Here is the command which i am using.
On emulator, i am able to see the camera output broadcasted but not able to validate if it is capturing audio.
But when i deploy the app on phone, it fails with in 10 secs and there is no log capture in ADB logs. I am not getting clue why it is exiting without even giving the dialog that app has failed. Please advice? Is FFMPEG eating lot of memory and cpu? Any optimization flags you can suggest? I am ok to have lowest minimal resolution also.
-re -input_queue_size 600 -f android_camera -i 0:0 -c:v libx264 -vprofile baseline -preset ultrafast -tune zerolatency -g 25 -r 25 -pix_fmt yuv420p -c:a libfdk_aac -ac 2 -ar 44100 -f flv rtmps://xxxxxx.channel.media.azure.net:2935/live/xxxxx/stream
Thank you
Beta Was this translation helpful? Give feedback.
All reactions