Commit e1cc28df authored by Alicia Boya García's avatar Alicia Boya García Committed by Thibault Saunier
Browse files

First batch of validateflow tests

parent 23746eb0
testsuites/tags testsuites/tags
*.pyc *.pyc
medias/fragments/car-20120827-86.mp4/init.mp4
medias/fragments/car-20120827-86.mp4/media2.mp4
medias/fragments/car-20120827-86.mp4/media1.mp4
medias/fragments/car-20120827-85.mp4/init.mp4
medias/fragments/car-20120827-85.mp4/media2.mp4
medias/fragments/car-20120827-85.mp4/media1.mp4
medias/fragments/feelings_vp9-20130806-242.webm/init.webm
medias/fragments/feelings_vp9-20130806-242.webm/media2.webm
medias/fragments/feelings_vp9-20130806-242.webm/media1.webm
medias/fragments/feelings_vp9-20130806-247.webm/init.webm
medias/fragments/feelings_vp9-20130806-247.webm/media2.webm
medias/fragments/feelings_vp9-20130806-247.webm/media1.webm
event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)1;
event caps: video/foo, variant=(string)test-custom;
event segment: format=BYTES, start=0, offset=0, stop=18446744073709551615, time=0, base=0, position=0
buffer: dts=0:00:00.000000000, pts=0:00:00.000000000, flags=discont
event eos: (no structure)
event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)1;
event caps: video/x-raw, width=(int)320, height=(int)240;
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=none, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.000000000
buffer: pts=0:00:00.000000000, dur=0:00:00.033333333, flags=discont
buffer: pts=0:00:00.033333333, dur=0:00:00.033333333
buffer: pts=0:00:00.066666666, dur=0:00:00.033333334
event eos: (no structure)
event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_SELECT, group-id=(uint)1;
event caps: video/x-vp9, width=(int)426, height=(int)240, framerate=(fraction)0/1;
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=none, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.000000000, duration=0:02:15.469000000
event tag: GstTagList-global, taglist=(taglist)"taglist\,\ container-format\=\(string\)Matroska\;";
event tag: GstTagList-stream, taglist=(taglist)"taglist\,\ video-codec\=\(string\)\"On2\\\ VP9\"\;";
buffer: pts=0:00:00.000000000, flags=discont tag-memory
buffer: pts=0:00:00.033000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.067000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.100000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.133000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.167000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.200000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.234000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.267000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.300000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.334000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.367000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.400000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.434000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.467000000, flags=delta-unit tag-memory
buffer: pts=0:00:00.501000000, flags=delta-unit tag-memory
event flush-start: (no structure)
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
CHECKPOINT: A different cluster is pushed
event segment: format=TIME, start=0:00:05.005000000, offset=0:00:00.000000000, stop=none, time=0:00:05.005000000, base=0:00:00.000000000, position=0:00:05.005000000, duration=0:02:15.469000000
buffer: pts=0:00:05.005000000, flags=discont tag-memory
buffer: pts=0:00:05.038000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.072000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.105000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.138000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.172000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.205000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.239000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.272000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.305000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.339000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.372000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.405000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.439000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.472000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.506000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.539000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.572000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.606000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.639000000, flags=delta-unit tag-memory
buffer: pts=0:00:05.672000000, flags=delta-unit tag-memory
event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)1;
event caps: video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)2.1, profile=(string)main, codec_data=(buffer)014d4015ffe10016674d4015d901b1fe4e1000003e90000bb800f162e48001000468eb8f20, width=(int)426, height=(int)240, pixel-aspect-ratio=(fraction)1/1;
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=none, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.000000000
event tag: GstTagList-stream, taglist=(taglist)"taglist\,\ video-codec\=\(string\)\"H.264\\\ /\\\ AVC\"\;";
event tag: GstTagList-global, taglist=(taglist)"taglist\,\ datetime\=\(datetime\)2012-08-27T01:00:50Z\,\ container-format\=\(string\)\"ISO\\\ fMP4\"\;";
event tag: GstTagList-stream, taglist=(taglist)"taglist\,\ video-codec\=\(string\)\"H.264\\\ /\\\ AVC\"\;";
event caps: video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)2.1, profile=(string)main, codec_data=(buffer)014d4015ffe10016674d4015d901b1fe4e1000003e90000bb800f162e48001000468eb8f20, width=(int)426, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24000/1001;
CHECKPOINT: A moov with a different edit list is now pushed
event caps: video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10016674d401ee8805017fcb0800001f480005dc0078b168901000468ebaf20, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1;
event segment: format=TIME, start=0:00:00.041711111, offset=0:00:00.000000000, stop=none, time=0:00:00.000000000, base=0:00:00.000000000, position=0:00:00.041711111
event tag: GstTagList-stream, taglist=(taglist)"taglist\,\ video-codec\=\(string\)\"H.264\\\ /\\\ AVC\"\;";
event tag: GstTagList-stream, taglist=(taglist)"taglist\,\ video-codec\=\(string\)\"H.264\\\ /\\\ AVC\"\;";
event caps: video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10016674d401ee8805017fcb0800001f480005dc0078b168901000468ebaf20, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24000/1001;
...@@ -970,5 +970,53 @@ ...@@ -970,5 +970,53 @@
[ [
"extras-ges/pitivi-0.91-motivational-export/projets/pitivi/gource/gource.mp4", "extras-ges/pitivi-0.91-motivational-export/projets/pitivi/gource/gource.mp4",
565616365 565616365
],
[
"fragments/car-20120827-85.mp4/init.mp4",
1148
],
[
"fragments/car-20120827-85.mp4/media1.mp4",
170726
],
[
"fragments/car-20120827-85.mp4/media2.mp4",
169400
],
[
"fragments/car-20120827-86.mp4/init.mp4",
1184
],
[
"fragments/car-20120827-86.mp4/media1.mp4",
695313
],
[
"fragments/car-20120827-86.mp4/media2.mp4",
686458
],
[
"fragments/feelings_vp9-20130806-242.webm/init.webm",
683
],
[
"fragments/feelings_vp9-20130806-242.webm/media1.webm",
110558
],
[
"fragments/feelings_vp9-20130806-242.webm/media2.webm",
129946
],
[
"fragments/feelings_vp9-20130806-247.webm/init.webm",
696
],
[
"fragments/feelings_vp9-20130806-247.webm/media1.webm",
828645
],
[
"fragments/feelings_vp9-20130806-247.webm/media2.webm",
876080
] ]
] ]
\ No newline at end of file
...@@ -19,5 +19,87 @@ ...@@ -19,5 +19,87 @@
{ {
"pipeline": "uridecodebin uri='file://%(config_path)s/../medias/defaults/flv/819290236.flv' caps=audio/x-raw expose-all-streams=FALSE ! queue ! audioconvert ! audioresample ! %(audiosink)s", "pipeline": "uridecodebin uri='file://%(config_path)s/../medias/defaults/flv/819290236.flv' caps=audio/x-raw expose-all-streams=FALSE ! queue ! audioconvert ! audioresample ! %(audiosink)s",
"scenarios": ["play_15s"] "scenarios": ["play_15s"]
},
"flow_simple_test":
{
"pipeline": "videotestsrc num-buffers=3 ! fakesink",
"config": [
"%(validateflow)s, pad=fakesink0:sink, record-buffers=true, caps-properties={ width, height };"
]
},
"appsrc_simple_test":
{
"pipeline": "appsrc ! qtdemux name=demux ! video/x-h264 ! fakesink async=false demux. ! audio/x-raw ! fakesink async=false",
"config": [
"%(validateflow)s, pad=fakesink0:sink, record-buffers=true"
],
"scenarios": [
{
"name": "single_push",
"actions": [
"description, seek=false, handles-states=false",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/defaults/mp4/raw_h264.0.mp4\""
]
}
]
},
"appsrc_custom_caps":
{
"pipeline": "appsrc ! fakesink async=false",
"config": [
"%(validateflow)s, pad=fakesink0:sink, record-buffers=true"
],
"scenarios": [
{
"name": "single_push",
"actions": [
"description, seek=false, handles-states=false",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/defaults/mp4/raw_h264.0.mp4\", caps=(GstCaps)\"video/foo\\,\\ variant\\=\\\"test-custom\\\"\"",
"appsrc-eos, target-element-name=appsrc0"
]
}
]
},
"qtdemux_change_edit_list":
{
"pipeline": "appsrc ! qtdemux ! fakesink async=false",
"config": [
"%(validateflow)s, pad=fakesink0:sink, record-buffers=false"
],
"scenarios": [
{
"name": "default",
"actions": [
"description, seek=false, handles-states=false",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/fragments/car-20120827-85.mp4/init.mp4\"",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/fragments/car-20120827-85.mp4/media1.mp4\"",
"checkpoint, text=\"A moov with a different edit list is now pushed\"",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/fragments/car-20120827-86.mp4/init.mp4\"",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/fragments/car-20120827-86.mp4/media2.mp4\"",
"stop"
]
}
]
},
"matroskademux_flush_within_cluster":
{
"pipeline": "appsrc ! matroskademux ! fakesink async=false",
"config": [
"%(validateflow)s, pad=fakesink0:sink, record-buffers=true"
],
"scenarios": [
{
"name": "default",
"actions": [
"description, seek=false, handles-states=false",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/fragments/feelings_vp9-20130806-242.webm/init.webm\"",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/fragments/feelings_vp9-20130806-242.webm/media1.webm\", size=5000",
"flush, target-element-name=appsrc0",
"checkpoint, text=\"A different cluster is pushed\"",
"appsrc-push, target-element-name=appsrc0, file-name=\"%(medias)s/fragments/feelings_vp9-20130806-242.webm/media2.webm\", size=10000",
"stop"
]
}
]
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment