Questions tagged [mp4parser]

Provides a Java API for parsing MP4 files.

Provides a Java API for parsing MP4 files.

The isoparser API can read and write the MP4 file structure. It is a low level tool dealing with the so called boxes but it is as well as dealing with structures like tracks and movies.

The Iso Viewer helps to visualize the MP4 box structure. It is available as a Java Webstart application and as well as download.

The project home is https://github.com/sannies/mp4parser

Typical tasks for the MP4 Parser are:

  • Muxing audio/video into an MP4 file
  • Append recordings that use same encode settings
  • Adding/Changing metadata
  • Shorten recordings by omitting frames
172 questions
0
votes
0 answers

Merging mp4 files with mp4parser

I need to merge 2 videos together both are mp4 and all other parameters are the same. The problem is when i have a big size file I cannot merge it i get a null pointer exception. Here is the part were I think I went wrong but can't figure out the…
0
votes
1 answer

Android - Installing Mp4Parser without Maven

It's supposed to be very simple, but for a day I couldn't find a solution. I'm trying to follow the example in http://andrey.chernih.me/2014/06/28/video-recording-and-processing-in-android/ ( Muxing Audio ) So I've added to my project's libs…
Miko Diko
  • 944
  • 1
  • 13
  • 33
0
votes
1 answer

mp4parser AppendTrack Error java.lang.NullPointerException

this is the error : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.googlecode.mp4parser.boxes.mp4.ESDescriptorBox.getContentSize(ESDescriptorBox.java:60) at…
0
votes
2 answers

Android mp4parser add audio overlay

I an creating an app witch merge videos and add mp3 audio overlay. With merging videos i have no problems, but audio not playing in output video. Here is my code: Movie[] inMovies = new Movie[count]; for (int i = count - 1; i >= 0; i--)…
androidAnonDev
  • 459
  • 3
  • 5
  • 13
0
votes
1 answer

I Have Select One Video and Audio file and now I Want To add My Selected Audio/Sound in to My Video

I Have Select One Video and Audio file and now I Want To add My Selected Audio in to Video And I Want to Save The output file in .mp4 in external or internal Storage directory I search on Google and Found that ffmpeg,mediaMuxer,mp4parser but i can…
0
votes
0 answers

FileNotFoundException in when using mp4parser

I am using this code to merge an audio with a video into a single file . String baseDir = Environment.getExternalStorageDirectory().getAbsolutePath(); String video = "android.resource://" + getPackageName() + "/" + R.raw.yakoob; String…
0
votes
1 answer

Error while adding mp4parser library to a project in android studio

I'm trying to use mp4parser library in my project. My android studio version is 1.0.2. Here's what I've done so far: I've downloaded mp4parser zipfile from the link: https://github.com/sannies/mp4parser I've extracted the zip file to…
0
votes
1 answer

Updating isoparser-1.0-RC-37 from isoparser-1.0-RC-15 issues in getDecodingTimeEntries()

I found sample code to cut the video based on the duration from Link, but i cannot find method getDecodingTimeEntries() in isoparser-1.0-RC-37. It's available in the older version of isoparser(-1.0-RC-15). So my question are. Why that methode…
Rakki s
  • 1,426
  • 1
  • 18
  • 42
0
votes
1 answer

No user data box for video captured from android using mp4parser in android

I am trying to wirte metadata information using mp4parser but in my code I am getting userDataBox Empty in case of video captured by android but in case of other video (I have tested with downloaded vide) it is not empty and I was added metadata…
Jitendra Prajapati
  • 1,002
  • 1
  • 10
  • 33
0
votes
1 answer

Can't pause or stop while recording audio

This is my code: RecordActivity.java public class RecordActivity extends ActionBarActivity { protected static final String TAG = "RecordActivity"; private ImageButton start_btn,pause_btn,stop_btn; private MediaRecorder myrecorder = null; long…
Srijith
  • 1,695
  • 17
  • 29
0
votes
1 answer

how to create ts (transport stream) video file from mp4 in android

In my project I need to implement an HLS (HTTP live Streaming) for an android device and it stream to an iOS device to play where android device will record the video and send it to server and iOS device will play the stream from the server using an…
0
votes
1 answer

Mirror Video in android using mp4Parser?

How can I create the mirrored value of a video using mp4Parser. If it is possible what value for matrix will work. Please help me..
Mahesh
  • 974
  • 6
  • 12
0
votes
1 answer

mp4parser rotate and save video

I need to rotate a video by 90 degrees in my Android project. After some googling I stopped at mp4parser which can be integrated with Android. The video is stored on the device and will be saved there also (not sure if with a different name, but…
Alex
  • 191
  • 1
  • 10
0
votes
1 answer

MP4Parser Nullpointer Exception

I'm facing a problem to append an audio, that I recorded using android.media.MediaRecorder.MediaRecorder() to a video that I took using the camera intent. Basically, when I try to do this: Movie s = MovieCreator.build(audioPath); I get an…
fcberg
  • 764
  • 13
  • 29
0
votes
0 answers

Problems appending video:

My question is much like the one described in this post: Cant append to video in Android, only have been unable to use an updated jar to fix my problem (I am currently using is isoviewer-1.0-RC-26). The following is my code: private Uri…
user2766642
  • 51
  • 1
  • 4
1 2 3
11
12