UGeorge <[email protected]> added the comment:
i used this:
> -noframedrop -an -vf "scale=1024:693"
> /home/gat/DIESEL/TEST_FP24/PF24_60Seconds.MTS
this works, and appears to be fairly fast on a pIII/700Mhz laptop.
It does seem like one has to feed in the minimum of screen size and
video frame size. Feeding in a large video frame size seems to screw up
things.
==========================================
> Breakpoint 3, alloc_picture (opaque=0xb7238020) at ffplay.c:1328
> 1328 vp->bmp = SDL_CreateYUVOverlay(vp->width, vp->height,
> (gdb) n
> 1332 SDL_LockMutex(is->pictq_mutex);
> (gdb) p *vp
> $12 = {pts = 0, target_clock = 0, pos = 0, bmp = 0x8c53820, width = 1024,
> height = 693, allocated = 0, pix_fmt = PIX_FMT_YUV420P, picref = 0x0}
> (gdb) p *vp->bmp
> $13 = {format = 842094169, w = 1024, h = 693, planes = 3, pitches = 0x8c304a8,
> pixels = 0x8c55f08, hwfuncs = 0x86b4a40, hwdata = 0x8c3e6d0, hw_overlay = 1,
> UnusedBits = 0}
> (gdb) p vp->bmp->pitches[0]
> $14 = 1024
> (gdb) p vp->bmp->pitches[1]
> $15 = 512
> (gdb) p vp->bmp->pitches[2]
> $16 = 512
> (gdb) l
> 1327
> 1328 vp->bmp = SDL_CreateYUVOverlay(vp->width, vp->height,
> 1329 SDL_YV12_OVERLAY,
> 1330 screen);
> 1331
> 1332 SDL_LockMutex(is->pictq_mutex);
> 1333 vp->allocated = 1;
> 1334 SDL_CondSignal(is->pictq_cond);
> 1335 SDL_UnlockMutex(is->pictq_mutex);
> 1336 }
> (gdb)
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2079>
________________________________________________