[Bug 98278] Corrupted videos VA-API HW encoding radeonsi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 8 on bug 98278 from
(In reply to Tom from comment #1)
> mpv, vlc players show constant errors every .5 sec:
> 
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20

If your gstreamer is the latest, they have changed the default profile from
baseline to high which tries to use b-frames, but they are not yet
supported/working.

I don't think dct8x8=true will do anything, though I could be wrong.

I notice your command used matroskamux, which is good, but you call the file
mp4 - it will likely ignpre that and make mkv. For screen recording with
gstreamer I would avoid mp4 as when you stop it it hasn't for me finalized
properly = unplayable file. Maybe I am just crap with gstreamer and control c
is not the best way to stop it!

Something like this should work, though 3Mbit will be way too low if much is
happening when recording recording 1080p60, cqp may be a better choice - but
then it will potentially use far more bits and everything may grind to a halt
(by default) when Linux does one of its all stopping flushes to disk (though
there are workarounds)

Pasted from notes, not intended to be better that anything else, just an
example - could/should be improved as needed (eg. how to use 709 for CSC as
players will tend to assume 1080p is 709.

gst-launch-1.0 -f ximagesrc use-damage=0 startx=0 starty=0 endx=1919 endy=1079
! queue ! videoconvert ! video/x-raw,framerate=60/1,format=NV12  ! queue !
vaapih264enc rate-control=cbr bitrate=3000 ! video/x-h264,profile="" !
h264parse ! matroskamux ! filesink location=out.mkv


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux