Closed Duna closed 3 years ago
-i /storage/emulated/0/DCIM/Camera/20210125_193031.mp4 -vcodec libx264 -c:a copy /storage/emulated/0/DCIM/Camera/file.mp4
- command used
Your screenshot and your logs don't match. If you're running the test app, I suggest testing x264
encoding from the video
tab. It will tell you whether x264
is there or not.
Is there a mapping from linux based ffmpeg command line and this library? it seems when I execute the command line -i /storage/emulated/0/DCIM/Camera/20210125_193031.mp4 -c:v libx264 -c:a copy /storage/emulated/0/DCIM/Camera/file.mp4
in the sample app it trows me the error: Failed to set value 'libx264' for option 'c:v': Option not found
This project uses the same source code as the linux ffmpeg
. It's not the issue here.
Moreover, I tested your command and didn't get an error. I don't know how you set your command, it might be an issue about it.
I just paste it in the sample project in the first fragment
On Wed., Jan. 27, 2021, 20:21 Taner Şener, notifications@github.com wrote:
This project uses the same source code as the linux ffmpeg. It's not the issue here.
Moreover, I tested your command and didn't get an error. I don't know how you set your command, it might be an issue about it.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/tanersener/mobile-ffmpeg/issues/665#issuecomment-768479769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA473QXKO277RCZUUSAOQZ3S4BKTFANCNFSM4WVJDZOQ .
here it is the screenshot
Do you paste the command into the text box on the fragment when your emulator is running?
Nevermind, I succeeded :)
Nevermind, I succeeded :)
I also encountered the same problem, how did you solve it?
Description I have downloaded the sample application with package id: com.arthenica.mobileffmpeg.test and I modified the gradle file accordingly to the Readme to have libx264 vcodec included: implementation 'com.arthenica:mobile-ffmpeg-full-gpl:4.4' or implementation 'com.arthenica:mobile-ffmpeg-full-gpl:4.4.LTS'
Expected behavior When I execute the command -version the codec libx264 should be present in the lib Command used:
-i /storage/emulated/0/DCIM/Camera/20210125_193031.mp4 -vcodec libx264 -c:a copy /storage/emulated/0/DCIM/Camera/file.mp4
Current behavior libx264 is missing
Screenshots file
Logs Parsing a group of options: output url /data/user/0/com.arthenica.mobileffmpeg.test/files/video.mp4. Applying option map (set input stream mapping) with argument [video]. Applying option c:v (codec name) with argument libx264. Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 30. Successfully parsed a group of options. Opening an output file: /data/user/0/com.arthenica.mobileffmpeg.test/files/video.mp4. Unknown encoder 'libx264'
Environment
Other Add any other context about the problem here.