Opened 4 years ago

Closed 4 years ago

#8755 closed defect (invalid)

x11grab input device produces unplayable video on browsers and phones

Reported by: huupoke12 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: Recording desktop with encoder libx264 with input device x11grab will produce an unplayable videos on browsers and phones.
The bug only happens with x11grab. Encoding regular video files doesn't have this problem.
Where it can't play: Firefox (Desktop), built-in video player of "Files" system app on Android 9, VLC on Desktop with VDPAU hardware acceleration.
Where it can play: ffplay, VLC on Desktop with hardware acceleration disabled, VLC on Android.

How to reproduce:

% ffmpeg -f x11grab -i $DISPLAY -vcodec libx264 ~/screenrecord-git_h264.mp4
ffmpeg version: git-master 24d1781cbd72468146f5361687ab6925a5f791fe
built on Arch Linux

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 by Carl Eugen Hoyos, 4 years ago

Keywords: x11grab removed
Resolution: invalid
Status: newclosed
Version: git-masterunspecified

Please post all usage questions on the user mailing list, this is a bug tracker.
(Missing -pix_fmt yuv420p)

Note: See TracTickets for help on using tickets.