B Bryan Joyce Member Licensed User Longtime User Jul 28, 2017 #1 I have a video file (mp4) and I want to be able to take a small section of that video and save it to another mp4 file. I am thinking that using an Outputstream is the way to go but don't know how to do this for video. Any help is much appreciated.
I have a video file (mp4) and I want to be able to take a small section of that video and save it to another mp4 file. I am thinking that using an Outputstream is the way to go but don't know how to do this for video. Any help is much appreciated.
Erel B4X founder Staff member Licensed User Longtime User Jul 30, 2017 #2 OutputStream will not help. You need to decode the video and re-encode it. FFMPEG might be useful: https://www.b4x.com/android/forum/pages/results/?query=ffmpeg Upvote 0
OutputStream will not help. You need to decode the video and re-encode it. FFMPEG might be useful: https://www.b4x.com/android/forum/pages/results/?query=ffmpeg
B Bryan Joyce Member Licensed User Longtime User Aug 5, 2017 #3 Thanks Erel. I ended up contacting Moster67 who had a wrapper on an ffmpeg library which does what I need and more. Upvote 0
Thanks Erel. I ended up contacting Moster67 who had a wrapper on an ffmpeg library which does what I need and more.