sannies / mp4parser

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

Get the buffer from Mp4Writer out #328

Closed aqzwss closed 6 years ago

aqzwss commented 6 years ago

Hi, I see Writer can only take WritableByteChannel for out writting, and could I read the written buffer directly in memory without file saving? I search the whole JDK and still not found one way to realize that, just found ByteBufferByteChannel in project but also dont know how to use it gracefully. public StandardMp4Writer(List<StreamingTrack> source, WritableByteChannel sink)

Pls forgive my poor English. Need your help.

Thx in advance.