sannies / mp4parser

A Java API to read, write and create MP4 files
Apache License 2.0
2.75k stars 566 forks source link

MP4 files generated with mp4parser wont play in chrome. #335

Open AdithyanI opened 6 years ago

AdithyanI commented 6 years ago
        Movie movie = MovieCreator.build("/tmp/Sintel_trailer.mp4");
        Mp4Builder builder = new DefaultMp4Builder();
        Container c = builder.build(movie);
        WritableByteChannel wbc = new FileOutputStream("/tmp/Sintel_trailer_isoparser.mp4").getChannel();
        c.writeContainer(wbc);

The /tmp/Sintel_trailer_isoparser.mp4 wont play in chrome. The first frame of the video gets displayed, the video playback is stuck. The audio still plays in the background.

x011 commented 5 years ago

Such a nice project but there's no feedback from developers. Did you manage to solve this?

hiamex commented 1 year ago

Same issue here, did you find a solution for this? could you do it another way to get it working? @AdithyanI

Thanks!