Closed Snow-Chen closed 1 year ago
You'll need to make sure FFmpegFrameRecoder.stop() gets called.
You'll need to make sure FFmpegFrameRecoder.stop() gets called.
yes,I do call FFmpegFrameRecorder.stop()
There are other possible reasons cause this problem?
Make sure you're not using OutputStream, the mp4 format doesn't support streams well.
Make sure you're not using OutputStream, the mp4 format doesn't support streams well.
almost all the video format except avi can not work,I have tried mp4 wmv flv I use FFmpegFrameGrabber to grabber frame from flv stream address like "http://xxx.flv” then try to record frame and save to local mp4 file by FFmpegFrameRecoder
FFmpegFrameRecorder(String filename, int imageWidth, int imageHeight, int audioChannels)
Isn't that supported?
hi saudet, thank you for your help. I've found out the reason for the failture. It's my mistake. FFmpegFrameRecoder.stop() should be called before FFmpegFrameRecoder.release()
when i use FFmpegFrameRecorder record video from flv, and try to save video as mp4 format, unfortually the mp4 file can not play succeessly when i run commad "ffmpeg -i hello.mp4", there is error like this: [mov,mp4,m4a,3gp,3g2,mj2 @ 0000019b4822d740] moov atom not found