FFmpegTest icon indicating copy to clipboard operation
FFmpegTest copied to clipboard

Modifying read-only buffer error

Open nguyentando opened this issue 10 years ago • 0 comments

I use the sample in your repository (https://github.com/OnlyInAmerica/FFmpegTest) to test muxing by ffmpeg, but it's always get exception. The reason is you modify output buffer of the video encoder in HLSRecorder.drainEncoder(), which is a read-only buffer.

Can you tell me what I have to change to make it work?

Thank you very much!

nguyentando avatar Mar 11 '16 11:03 nguyentando