mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
21 lines
707 B
Text
21 lines
707 B
Text
# Check that `fakevideodec` works in "encoded video" mode
|
|
meta,
|
|
handles-states=true,
|
|
args = {
|
|
"appsrc name=src format=time ! fakevideodec name=dec ! videoconvert ! $(videosink)",
|
|
},
|
|
configs = {
|
|
"$(validateflow), pad=dec:sink, buffers-checksum=as-id, ignored-event-types={ tag, stream-start }",
|
|
"$(validateflow), pad=dec:src, buffers-checksum=as-id, ignored-event-types={ tag, stream-start }",
|
|
}
|
|
|
|
foreach,
|
|
i=[0, 20],
|
|
actions={
|
|
[appsrc-push, target-element-name=src, fill-mode=counter, pts="$(i)/20", duration=1.0, size=8,
|
|
caps=(GstCaps)[video/x-h264,framerate=20/1,width=640,height=480,parsed=true]],
|
|
}
|
|
|
|
appsrc-eos, target-element-name=src
|
|
|
|
play
|