There is a task for a given time frame (seconds or milliseconds) to cut a piece of mp4 video. The video is on another device. It is available via samba ( use jcifs )
1) I tried to find a ready-made library using ffmpeg. Found this one . As it turned out, it does not support even http. Not to mention smb.
2) I tried to use mp4parser , but I was faced with the fact that I could not make friends with jcifs and mp4parser
3) In the end I tried to write my library to perform this task. But this is a bad decision, as comrades tell me.
The next question is how to solve this problem or in which of the described (or by not described directions) I should dig. Should I try my fellow ffmpeg myself and adopt it under the orroyd or I didn’t study mp4parser well enough? Maybe a samopisnaya library is not such a bad decision?