pipelines.json 5.82 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
    "aspectcropratio":
    {
        "pipeline": "videotestsrc !  aspectratiocrop name=cropper ! %(videosink)s",
        "scenarios": [
            {
                "name": "set_aspect_ratio_in_paused",
                "actions": [
                    "description, seek=true, handles-states=true",
                    "pause",
                    "set-property, playback-time=0.0, target-element-name=cropper, property-name=aspect-ratio, property-value=\"16/9\"",
                    "play",
                    "stop, playback-time=1.0"
                ]
            }
        ]
17
18
19
20
21
    },
    "flvdemux.audio_only":
    {
        "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"]
22
    },
23
24
25
26
27
28
29
30
31
32
33
34
35
36
    "rtpsession_send_simple":
    {
        "pipeline": "rtpsession name=rtpsess   videotestsrc num-buffers=10 ! video/x-raw,format=RGB,width=\"320\",height=\"240\" ! rtpvrawpay ! rtpsess.send_rtp_sink   rtpsess.send_rtp_src   ! rtpvrawdepay ! fakesink",
        "config": [
            "%(validateflow)s, pad=fakesink0:sink, record-buffers=true, caps-properties={ media, clock-rate, encoding-name, sampling, depth, width, height, colorimetry, payload, a-framerate };"
        ]
    },
    "rtpsession_recv_simple":
    {
        "pipeline": "rtpsession name=rtpsess   videotestsrc num-buffers=10 ! video/x-raw,format=RGB,width=\"320\",height=\"240\" ! rtpvrawpay ! rtpsess.recv_rtp_sink   rtpsess.recv_rtp_src   ! rtpvrawdepay ! fakesink",
        "config": [
            "%(validateflow)s, pad=fakesink0:sink, record-buffers=true, caps-properties={ media, clock-rate, encoding-name, sampling, depth, width, height, colorimetry, payload, a-framerate };"
        ]
    },
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
    "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"
                ]
            }
        ]
118
119
120
121
122
123
124
    },
    "cenc_audio_esds_property_overrides":
    {
        "pipeline": "filesrc location=%(medias)s/encrypted/cenc-encrypted-youtube-aac.mp4 ! qtdemux ! mockdecryptor ! fakesink async=false",
        "config": [
            "%(validateflow)s, pad=fakesink0:sink, record-buffers=true"
        ]
125
126
127
128
129
    },
     "scaletempo_playbin_audio_filter":
    {
        "pipeline": "playbin audio-filter=scaletempo video-sink=fakesink uri=file://%(medias)s/defaults/mp4/mp3_h264.0.mp4",
        "scenarios": ["fast_forward"]
130
    }
131
}