- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to cut a few segments from a video file and save each one an individual file.
The code below glues all the segments and stores them in a single file.
mediaComposer.addSourceFile(...); mediaComposer.setTargetFile(...); //... final MediaFile mediaFile = mediaComposer.getSourceFiles().get(0); mediaFile.addSegment(segment()); mediaComposer.start();
Reusing MediaComposer causes an error.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dmitrii,
It seems like you're using Media pack for mobile, but this forum is dedicated to Media SDK and Media Server Studio.
Media for mobile became open source, so you can ask your questions here: https://github.com/INDExOS/media-for-mobile ;
Best wishes,
Anna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Em... Media pack is actually much difficult for me to operate independently. Need a guide to follow. Now I have prepared some alternatives on my computer, which are Joyoshare Media Cutter and Bandicut to cut videos to small segments losslessly.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page