[FFmpeg-devel] how to deal with the situation of full disk

qw applemax82 at 163.com
Thu May 26 03:31:15 CEST 2016


Hi,

In some rare case, when there are huge AV transcoding tasks, disk will become full if old files are not deleted immediately. Then those running transcoding tasks may not work correctly.

In general transcoding application, av_interleaved_write_frame() and av_read_frame() are used to write out av packets and make media files, such as mp4, flv, and mkv.

Can the two functions or other ffmpeg functions detect the disk status and report error when disk is full? And how to know via ffmpeg lib whether disk is full or not?

Thanks!

B.R.

Andrew


More information about the ffmpeg-devel mailing list