[FFmpeg-devel] [PATCH]Recognize more extensions to encode raw hevc.

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Nov 24 00:44:34 CET 2015


Hi!

Attached patch allows more extensions for hevc, as requested on the user 
mailing list.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c
index 7a1a3d0..9474ed1 100644
--- a/libavformat/rawenc.c
+++ b/libavformat/rawenc.c
@@ -238,7 +238,7 @@ AVOutputFormat ff_h264_muxer = {
 AVOutputFormat ff_hevc_muxer = {
     .name              = "hevc",
     .long_name         = NULL_IF_CONFIG_SMALL("raw HEVC video"),
-    .extensions        = "hevc",
+    .extensions        = "hevc,h265,265",
     .audio_codec       = AV_CODEC_ID_NONE,
     .video_codec       = AV_CODEC_ID_HEVC,
     .write_header      = force_one_stream,


More information about the ffmpeg-devel mailing list