Could I use VideoWriter to save the video as H.265(HEVC) format?

asked 2018-10-08 10:34:34 -0500

tham gravatar image

OS : windows 10 64 bits Compiler : vc2015 opencv : 3.4.0

Try with following codes, but do not work,
                              cv::VideoWriter::fourcc('H','E','V','C'), //tried with 'H','2','6','5' too
                              static_cast<double>(config_.fps_), video_size_);

Got error messages

OpenCV: FFMPEG: tag 0x43564548/'HEVC' is not found (format 'avi / AVI (Audio Video Interleaved)')'

What kind of error I made?

Lack of dll? If yes, which dll I should use?

Wrong input of fourcc?


edit retag flag offensive close merge delete