sannies / mp4parser

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

when I use FragmentedMp4Builder create a Mp4 File on same android can't play #327

Open mediumoon opened 6 years ago

mediumoon commented 6 years ago

try { Movie movie = MovieCreator.build(path);

        Container out = new FragmentedMp4Builder().build(movie);

        FileOutputStream fos = new FileOutputStream(new File(newPath));
        out.writeContainer(fos.getChannel());
        fos.close();
    } catch (Exception e) {
        e.printStackTrace();
    }

newPath Files can't not play on same android device like oppo 4.4 device