[FFmpeg-devel] PAFF Unsupported Sample

Dikran Hovagimian dikran
Thu Oct 25 14:49:18 CEST 2007


This is my first post in the list.  Sorry if I am breaking any rules.

This patch:

--- mpegvideo.c~        2007-10-25 05:42:50.000000000 -0700
+++ mpegvideo.c 2007-10-25 05:42:50.000000000 -0700
@@ -961,7 +961,7 @@
     if(s->pict_type != I_TYPE && (s->last_picture_ptr==NULL || 
s->last_picture_ptr->data[0]==NULL) && !s->dropable){
         av_log(avctx, AV_LOG_ERROR, "warning: first frame is no 
keyframe\n");
         assert(s->pict_type != B_TYPE); //these should have been 
dropped if we don't have a reference
-        goto alloc;
+        return -1;
     }
 
     assert(s->pict_type == I_TYPE || (s->last_picture_ptr && 
s->last_picture_ptr->data[0]));


fixes the problem playing this sample using ffplay:

//http://x264.nl/h.264.samples/force.php?file=./25.aug.2007/canal.plus.film.hd.poland.1920x1080.paff.25.aug.2007.ts
//


However, there are a problems with the playback.  Some large blocks of 
video are off on edges of moving objects.  In addition, the following 
message is repeated continuously:

[h264 @ 0xb7dc28f0]Interlaced pictures + spatial direct mode is not 
implemented





More information about the ffmpeg-devel mailing list