[FFmpeg-cvslog] Print a warning if vp6 is muxed into flv: The output is flipped.

Carl Eugen Hoyos git at videolan.org
Sun Nov 23 15:19:35 CET 2014


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Nov 23 13:22:27 2014 +0100| [78093cf849b6de66d8e0d5ac2e4005592b6a0e08] | committer: Carl Eugen Hoyos

Print a warning if vp6 is muxed into flv: The output is flipped.

Fixes ticket #4132.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=78093cf849b6de66d8e0d5ac2e4005592b6a0e08
---

 libavformat/flvenc.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index a8cd994..5468c4d 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -355,6 +355,9 @@ static int flv_write_header(AVFormatContext *s)
                            "use vstrict=-1 / -strict -1 to use it anyway.\n");
                     return AVERROR(EINVAL);
                 }
+            } else if (enc->codec_id == AV_CODEC_ID_VP6) {
+                av_log(s, AV_LOG_WARNING,
+                       "Muxing VP6 in flv will produce flipped video on playback.\n");
             }
             break;
         case AVMEDIA_TYPE_AUDIO:



More information about the ffmpeg-cvslog mailing list