mp4parser
mp4parser copied to clipboard
A Java API to read, write and create MP4 files
How do I add a bitmap or png file to an mp4 file?
I am trying to join an audio(aac) and video(mp4) file, but I am getting below errors: ``` May 11, 2020 10:50:51 PM org.mp4parser.muxer.tracks.h264.H264TrackImpl readSamples WARNING: Unknown NAL unit type: 19...
Hi. Maybe this has been reported before. I have this method below that merges my videos into a final mp4 file. However. When I record with the front camera first...
The library sucks from the first line of code: H264TrackImpl h264Track = new H264TrackImpl(new FileDataSourceImpl(baseDir + "/sample2.mp4")); java.lang.IndexOutOfBoundsException: index=0 out of bounds (limit=0) at java.nio.Buffer.checkIndex(Buffer.java:528) at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:212) at com.googlecode.mp4parser.authoring.tracks.h264.H264TrackImpl.getNalUnitHeader(H264TrackImpl.java:96) at...
iam getting an NullPointerException when reading my h264 file using H264AnnexBTrack public static void main(String[] args) throws Exception { String file = "video.h264"; H264AnnexBTrack h264 = new H264AnnexBTrack(new FileInputStream(file)); AtomicInteger...
do we have any Other for ios platform? It's difficult to do it with AvAssetWriter.
I regret that I forked this project so that I could make some quick improvements for robustness for the next release of Apache Tika. Fuzzing found some infinite loops and...
`Movie movie = MovieCreator.build(videopath); AACTrackImpl aacTrack = new AACTrackImpl(new FileDataSourceImpl(audiopath)); CroppedTrack aacCroppedTrack = new CroppedTrack(aacTrack, 1, aacTrack.getSamples().size()); movie.addTrack(aacCroppedTrack); Container mp4file = new DefaultMp4Builder().build(movie); FileOutputStream fileOutputStream = new FileOutputStream(output); FileChannel fc...