readthefuckingmanual.net

[SOLVED] brainfart cropping not supported, this could look slightly wrong ...

Error added: 2008-10-14T18:55:12Z

2 people waiting for the answer...

1 answers found.

Answer 1575 (0.0% helpful)

It's an old bug in the h264 codec for linux.
It has been fixed long ago, but here's the fix:

Index: libavcodec/h264.c
===================================================================
--- libavcodec/h264.c	(revision 15292)
+++ libavcodec/h264.c	(working copy)
@@ -7090,7 +7201,7 @@
         if(sps->crop_left || sps->crop_top){
             av_log(h->s.avctx, AV_LOG_ERROR, "insane cropping not completely supported, this could look slightly wrong ...\n");
         }
-        if(sps->crop_right >= 8 || sps->crop_bottom >= (8>> !h->sps.frame_mbs_only_flag)){
+        if(sps->crop_right >= 8 || sps->crop_bottom >= (8>> !sps->frame_mbs_only_flag)){
             av_log(h->s.avctx, AV_LOG_ERROR, "brainfart cropping not supported, this could look slightly wrong ...\n");
         }
     }else{
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: