Search found 2 matches

Go to advanced search

by dave4444
21 Apr 2006 00:37
Forum: General VLC media player Troubleshooting
Topic: BUG: truncated png snapshots (with fix)
Replies: 2
Views: 2312

perhapse alloc based on Width*Height*Depth? That should give a reasonable buffer given a worst-case (uncompressible) still image.
by dave4444
20 Apr 2006 05:37
Forum: General VLC media player Troubleshooting
Topic: BUG: truncated png snapshots (with fix)
Replies: 2
Views: 2312

BUG: truncated png snapshots (with fix)

In modules/codec/ffmpeg/encoder.c AVCODEC_MAX_VIDEO_FRAME_SIZE is set to 3MB, however this is not large enough for some complex 1080i content. If the image is complex enough avcodec_encode_video() will hit 3MB and produce a truncated png snapshot file. I've increased the limit to 8MB in my build and...

Go to advanced search