mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-16 11:28:36 +00:00
This allows users to let videorate fully fill the segments when received EOS or on new segment, removing an arbitrary limit of 25 duplicates which might not be what the user wants (for example on low FPS stream in GES, that sometimes leaded to broken behavior) Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3000>
22 lines
707 B
Plaintext
22 lines
707 B
Plaintext
meta,
|
|
args = {
|
|
"videotestsrc pattern=ball animation-mode=frames ! video/x-raw,format=I420,framerate=1/1,width=320,height=240 ! videorate name=videorate ! video/x-raw,framerate=30/1 ! fakesink sync=true qos=true",
|
|
},
|
|
configs = {
|
|
"$(validateflow), pad=videorate:sink, buffers-checksum=as-id, ignored-event-types={ tag }",
|
|
"$(validateflow), pad=videorate:src, buffers-checksum=as-id, ignored-event-types={ tag }",
|
|
},
|
|
handles-states=true,
|
|
ignore-eos=true
|
|
|
|
pause
|
|
|
|
seek, flags=flush+accurate, start=0, stop=3.0
|
|
play
|
|
crank-clock, repeat=91
|
|
wait, message-type=eos
|
|
|
|
# Last buffer is duplicated until the full segment is filled
|
|
check-position, expected-position=3.0
|
|
stop
|