[FFmpeg-user] 10-bit color x11grab

amindfv at mailbox.org amindfv at mailbox.org
Wed May 4 21:09:13 EEST 2022


In the spirit of "patches welcome" I've tried to fix this on my own. Patch attached.

Currently I'm hitting this error:

    Error while decoding stream #0:0: Invalid argument
    [rawvideo @ 0x55b961f49180] Invalid buffer size, packet size 3145728 < expected frame_size 4718592

I'd appreciate any help!
Tom

On Fri, Apr 29, 2022 at 12:47:06PM -0700, amindfv--- via ffmpeg-user wrote:
> With the latest git version on Debian, I try and screen record.
> 
> My system is set up for 10-bit color, which I assume is the "mapping pixmap format" issue.
> 
> Is anyone working on - or willing to work on - adding support for this pixel format? It would be very appreciated!
> 
> Thanks,
> Tom
> 
> $ ./ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4
> ffmpeg version N-106747-g3415028d13 Copyright (c) 2000-2022 the FFmpeg developers
>   built with gcc 10 (Debian 10.2.1-6)
>   configuration:
>   libavutil      57. 24.101 / 57. 24.101
>   libavcodec     59. 27.100 / 59. 27.100
>   libavformat    59. 23.100 / 59. 23.100
>   libavdevice    59.  6.100 / 59.  6.100
>   libavfilter     8. 37.100 /  8. 37.100
>   libswscale      6.  6.100 /  6.  6.100
>   libswresample   4.  6.100 /  4.  6.100
> [x11grab @ 0x5574a7e12140] Mapping this pixmap format is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
> :0.0+100,200: Not yet implemented in FFmpeg, patches welcome
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11grab10bit.patch
Type: text/x-diff
Size: 5219 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20220504/b102529b/attachment.patch>


More information about the ffmpeg-user mailing list