Closed Mr-Ramzan closed 4 years ago
I can't see mobile-ffmpeg
version in your logs. It this a local built or a published binary from jcenter
/github
?
implementation 'com.arthenica:mobile-ffmpeg-full:4.3.2'
i have no idea of the version i used above line in gradle
It is 4.3.2
. Can you try running the same command using 4.4
?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@tanersener I have a similar issue. I am trying to contact a set of videos from .txt
file and get error:
Error while opening decoder for input stream #0:1 : Function not implemented
Log:
Duration:
N/A
, start:
0.000000
, bitrate:
864 kb/s
Stream #0:0
(eng)
: Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 770 kb/s
,
30 fps,
30 tbr,
30k tbn,
60 tbc
Metadata:
handler_name :
Apple Video Media Handler
timecode :
00:00:00:00
Stream #0:1
(eng)
: Audio: aac, 0 channels, fltp
Metadata:
handler_name :
Snap Audio
[aac @ 0x76d08a7800] Audio object type 0
[aac @ 0x76d08a7800] is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Stream mapping:
Stream #0:0 -> #0:0
(copy)
Stream #0:1 -> #0:1
(aac (native) -> aac (native))
er: roundDifference: 0
Error while opening decoder for input stream #0:1 : Function not implemented
er: payloadLength: 15552, maxPayloadLength: 15552
Conversion failed!
roundDifference: 0
payloadLength: 51000, maxPayloadLength: 51000
roundDifference: 0
payloadLength: 15552, maxPayloadLength: 15552
Lib version: com.arthenica:mobile-ffmpeg-full-gpl:4.4.LTS
Can you mention the Android SDK you are yousing and file system code that you are accessing and providing it to ffmpeg
SDK API 29. And the file that I am using it is a video from the application folder(.../Android/data/my.application.package/myvideos.txt)
Use SDK 28 and perform the same action.
Mine got resolved like so...
Binaries like FFmpeg are not allowed to access apps default dirs
Description Getting "Error while opening decoder for input stream #0:1 : Function not implemented" in the logs for failed execution of Command for encoding video
Expected behavior The video should be Compressed or encoded to the given command.
Current behavior It worked on like App Videos but Not On Device's videos[recoded].
Screenshots If applicable, add screenshots to help explain your problem.
Logs
Environment