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
1
vote
3 answers

How to write metadata to mp4 file using mp4parser?

I'm using mp4parser to mux h264 and aac file which are re-encoded from orginal video file,how can I write the metadata of the original video to the new mp4 file? Or is there a common method to write metadata to mp4 file?
Frank Bush
  • 111
  • 3
  • 11
1
vote
2 answers

It takes too long time to mux h264 into mp4 file using mp4parser

I'm using mp4parser to mux h264 file and aac file into mp4 file.And the code is as belows. String h264Path = "path to my h264 file, generated by Android MediaCodec"; DataSource videoFile = new FileDataSourceImpl(h264Path); …
Frank Bush
  • 111
  • 3
  • 11
1
vote
1 answer

Rotation tag mp4parser android

I'm trying to get the rotation information in the MP4 video, I'm trying to use mp4parser for this but I'm not sure how can I get it, I'm doing this, IsoFile isoFile = null; try { isoFile = new IsoFile(filePath); } catch (IOException e) { …
Adroid Freak
  • 329
  • 3
  • 18
1
vote
1 answer

mp4 parser - sample description box entries differ

[I have found below link upon stackoverflow but it does not match my requirements. I am trying to append videos by presenting a custom gallery to user in which all the videos stored in sdcard is displayed and the user has to select any number of…
Namrata Bagerwal
  • 1,202
  • 13
  • 27
1
vote
1 answer

Compress video in android using mp4parser

I was reading about the mp4Parser library on the internet and was unable to find any tutorial through which i can compress a video stored on the sdcard. All the tutorials links i find on the web gives a 404 error. Any help is appreciated.
mudit
  • 25,306
  • 32
  • 90
  • 132
1
vote
0 answers

library to be included for Cutting Multiple clips from a Movie apart from mp4parser Library

I am using mp4parser library to merge multiple videos and could succesfully merge videos through mp4parser library in android. But now i want to slice these whole video for which i am using the below code. But there is a package name: …
1
vote
0 answers

mp4Parser AppendExample gives NPE

What steps will reproduce the problem? Create a movie, add an audio track and a video track of almost 3-4 mins. Try to create the Container It takes a lot of time and then gives a null pointer exception What is the expected output? What do you see…
Aakash
  • 1,860
  • 19
  • 30
1
vote
1 answer

Combine 2 .mp4 videos

How do i combine two .mp4 videos? I saw in google that I need to use mp4parser but the thing is, i don't know how to use it. I downloaded and added the mp4parser library to my project in eclipse. Can anyone give me a tutorial or any link for a…
1
vote
1 answer

Is there any way to merge more than 2 videos?

I need to pragmatically merge/append 6 videos into a single one. mp4Parser seemed to be a good solution but I have found no way of merging/appending more than 2 videos. I get always this exception: 02-15 14:10:20.113: E/ERRORE(18781):…
Lisa Anne
  • 4,482
  • 17
  • 83
  • 157
1
vote
1 answer

How to boost MP4 video volume in Android

How to programmatically boost the MP4 video volume just like MX player can increase the volume up to 200% Any help would be appreciated.
ZeeShaN AbbAs
  • 1,365
  • 2
  • 15
  • 31
1
vote
0 answers

mp4parser examples doesnt work

I'm trying to run a mp4parser sample from: https://mp4parser.googlecode.com/svn/trunk/examples/src/main/java/com/googlecode/mp4parser/ and during its running getting to the following function, inside the function we try to load each URL from…
Nativ
  • 3,092
  • 6
  • 38
  • 69
1
vote
2 answers

Audio & Video not synchronized properly if i merged more videos in mp4parser

I have used mp4parser for merging video with dynamic pause and record video capture for max 6 second recording. In preview its working fine when recorded video with minimum pause/record, If i tried with more than 3 pause/record mean the last video…
1
vote
0 answers

Cant append to video in Android

I am using an mp4 parser for appending video. My problem is that I'm not able to append videos. I am getting such errors as BufferUnderFlow Exception. Can anyone tell me where I might have made a mistake? This is my code: public class MainActivity…
Giridharan
  • 4,402
  • 5
  • 27
  • 30
1
vote
2 answers

Using Mp4Parser, If I append more videos, the audiostream gest out of sync

As i said, with more videos I do, the audio gets more and more out of sync. How can i fix this? I have the following code to append the videos; public class ConcatenateVideos extends ExecutorAsyncTask { private…
rosu alin
  • 5,674
  • 11
  • 69
  • 150
1
vote
1 answer

Mp4Parser for Android

I am trying to parse a video using mp4Parser. Now the online code works fine But When I try to run it for android, it gives an Error. The problem seems to be with Movie movie = MovieCreator.build(new…
user1806072
  • 11
  • 1
  • 2