#8377: Using kmsgrab + h264_vaapi with audio causes stutter
-------------------------------------+-------------------------------------
             Reporter:  asineth      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by 0x53ee71ebe11e):

 * version:  unspecified => git-master


Comment:

 I have the very same problem. I added a short video demonstrating the
 stuttering. If you step through the video frame by frame, you can see that
 the frames are in an incorrect order. The stuttering only happens when
 also recording audio.

 Ubuntu 19.10
 kernel 5.6.7-050607-generic
 gpu: RX 5600 XT
 gpu drivers from https://launchpad.net/~oibaf/+archive/ubuntu/graphics-
 drivers
 ffmpeg from git master

 $HOME/ffmpeg/ffmpeg \
     -v 9 -loglevel 99 \
     -threads 8 \
     -thread_queue_size 512 \
     -f kmsgrab -framerate 59.4 -i - \
     -f pulse -i default \
     -map 0 \
     -map 1 \
     -vf 'hwmap=derive_device=vaapi,scale_vaapi=1920:1080:nv12' -c:v
 h264_vaapi -qp 40 \
     -c:a libmp3lame -ab 128k \
     -t 2 \
     /tmp/output.mp4 >/tmp/ffmpeglog.txt 2>&1

 video and debug output added as attachment

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8377#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to