Hi!

FFmpeg should print a warning when the non-flipped version of vp6 is muxed 
into flv: The feature was requested and is used.
Related to ticket #4132.

Please comment, Carl Eugen
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:
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to