1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
|
GStreamer 1.18 Release Notes
GStreamer 1.18.0 was originally released on 8 September 2020.
The latest bug-fix release in the 1.18 series is 1.18.6 and was released
on 2 February 2022.
See https://gstreamer.freedesktop.org/releases/1.18/ for the latest
version of this document.
Last updated: Wednesday 2 February 2022, 11:30 UTC (log)
Introduction
The GStreamer team is proud to announce a new major feature release in
the stable 1.x API series of your favourite cross-platform multimedia
framework!
As always, this release is again packed with many new features, bug
fixes and other improvements.
Highlights
- GstTranscoder: new high level API for applications to transcode
media files from one format to another
- High Dynamic Range (HDR) video information representation and
signalling enhancements
- Instant playback rate change support
- Active Format Description (AFD) and Bar Data support
- RTSP server and client implementations gained ONVIF trick modes
support
- Hardware-accelerated video decoding on Windows via DXVA2 /
Direct3D11
- Microsoft Media Foundation plugin for video capture and
hardware-accelerated video encoding on Windows
- qmlgloverlay: New overlay element that renders a QtQuick scene over
the top of an input video stream
- imagesequencesrc: New element to easily create a video stream from a
sequence of jpeg or png images
- dashsink: New sink to produce DASH content
- dvbsubenc: New DVB Subtitle encoder element
- MPEG-TS muxing now also supports TV broadcast compliant muxing with
constant bitrate muxing and SCTE-35 support
- rtmp2: New RTMP client source and sink element from-scratch
implementation
- svthevcenc: New SVT-HEVC-based H.265 video encoder
- vaapioverlay: New compositor element using VA-API
- rtpmanager gained support for Google’s Transport-Wide Congestion
Control (twcc) RTP extension
- splitmuxsink and splitmuxsrc gained support for auxiliary video
streams
- webrtcbin now contains some initial support for renegotiation
involving stream addition and removal
- RTP support was enhanced with new RTP source and sink elements to
easily set up RTP streaming via rtp:// URIs
- avtp: New Audio Video Transport Protocol (AVTP) plugin for
Time-Sensitive Applications
- Support for the Video Services Forum’s Reliable Internet Stream
Transport (RIST) TR-06-1 Simple Profile
- Universal Windows Platform (UWP) support
- rpicamsrc: New element for capturing from the Raspberry Pi camera
- RTSP Server TCP interleaved backpressure handling improvements as
well as support for Scale/Speed headers
- GStreamer Editing Services gained support for nested timelines,
per-clip speed rate control and the OpenTimelineIO format.
- Autotools build system has been removed in favour of Meson
Major new features and changes
Noteworthy new features and API
Instant playback rate changes
Changing the playback rate as quickly as possible so far always required
a flushing seek. This generally works, but has the disadvantage of
flushing all data from the playback pipeline and requiring the demuxer
or parser to do a full-blown seek including resetting its internal state
and resetting the position of the data source. It might also require
considerable decoding effort to get to the right position to resume
playback from at the higher rate.
This release adds a new mechanism to achieve quasi-instant rate changes
in certain playback pipelines without interrupting the flow of data in
the pipeline. This is activated by sending a seek with the
GST_SEEK_FLAG_INSTANT_RATE_CHANGE flag and start_type = stop_type =
GST_SEEK_TYPE_NONE. This flag does not work for all pipelines, in which
case it is necessary to fall back to sending a full flushing seek to
change the playback rate. When using this flag, the seek event is only
allowed to change the current rate and can modify the trickmode flags
(e.g. keyframe only or not), but it is not possible to change the
current playback position, playback direction or do a flush.
This is particularly useful for streaming use cases like HLS or DASH
where the streaming download should not be interrupted when changing
rate.
Instant rate changing is handled in the pipeline in a specific sequence
which is detailed in the seeking design docs. Most elements don’t need
to worry about this, only elements that sync to the clock need some
special handling which is implemented in the GstBaseSink base class, so
should be taken care of automatically in most normal playback pipelines
and sink elements.
See Jan’s GStreamer Conference 2019 talk “Changing Playback Rate
Instantly” for more information.
You can try this feature by passing the -i command line option to
gst-play-1.0. It is supported at least by qtdemux, tsdemux, hlsdemux,
and dashdemux.
Google Transport-Wide Congestion Control
rtpmanager now supports the parsing and generating of RTCP messages for
the Google Transport-Wide Congestion Control RTP Extension, as described
in:
https://tools.ietf.org/html/draft-holmer-rmcat-transport-wide-cc-extensions-01.
This “just” provides the required plumbing/infrastructure, it does not
actually make effect any actual congestion control on the sender side,
but rather provides information for applications to use to make such
decisions.
See Håvard’s “Google Transport-Wide Congestion Control” talk for more
information about this feature.
GstTranscoder: a new high-level transcoding API for applications
The new GstTranscoder library, along with transcodebin and
uritranscodebin elements, provides high level API for applications to
transcode media files from one format to another. Watch Thibault’s talk
“GstTranscoder: A High Level API to Quickly Implement Transcoding
Capabilities in your Applications” for more information.
This also comes with a gst-transcoder-1.0 command line utility to
transcode one URI into another URI based on the specified encoding
profile.
Active Format Description (AFD) and Bar Data support
The GstVideo Ancillary Data API has gained support for Active Format
Description (AFD) and Bar data.
This includes various two new buffer metas: GstVideoAFDMeta and
GstVideoBarMeta.
GStreamer now also parses and extracts AFD/Bar data in the h264/h265
video parsers, and supports both capturing them and outputting them in
the decklink elements. See Aaron’s lightning talk at the GStreamer
Conference for more background.
ONVIF trick modes support in both GStreamer RTSP server and client
- Support for the various trick modes described in section 6 of the
ONVIF streaming spec has been implemented in both gst-rtsp-server
and rtspsrc.
- Various new properties in rtspsrc must be set to take advantage of
the ONVIF support
- Examples are available here: test-onvif-server.c and
test-onvif-client.c
- Watch Mathieu Duponchelle’s talk “Implementing a Trickmode Player
with ONVIF, RTSP and GStreamer” for more information and a live
demo.
GStreamer Codecs library with decoder base classes
This introduces a new library in gst-plugins-bad which contains a set of
base classes that handle bitstream parsing and state tracking for the
purpose of decoding different codecs. Currently H264, H265, VP8 and VP9
are supported. These bases classes are meant primarily for internal use
in GStreamer and are used in various decoder elements in connection with
low level decoding APIs like DXVA, NVDEC, VAAPI and V4L2 State Less
decoders. The new library is named gstreamer-codecs-1.0 /
libgstcodecs-1.0 and is not yet guaranteed to be API stable across major
versions.
MPEG-TS muxing improvements
The GStreamer MPEG-TS muxer has seen major improvements on various
fronts in this cycle:
- It has been ported to the GstAggregator base class which means it
can work in defined-latency mode with live input sources and
continue streaming if one of the inputs stops producing data.
- atscmux, a new ATSC-specific tsmux subclass
- Constant Bit Rate (CBR) muxing support via the new bitrate property
which allows setting the target bitrate in bps. If this is set the
muxer will insert null packets as padding to achieve the desired
multiplex-wide constant bitrate.
- compliance fixes for TV broadcasting use cases (esp. ATSC). See
Jan’s talk “TV Broadcast compliant MPEG-TS” for details.
- Streams can now be added and removed at runtime: Until now, any
streams in tsmux had to be present when the element started
outputting its first buffer. Now they can appear at any point during
the stream, or even disappear and reappear later using the same PID.
- new pcr-interval property allows applications to configure the
desired interval instead of hardcoding it
- basic SCTE-35 support. This is enabled by setting the scte-35-pid
property on the muxer. Sending SCTE-35 commands is then done by
creating the appropriate SCTE-35 GstMpegtsSection and sending them
on the muxer.
- MPEG-2 AAC handling improvements
New elements
- New qmlgloverlay element for rendering a QtQuick scene over the top
of a video stream. qmlgloverlay requires that Qt support adopting an
external OpenGL context and is known to work on X11 and Windows.
Wayland is known not to work due to limitations within Qt. Check out
the example to see how it works.
- The clocksync element is a generic element that can be placed in a
pipeline to synchronise passing buffers to the clock at that point.
This is similar to identity sync=true, but because it isn’t
GstBaseTransform-based, it can process GstBufferLists without
breaking them into separate GstBuffers. It is also more discoverable
than the identity option. Note that you do not need to insert this
element into your pipeline to make GStreamer sync to the pipeline
clock, this is usually handled automatically by the elements in the
pipeline (sources and sinks mostly). This element is useful to feed
non-live input such as local files into elements that expect live
input such as webrtcbin.`
- New imagesequencesrc element to easily create a video stream from a
sequence of JPEG or PNG images (or any other encoding where the type
can be detected), basically a multifilesrc made specifically for
image sequences.
- rpicamsrc element for capturing raw or encoded video (H.264, MJPEG)
from the Raspberry Pi camera. This works much like the popular
raspivid command line utility but outputs data nicely timestamped
and formatted in order to integrate nicely with other GStreamer
elements. Also comes with a device provider so applications can
discover the camera if available.
- aatv and cacatv video filters that transform video ASCII art style
- avtp: new Audio Video Transport Protocol (AVTP) plugin for Linux.
See Andre Guedes’ talk “Audio/Video Bridging (AVB) support in
GStreamer” for more details.
- clockselect: a pipeline element that enables clock selection/forcing
via gst-launch pipeline syntax.
- dashsink: Add new sink to produce DASH content. See Stéphane’s talk
or blog post for details.
- dvbsubenc: a DVB subtitle encoder element
- microdns: a libmicrodns-based mdns device provider to discover RTSP
cameras on the local network
- mlaudiosink: new audio sink element for the Magic Leap platform,
accompanied by an MLSDK implementation in the amc plugin
- msdkvp9enc: VP9 encoder element for the Intel MediaSDK
- rist: new plugin implementing support for the Video Services Forum’s
Reliable Internet Stream Transport (RIST) TR-06-1 Simple Profile.
See Nicolas’ blog post “GStreamer support for the RIST
Specification” for more details.
- rtmp2: new RTMP client source and sink elements with fully
asynchronous network operations, better robustness and additional
features such as handling ping and stats messages, and adobe-style
authentication. The new rtmp2src and rtmp2sink elements should be
API-compatible with the old rtmpsrc / rtmpsink elements and should
work as drop-in replacements.
- new RTP source and sink elements to easily set up RTP streaming via
rtp:// URIs: The rtpsink and rtpsrc elements add an URI interface so
that streams can be decoded with decodebin using rtp:// URIs. These
can be used as follows: ``` gst-launch-1.0 videotestsrc ! x264enc !
rtph264pay config-interval=3 ! rtpsink uri=rtp://239.1.1.1:1234
gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay config-interval=1
! rtpsink uri=rtp://239.1.2.3:5000 gst-launch-1.0 rtpsrc
uri=rtp://239.1.2.3:5000?encoding-name=H264 ! rtph264depay !
avdec_h264 ! videoconvert ! xvimagesink
gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! rtpmp4vpay
config-interval=1 ! rtpsink uri=rtp://239.1.2.3:5000 gst-launch-1.0
rtpsrc uri=rtp://239.1.2.3:5000?encoding-name=MP4V-ES ! rtpmp4vdepay
! avdec_mpeg4 ! videoconvert ! xvimagesink ```
- svthevcenc: new SVT-HEVC-based H.265 video encoder
- switchbin: new helper element which chooses between a set of
processing chains (paths) based on input caps, and changes the
active chain if new caps arrive. Paths are child objects, which are
accessed by the GstChildProxy interface. See the switchbin
documentation for a usage example.
- vah264dec: new experimental va plugin with an element for H.264
decoding with VA-API using GStreamer’s new stateless decoder
infrastructure (see Linux section below).
- v4l2codecs: introduce an V4L2 CODECs Accelerator supporting the new
CODECs uAPI in the Linux kernel (see Linux section below)
- zxing new plugin to detect QR codes and barcodes, based on libzxing
- also see the Rust plugins section below which contains plenty of new
exciting plugins written in Rust!
New element features and additions
GStreamer core
- filesink: Add a new “full” buffer mode. Previously the default and
full modes were the same. Now the default mode is like before: it
accumulates all buffers in a buffer list until the threshold is
reached and then writes them all out, potentially in multiple
writes. The new full mode works by always copying memory to a single
memory area and writing everything out with a single write once the
threshold is reached.
- multiqueue: Add stats property and
current-level-{buffers, bytes, time} pad properties to query the
current levels of the corresponding internal queue.
Plugins Base
- alsa: implement a device provider
- alsasrc: added use-driver-timestamp property to force use of
pipeline timestamps (and disable driver timestamps) if so desired
- audioconvert: fix changing the mix-matrix property at runtime
- appsrc: added support for segment forwarding or custom GstSegments
via GstSample, enabled via the handle-segment-change property. This
only works for segments in TIME format for now.
- compositor: various performance optimisations, checkerboard drawing
fixes, and support for VUYA format
- encodebin: Fix and refactor smart encoding; ensure that a single
segment is pushed into encoders; improve force-key-unit event
handling.
- opusenc: Add low delay option (audio-type=restricted-lowdelay) to
disable the SILK layer and achieve only 5ms delay.
- opusdec: add stats property to retrieve various decoder statistics.
- uridecodebin3: Let decodebin3 do its stream selection if no one
answers
- decodebin3: Avoid overriding explicit user selection of streams
- playbin: add flag to force use of software decoders over any
hardware decoders that might also be available
- playbin3, playbin: propagate sink context
- rawvideoparse: Fix tiling support, allow setting colorimetry
- subparse: output plain utf8 text instead of pango-markup formatted
text if downstream requires it, useful for interop with elements
that only accept utf8-formatted subtitles such as muxers or closed
caption converters.
- tcpserversrc, tcpclientsrc: add stats property with TCP connection
stats (some are only available on Linux though)
- timeoverlay: add show-times-as-dates, datetime-format and
datetime-epoch properties to display times with dates
- videorate: Fix changing rate property during playback; reverse
playback fixes; update QoS events taking into account our rate
- videoscale: pass through and transform size sensitive metas instead
of just dropping them
Plugins Good
- avidemux can handle H.265 video now. Our advice remains to
immediately cease all contact and communication with anyone who
hands you H.265 video in an AVI container, however.
- avimux: Add support for S24LE and S32LE raw audio and v210 raw video
formats; support more than 2 channels of raw audio.
- souphttpsrc: disable session sharing and cookie jar when the cookies
property is set; correctly handle seeks past the end of the content
- deinterlace: new YADIF deinterlace method which should provide
better quality than the existing methods and is LGPL licensed;
alternate fields are supported as input to the deinterlacer as well
now, and there were also fixes for switching the deinterlace mode on
the fly.
- flvmux: in streamable mode allow adding new pads even if the initial
header has already been written. Old clients will only process the
initial stream, new clients will get a header with the new streams.
The skip-backwards-streams property can be used to force flvmux to
skip and drop a few buffers rather than produce timestamps that go
backward and confuse librtmp-based clients. There’s also better
handling for timestamp rollover when streaming for a long time.
- imagefreeze: Add live mode, which can be enabled via the new is-live
property. In this mode frames will only be output in PLAYING state
according to the negotiated framerate, skipping frames if the output
can’t keep up (e.g. because it’s blocked downstream). This makes it
possible to actually use imagefreeze in live pipelines without
having to manually ensure somehow that it starts outputting at the
current running time and without still risking to fall behind
without recovery.
- matroskademux, qtdemux: Provide audio lead-in for some lossy formats
when doing accurate seeks, to make sure we can actually decode
samples at the desired position. This is especially important for
non-linear audio/video editing use-cases.
- matroskademux, matroskamux: Handle interlaced field order (tff, bff)
- matroskamux:
- new offset-to-zero property to offset all streams to start at
zero. This takes the timestamp of the earliest stream and
offsets it so that it starts at 0. Some software (VLC,
ffmpeg-based) does not properly handle Matroska files that start
at timestamps much bigger than zero, which could happen with
live streams.
- added a creation-time property to explicitly set the creation
time to write into the file headers. Useful when remuxing, for
example, but also for live feeds where the DateUTC header can be
set a UTC timestamp corresponding to the beginning of the file.
- the muxer now also always waits for caps on sparse streams, and
warns if caps arrive after the header has already been sent,
otherwise the subtitle track might be silently absent in the
final file. This might affect applications that send sparse data
into matroskamux via an appsrc element, which will usually not
send out the initial caps before it sends out the first buffer.
- pulseaudio: device provider improvements: fix discovery of
newly-added devices and hide the alsa device provider if we provide
alsa devices
- qtdemux: raw audio handling improvements, support for AC4 audio, and
key-units trickmode interval support
- qtmux:
- was ported to the GstAggregator base class which allows for
better handling of live inputs, but might entail minor
behavioural changes for sparse inputs if inputs are not live.
- has also gained a force-create-timecode-trak property to create
a timecode trak in non-mov flavors, which may not be supported
by Apple but is supported by other software such as Final Cut
Pro X
- also a force-chunks property to force the creation of chunks
even in single-stream files, which is required for Apple ProRes
certification.
- also supports 8k resolutions in prefill mode with ProRes.
- rtpbin gained a request-jitterbuffer signal which allows
applications to plug in their own jitterbuffer implementation such
as the threadsharing jitterbuffer from the Rust plugins, for
example.
- rtprtxsend: add clock-rate-map property to allow generic RTP input
caps without a clock-rate whilst still supporting the max-size-time
property for bundled streams.
- rtpssrcdemux: introduce max-streams property to guard against
attacks where the sender changes SSRC for every RTP packet.
- rtph264pay, rtph264pay: implement STAP-A and various aggregation
modes controled by the new aggegrate-mode property: none to not
aggregate NAL units (as before), zero-latency to aggregate NAL units
until a VCL or suffix unit is included, or max to aggregate all NAL
units with the same timestamp (which adds one frame of latency). The
default has been kept at none for backwards compatibility reasons
and because various RTP/RTSP implementions don’t handle aggregation
well. For WebRTC use cases this should be set to zero-latency,
however.
- rtpmp4vpay: add support for config-interval=-1 to resend headers
with each IDR keyframe, like other video payloaders.
- rtpvp8depay: Add wait-for-keyframe property for waiting until the
next keyframe after packet loss. Useful if the video stream was not
encoded with error resilience enabled, in which case packet loss
tends to cause very bad artefacts when decoding, and waiting for the
next keyframe instead improves user experience considerably.
- splitmuxsink and splitmuxsrc can now handle auxiliary video streams
in addition to the primary video stream. The primary video stream is
still used to select fragment cut points at keyframe boundaries.
Auxilliary video streams may be broken up at any packet - so
fragments may not start with a keyframe for those streams.
- splitmuxsink:
- new muxer-preset and sink-preset properties for setting
muxer/sink presets
- a new start-index property to set the initial fragment id
- and a new muxer-pad-map property which explicitly maps
splitmuxsink pads to the muxer pads they should connect to,
overriding the implicit logic that tries to match pads but
yields arbitrary names.
- Also includes the actual sink element in the fragment-opened and
fragment-closed element messages now, which is especially useful
for sinks without a location property or when finalisation of
the fragments is done asynchronously.
- videocrop: add support for Y444, Y41B and Y42B pixel formats
- vp8enc, vp9enc: change default value of VP8E_SET_STATIC_THRESHOLD
from 0 to 1 which matches what Google WebRTC does and results in
lower CPU usage; also added a new bit-per-pixel property to select a
better default bitrate
- v4l2: add support for ABGR, xBGR, RGBA, and RGBx formats and for
handling interlaced video in alternate fields interlace mode (one
field per buffer instead of one frame per picture with both fields
interleaved)
- v4l2: Profile and level probing support for H264, H265, MPEG-4,
MPEG-2, VP8, and VP9 video encoders and decoders
Plugins Ugly
- asfdemux: extract more metadata: disc number and disc count
- x264enc:
- respect YouTube bitrate recommendation when user sets the
YouTube profile preset
- separate high-10 video formats from 8-bit formats to improve
depth negotiation and only advertise suitable input raw formats
for the desired output depth
- forward downstream colorimetry and chroma-site restrictions to
upstream elements
- support more color primaries/mappings
Plugins Bad
- av1enc: add threads, row-mt and tile-{columns,rows} properties for
this AOMedia AV1 encoder
- ccconverter: implement support for CDP framerate conversions
- ccextractor: Add remove-caption-meta property to remove caption
metas from the outgoing video buffers
- decklink: add support for 2K DCI video modes, widescreen NTSC/PAL,
and for parsing/outputting AFD/Bar data. Also implement a simple
device provider for Decklink devices.
- dtlsrtpenc: add rtp-sync property which synchronises RTP streams to
the pipeline clock before passing them to funnel for merging with
RTCP.
- fdkaac: also decode MPEG-2 AAC; encoder now supports more
multichannel/surround sound layouts
- hlssink2: add action signals for custom playlist/fragment handling:
Instead of always going through the file system API we allow the
application to modify the behaviour. For the playlist itself and
fragments, the application can provide a GOutputStream. In addition
the sink notifies the application whenever a fragment can be
deleted.
- interlace: can now output data in alternate fields mode; added field
switching mode for 2:2 field pattern
- iqa: Add a mode property to enable strict mode that checks that all
the input streams have the exact same number of frames; also
implement the child proxy interface
- mpeg2enc: add disable-encode-retries property for lower CPU usage
- mpeg4videoparse: allow re-sending codec config at IDR via
config-interval=-1
- mpegtsparse: new alignment property to determine number of TS
packets per output buffer, useful for feeding an MPEG-TS stream for
sending via udpsink. This can be used in combination with the
split-on-rai property that makes sure to start a new output buffer
for any TS packet with the Random Access Indicator set. Also set
delta unit buffer flag on non-random-access buffers.
- mpegdemux: add an ignore-scr property to ignore the SCR in
non-compliant MPEG-PS streams with a broken SCR, which will work as
long as PTS/DTS in the PES header is consistently increasing.
- tsdemux:
- add an ignore-pcr property to ignore MPEG-TS streams with broken
PCR streams on which we can’t reliably recover correct
timestamps.
- new latency property to allow applications to lower the
advertised worst-case latency of 700ms if they know their
streams support this (must have timestamps in higher frequency
than required by the spec)
- support for AC4 audio
- msdk - Intel Media SDK plugin for hardware-accelerated video
decoding and encoding on Windows and Linux:
- mappings for more video formats: Y210, Y410, P012_LE, Y212_LE
- encoders now support bitrate changes and input format changes in
playing state
- msdkh264enc, msdkh265enc: add support for CEA708 closed caption
insertion
- msdkh264enc, msdkh265enc: set Region of Interest (ROI) region
from ROI metas
- msdkh264enc, msdkh265enc: new tune property to enable low-power
mode
- msdkh265enc: add support 12-bit 4:2:0 encoding and 8-bit 4:2:2
encoding and VUYA, Y210, and Y410 as input formats
- msdkh265enc: add support for screen content coding extension
- msdkh265dec: add support for main-12/main-12-intra,
main-422-10/main-422-10-intra 10bit,
main-422-10/main-422-10-intra 8bit,
main-422-12/main-422-12-intra, main-444-10/main-444-10-intra,
main-444-12/main-444-12-intra, and main-444 profiles
- msdkvp9dec: add support for 12-bit 4:4:4
- msdkvpp: add support for Y410 and Y210 formats, cropping via
properties, and a new video-direction property.
- mxf: Add support for CEA-708 CDP from S436 essence tracks. mxfdemux
can now handle Apple ProRes
- nvdec: add H264 + H265 stateless codec implementation nvh264sldec
and nvh265sldec with fewer features but improved latency. You can
set the environment variable GST_USE_NV_STATELESS_CODEC=h264 to use
the stateless decoder variant as nvh264dec instead of the “normal”
NVDEC decoder implementation.
- nvdec: add support for 12-bit 4:4:4/4:2:0 and 10-bit 4:2:0 decoding
- nvenc:
- add more rate-control options, support for B-frame encoding (if
device supports it), an aud property to toggle Access Unit
Delimiter insertion, and qp-{min,max,const}-{i,p,b} properties.
- the weighted-pred property enables weighted prediction.
- support for more input formats, namely 8-bit and 10-bit RGB
formats (BGRA, RGBA, RGB10A2, BGR10A2) and YV12 and VUYA.
- on-the-fly resolution changes are now supported as well.
- in case there are multiple GPUs on the system, there are also
per-GPU elements registered now, since different devices will
have different capabilities.
- nvh265enc can now support 10-bit YUV 4:4:4 encoding and 8-bit
4:4:4 / 10-bit 4:2:0 formats up to 8K resolution (with some
devices). In case of HDR content HDR related SEI nals will be
inserted automatically.
- openjpeg: enable multi-threaded decoding and add support for
sub-frame encoding (for lower latency)
- rtponviftimestamp: add opt-out “drop-out-of-segment” property
- spanplc: new stats property
- srt: add support for IPv6 and for using hostnames instead of IP
addresses; add streamid property, but also allow passing the id via
the stream URI; add wait-for-connection property to srtsink
- timecodestamper: this element was rewritten with an updated API
(properties); it has gained many new properties, seeking support and
support for linear timecode (LTC) from an audio stream.
- uvch264src now comes with a device provider to advertise available
camera sources that support this interface (mostly Logitech C920s)
- wpe: Add software rendering support and support for mouse scroll
events
- x265enc: support more 8/10/12 bits 4:2:0, 4:2:2 and 4:4:4 profiles;
add support for mastering display info and content light level
encoding SEIs
gst-libav
- Add mapping for SpeedHQ video codec used by NDI
- Add mapping for aptX and aptX-HD
- avivf_mux: support VP9 and AV1
- avvidenc: shift output buffer timestamps and output segment by 1h
just like x264enc does, to allow for negative DTS.
- avviddec: Limit default number of decoder threads on systems with
more than 16 cores, as the number of threads used in avdec has a
direct impact on the latency of the decoder, which is of as many
frames as threads, so a large numbers of threads can make for
latency levels that can be problematic in some applications.
- avviddec: Add thread-type property that allows applications to
specify the preferred multithreading method (auto, frame, slice).
Note that thread-type=frame may introduce additional latency
especially in live pipelines, since it introduces a decoding delay
of number of thread frames.
Plugin and library moves
- There were no plugin moves or library moves in this cycle.
- The rpicamsrc element was moved into -good from an external
repository on github.
Plugin removals
The following elements or plugins have been removed:
- The yadif video deinterlacing plugin from gst-plugins-bad, which was
one of the few GPL licensed plugins, has been removed in favour of
deinterlace method=yadif.
- The avdec_cdgraphics CD Graphics video decoder element from
gst-libav was never usable in GStreamer and we now have a cdgdec
element written in Rust in gst-plugins-rs to replace it.
- The VDPAU plugin has been unmaintained and unsupported for a very
long time and does not have the feature set we expect from
hardware-accelerated video decoders. It’s been superseded by the
nvcodec plugin leveraging NVIDIA’s NVDEC API.
Miscellaneous API additions
GStreamer core
- gst_task_resume(): This new API allows resuming a task if it was
paused, while leaving it in stopped state if it was stopped or not
started yet. This can be useful for callback-based driver workflows,
where you basically want to pause and resume the task when buffers
are notified while avoiding the race with a gst_task_stop() coming
from another thread.
- info: add printf extensions GST_TIMEP_FORMAT and GST_STIMEP_FORMAT
for printing GstClockTime/GstClockTimeDiff pointers, which is much
more convenient to use in debug log statements than the usual
GST_TIME_FORMAT-followed-by-GST_TIME_ARGS dance. Also add an
explicit GST_STACK_TRACE_SHOW_NONE enum value.
- gst_element_get_current_clock_time() and
gst_element_get_current_running_time(): new helper functions for
getting an element clock’s time, and the clock time minus base time,
respectively. Useful when adding additional input branches to
elements such as compositor, audiomixer, flvmux, interleave or
input-selector to determine initial pad offsets and such.
- seeking: Add GST_SEEK_FLAG_TRICKMODE_FORWARD_PREDICTED to just skip
B-frames during trick mode, showing both keyframes + P-frame, and
add support for it in h264parse and h265parse.
- elementfactory: add GST_ELEMENT_FACTORY_TYPE_HARDWARE to allow
elements to advertise that they are hardware-based or interact with
hardware. This has multiple applications:
- it makes it possible to easily differentiate hardware and
software based element implementations such as audio or video
encoders and decoders. This is useful in order to force the use
of software decoders for specific use cases, or to check if a
selected decoder is actually hardware-accelerated or not.
- elements interacting with hardware and their respective drivers
typically don’t know the actually supported capabilities until
the element is set into at least READY state and can open a
device handle and probe the hardware.
- gst_uri_from_string_escaped(): identical to gst_uri_from_string()
except that the userinfo and fragment components of the URI will not
be unescaped while parsing. This is needed for correctly parsing
usernames or passwords with : in them .
- paramspecs: new GstParamSpec flag GST_PARAM_CONDITIONALLY_AVAILABLE
to indicate that a property might not always exist.
- gst_bin_iterate_all_by_element_factory_name() finds elements in a
bin by factory name
- pad: gst_pad_get_single_internal_link() is a new convenience
function to return the single internal link of a pad, which is
useful e.g. to retrieve the output pad of a new multiqueue request
pad.
- datetime: Add constructors to create datetimes with timestamps in
microseconds, gst_date_time_new_from_unix_epoch_local_time_usecs()
and gst_date_time_new_from_unix_epoch_utc_usecs().
- gst_debug_log_get_lines() gets debug log lines formatted in the same
way the default log handler would print them
- GstSystemClock: Add GST_CLOCK_TYPE_TAI as GStreamer abstraction for
CLOCK_TAI, to support transmission offloading features where network
packets are timestamped with the time they are deemed to be actually
transmitted. Useful in combination with the new AVTP plugin.
- miscellaneous utility functions: gst_clear_uri(),
gst_structure_take().
- harness: Added gst_harness_pull_until_eos()
- GstBaseSrc:
- gst_base_src_new_segment() allows subclasses to update the
segment to be used at runtime from the ::create() function. This
deprecates gst_base_src_new_seamless_segment()
- gst_base_src_negotiate() allows subclasses to trigger format
renegotiation at runtime from inside the ::create() or ::alloc()
function
- GstBaseSink: new stats property and gst_base_sink_get_stats() method
to retrieve various statistics such as average frame rate and
dropped/rendered buffers.
- GstBaseTransform: gst_base_transform_reconfigure() is now public
API, useful for subclasses that need to completely re-implement the
::submit_input_buffer() virtual method
- GstAggregator:
- gst_aggregator_update_segment() allows subclasses to update the
output segment at runtime. Subclasses should use this function
rather than push a segment event onto the source pad directly.
- new sample selection API:
- subclasses should now call gst_aggregator_selected_samples()
from their ::aggregate() implementation to signal that they
have selected the next samples they will aggregate
- GstAggregator will then emit the samples-selected signal
where handlers can then look up samples per pad via
gst_aggregator_peek_next_sample().
- This is useful for example to atomically update input pad
properties in mixer subclasses such as compositor.
Applications can now update properties with precise control
of when these changes will take effect, and for which input
buffer(s).
- gst_aggregator_finish_buffer_list() allows subclasses to push
out a buffer list, improving efficiency in some cases.
- a ::negotiate() virtual method was added, for consistency with
other base classes and to allow subclasses to completely
override the negotiation behaviour.
- the new ::sink_event_pre_queue() and ::sink_query_pre_queue()
virtual methods allow subclasses to intercept or handle
serialized events and queries before they’re queued up
internally.
GStreamer Plugins Base Libraries
Audio library
- audioaggregator, audiomixer: new output-buffer-duration-fraction
property which allows use cases such as keeping the buffers output
by compositor on one branch and audiomixer on another perfectly
aligned, by requiring the compositor to output a n/d frame rate, and
setting output-buffer-duration-fraction to d/n on the audiomixer.
- GstAudioDecoder: new max-errors property so applications can
configure at what point the decoder should error out, or tell it to
just keep going
- gst_audio_make_raw_caps() and gst_audio_formats_raw() are
bindings-friendly versions of the GST_AUDIO_CAPS_MAKE() C macro.
- gst_audio_info_from_caps() now handles encoded audio formats as well
PbUtils library
- GstEncodingProfile:
- Do not restrict number of similar profiles in a container
- add GstValue serialization function
- codec utils now support more H.264/H.265 profiles/levels and have
improved extension handling
RTP library
- rtpbasepayloader: Add scale-rtptime property for scaling RTP
timestamp according to the segment rate (equivalent to RTSP speed
parameter). This is useful for ONVIF trickmodes via RTSP.
- rtpbasepayload: add experimental property for embedding twcc
sequencenumbers for Transport-Wide Congestion Control (gated behind
the GST_RTP_ENABLE_EXPERIMENTAL_TWCC_PROPERTY environment
variable) - more generic API for enabling this is expected to land
in the next development cycle.
- rtcpbuffer: add RTPFB_TYPE_TWCC for Transport-Wide Congestion
Control
- rtpbuffer: add
gst_rtp_buffer_get_extension_onebyte_header_from_bytes()``, so that one can parse theGBytes`
returned by gst_rtp_buffer_get_extension_bytes()
- rtpbasedepayload: Add max-reorder property to make the
previously-hardcoded value when to consider a sender to have
restarted configurable. In some scenarios it’s particularly useful
to set max-reorder=0 to disable the behaviour that the depayloader
will drop packets: when max-reorder is set to 0 all
reordered/duplicate packets are considered coming from a restarted
sender.
RTSP library
- add gst_rtsp_url_get_request_uri_with_control() to create request
uri combined with control url
- GstRTSPConnection: add the possibility to limit the Content-Length
for RTSP messages via
gst_rtsp_connection_set_content_length_limit(). The same
functionality is also exposed in gst-rtsp-server.
SDP library
- add support for parsing the extmap attribute from caps and storing
inside caps The extmap attribute allows mapping RTP extension header
IDs to well-known RTP extension header specifications. See RFC8285
for details.
Tags library
- update to latest iso-code and support more languages
- add tags for acoustid id & acoustid fingerprint, plus MusicBrainz ID
handling fixes
Video library
- High Dynamic Range (HDR) video information representation and
signalling enhancements:
- New APIs for HDR video information representation and
signalling:
- GstVideoMasteringDisplayInfo: display color volume info as
per SMPTE ST 2086
- GstVideoContentLightLevel: content light level specified in
CEA-861.3, Appendix A.
- plus functions to serialise/deserialise and add them to or
parse them from caps
- gst_video_color_{matrix,primaries,transfer}_{to,from}_iso():
new utilility functions for conversion from/to ISO/IEC
23001-8
- add ARIB STD-B67 transfer chracteristic function
- add SMPTE ST 2084 support and BT 2100 colorimetry
- define bt2020-10 transfer characteristics for clarity:
bt707, bt2020-10, and bt2020-12 transfer characteristics are
functionally identical but have their own unique values in
the specification.
- h264parse, h265parse: Parse mastering display info and content
light level from SEIs.
- matroskademux: parse HDR metadata
- matroskamux: Write MasteringMetadata and Max{CLL,FALL}. Enable
muxing with HDR meta data if upstream provided it
- avviddec: Extract HDR information if any and map bt2020-10, PQ
and HLG transfer functions
- added bt601 transfer function (for completeness)
- support for more pixel formats:
- Y412 (packed 12 bits 4:4:4:4)
- Y212 (packed 12 bits 4:2:2)
- P012 (semi-planar 4:2:0)
- P016_{LE,BE} (semi-planar 16 bits 4:2:0)
- Y444_16{LE,BE} (planar 16 bits 4:4:4)
- RGB10A2_LE (packed 10-bit RGB with 2-bit alpha channel)
- NV12_32L32 (NV12 with 32x32 tiles in linear order)
- NV12_4L4 (NV12 with 4x4 tiles in linear order)
- GstVideoDecoder:
- new max-errors property so applications can configure at what
point the decoder should error out, or tell it to just keep
going
- new qos property to disable dropping frames because of QoS, and
post QoS messages on the bus when dropping frames. This is
useful for example in a scenario where the decoded video is
tee-ed off to go into a live sink that syncs to the clock in one
branch, and an encoding and save to file pipeline in the other
branch. In that case one wouldn’t want QoS events from the video
sink make the decoder drop frames because that would also leave
gaps in the encoding branch then.
- GstVideoEncoder:
- gst_video_encoder_finish_subframe() is new API to push out
subframes (e.g. slices), so encoders can split the encoding into
subframes, which can be useful to reduce the overall end-to-end
latency as we no longer need to wait for the full frame to be
encoded to start decoding or sending out the data.
- new min-force-key-unit-interval property allows configuring the
minimum interval between force-key-unit requests and prevents a
big bitrate increase if a lot of key-units are requested in a
short period of time (as might happen in live streaming RTP
pipelines when packet loss is detected).
- various force-key-unit event handling fixes
- GstVideoAggregator, compositor, glvideomixer: expose
max-last-buffer-repeat property on pads. This can be used to have a
compositor display either the background or a stream on a lower
zorder after a live input stream freezes for a certain amount of
time, for example because of network issues.
- gst_video_format_info_component() is new API to find out which
components are packed into a given plane, which is useful to prevent
us from assuming a 1-1 mapping between planes and components.
- gst_video_make_raw_caps() and gst_video_formats_raw() are
bindings-friendly versions of the GST_VIDEO_CAPS_MAKE() C macro.
- video-blend: Add support for blending on top of 16 bit per component
formats, which makes sure we can support every currently supported
raw video format for blending subtitles or logos on top of video.
- GST_VIDEO_BUFFER_IS_TOP_FIELD() and
GST_VIDEO_BUFFER_IS_BOTTOM_FIELD() convenience macros to check
whether the video buffer contains only the top field or bottom field
of an interlaced picture.
- GstVideoMeta now includes an alignment field with the
GstVideoAlignment so buffer producers can explicitly specify the
exact geometry of the planes, allowing users to easily know the
padded size and height of each plane. Default values will be used if
this is not set.
Use gst_video_meta_set_alignment() to set the alignment and
gst_video_meta_get_plane_size() or gst_video_meta_get_plane_height()
to compute the plane sizes or plane heights based on the information
in the video meta.
- gst_video_info_align_full() works like gst_video_info_align() but
also retrieves the plane sizes.
MPEG-TS library
- support for SCTE-35 sections
- extend support for ATSC tables:
- System Time Table (STT)
- Master Guide Table (MGT)
- Rating Region Table (RRT)
Miscellaneous performance, latency and memory optimisations
As always there have been many performance and memory usage improvements
across all components and modules. Some of them have already been
mentioned elsewhere so won’t be repeated here.
The following list is only a small snapshot of some of the more
interesting optimisations that haven’t been mentioned in other contexts
yet:
- caps negotiation, structure and GValue performance optimizations
- systemclock: clock waiting performance improvements (moved from
GstPoll to GCond for waiting), especially on Windows.
- rtpsession: add support for buffer lists on the recv path for better
performance with higher packet rate streams.
- rtpjitterbuffer: internal timer handling has been rewritten for
better performance, see Nicolas’ talk “Revisiting RTP Jitter Buffer
Timers” for more details.
- H.264/H.265 parsers and RTP payloaders/depayloaders have been
optimised for latency to make sure data is processed and pushed out
as quickly as possible
- video-scaler: correctness and performance improvements, esp. for
interlaced formats and GBRA
- GstVideoEncoder has gained new API to push out subframes
(e.g. slices), so encoders can split the encoding into subframes,
which can be useful to reduce the overall end-to-end latency as we
no longer need to wait for the full frame to be encoded to start
decoding or sending out the data.
This is complemented by the new GST_VIDEO_BUFFER_FLAG_MARKER which
is a video-specific buffer flag to mark the end of a video frame, so
elements can know that they have received all data for a frame
without waiting for the beginning of the next frame. This is similar
to how the RTP marker flag is used in many RTP video mappings.
The video encoder base class now also releases the internal stream
lock before pushing out data, so as to not block the input side of
things from processing more data in the meantime.
Miscellaneous other changes and enhancements
- it is now possible to modify the initial rank of plugin features
without modifying the source code or writing code to do so
programmatically via the GST_PLUGIN_FEATURE_RANK environment
variable. Users can adjust the rank of plugin(s) by passing a
comma-separated list of feature:rank pairs where rank can be a
numerical value or one of NONE, MARGINAL, SECONDARY, PRIMARY, and
MAX. Example: GST_PLUGIN_FEATURE_RANK=myh264dec:MAX,avdec_h264:NONE
sets the rank of the myh264dec element feature to the maximum and
that of avdec_h264 to 0 (none), thus ensuring that myh264dec is
prefered as H264 decoder in an autoplugging context.
- GstDeviceProvider now does a static probe on start as fallback for
providers that don’t support dynamic probing to make things easier
for users
WebRTC
- webrtcbin now contains initial support for renegotiation involving
stream addition and removal. There are a number of caveats to this
initial renegotiation support and many complex scenarios are known
to require some work.
- webrtcbin now exposes the internal ICE object for advanced
configuration options. Using the internal ICE object, it is possible
to toggle UDP or TCP connection usage as well as provide local
network addresses.
- Fix a number of call flows within webrtcbin’s GstPromise handling
where a promise was never replied to. This has been fixed and now a
promise will always receive a reply.
- webrtcbin now exposes a latency property for configuring the
internal rtpjitterbuffer latency and buffering when receiving
streams.
- webrtcbin now only synchronises the RTP part of a stream, allowing
RTCP messages to skip synchronisation entirely.
- Fixed most of the webrtcbin state properties (connection-state,
ice-connection-state, signaling-state, but not ice-gathering-state
as that requires newer API in libnice and will be fixed in the next
release series) to advance through the state values correctly. Also
implemented DTLS connection states in the DTLS elements so that
peer-connection-state is not always new.
- webrtcbin now accounts for the a=ice-lite attribute in a remote SDP
offer and will configure the internal ICE implementation
accordingly.
- webrtcbin will now resolve .local candidate addresses using the
system DNS resolver. .local candidate addresses are now produced by
web browsers to help protect the privacy of users.
- webrtcbin will now add candidates found in the SDP to the internal
ICE agent. This was previously unsupported and required using the
add-ice-candidate signal manually from the application.
- webrtcbin will now correctly parse a TURN URI that contains a
username or password with a : in it.
- The GStreamer WebRTC library gained a GstWebRTCDataChannel object
roughly matching the interface exposed by the WebRTC specification
to allow for easier binding generation and use of data channels.
OpenGL integration
GStreamer OpenGL bindings/build related changes
- The GStreamer OpenGL library (libgstgl) now ships pkg-config files
for platform-specific API where libgstgl provides a public
integration interface and a pkg-config file for a dependency on the
detected OpenGL headers. The new list of pkg-config files in
addition to the original gstreamer-gl-1.0 are gstreamer-gl-x11-1.0,
gstreamer-gl-wayland-1.0, gstreamer-gl-egl-1.0, and
gstreamer-gl-prototypes-1.0 (for OpenGL headers when including
gst/gl/gstglfuncs.h).
- GStreamer OpenGL now ships some platform-specific introspection data
for platforms that have a public interface. This should allow for
easier integration with bindings involving platform specific
functionality. The new introspection data files are named
GstGLX11-1.0, GstGLWayland-1.0, and GstGLEGL-1.0.
GStreamer OpenGL Features
- The iOS implementation no longer accesses UIKit objects off the main
thread fixing a loud warning message when used in iOS applications.
- Support for mouse and keyboard handling using the GstNavigation
interface was added for the wayland implementation complementing the
already existing support for the X11 and Windows implementations.
- A new helper base class for source elements, GstGLBaseSrc is
provided to ease writing source elements producing OpenGL video
frames.
- Support for some more 12-bit and 16-bit video formats (Y412_LE,
Y412_BE, Y212_LE, Y212_BE, P012_LE, P012_BE, P016, NV16, NV61) was
added to glcolorconvert.
- glupload can now import dma-buf’s into external-oes textures.
- A new display type for EGLDevice-based systems was added. It is
currently opt-in by using either the GST_GL_PLATFORM=egl-device
environment variable or manual construction
(gst_gl_display_egl_device_new*()) due to compatibility issues with
some platforms.
- Support was added for WinRT/UWP using the ANGLE project for running
OpenGL-based pipelines within a UWP application.
- Various elements now support changing the GstGLDisplay to be used at
runtime in simple cases. This is primarily helpful for changing or
adding an OpenGL-based video sink that must share an OpenGL context
with an external source to an already running pipeline.
GStreamer Vulkan integration
- There is now a GStreamer Vulkan library to provide integration
points and helpers with applications and external GStreamer Vulkan
based elements. The structure of the library is modelled similarly
to the already existing GStreamer OpenGL library. Please note that
the API is still unstable and may change in future releases,
particularly around memory handling. The GStreamer Vulkan library
contains objects for sharing the vkInstance, vkDevice, vkQueue,
vkImage, VkMemory, etc with other elements and/or the application as
well as some helper objects for using Vulkan in an application or
element.
- Added support for building and running on/for the Android and
Windows systems to complement the existing XCB, Wayland, MacOS, and
iOS implementations.
- XCB gained support for mouse/keyboard events using the GstNavigation
API.
- New vulkancolorconvert element for converting between color formats.
vulkancolorconvert can currently convert to/from all 8-bit RGBA
formats as well as 8-bit RGBA formats to/from the YUV formats AYUV,
NV12, and YUY2.
- New vulkanviewconvert element for converting between stereo view
layouts. vulkanviewconvert can currently convert between all of the
single memory formats (side-by-side, top-bottom, column-interleaved,
row-interleaved, checkerboard, left, right, mono).
- New vulkanimageidentity element for a blit from the input vulkan
image/s to a new vulkan image/s.
- The vulkansink element can now scale the input image to the output
window/surface size where that information is available.
- The vulkanupload element can now configure a transfer from system
memory to VulkanImage-based memory. Previously, this required two
vulkanupload elements.
Tracing framework and debugging improvements
- gst_tracing_get_active_tracers() returns a list of active tracer
objects. This can be used to interact with tracers at runtime using
GObject API such as action signals. This has been implemented in the
leaks tracer for snapshotting and retrieving leaked/active objects
at runtime.
- The leaks tracer can now be interacted with programmatically at
runtime via GObject action signals:
- get-live-object returns a list of live (allocated) traced
objects
- log-live-objects logs a list of live objects into the debug log.
This is the same as sending the SIGUSR1 signal on unix systems,
but works on all operating systems including Windows.
- activity-start-tracking, activity-get-checkpoint,
activity-log-checkpoint, activity-stop-tracking: add support for
tracking and checkpointing objects, similar to what was
previously available via SIGUSR2 on unix systems, but works on
all operating systems including Windows.
- various GStreamer gdb debug helper improvements:
- new ‘gst-pipeline-tree’ command
- more gdb helper functions: gst_element_pad(), gst_pipeline() and
gst_bin_get()
- support for queries and buffers
- print more info for segment events, print event seqnums, object
pointers and structures
- improve gst-print command to show more pad and element
information
Tools
gst-launch-1.0
- now prints the pipeline position and duration if available when the
pipeline is advancing. This is hopefully more user-friendly and
gives visual feedback on the terminal that the pipeline is actually
up and running. This can be disabled with the --no-position command
line option.
- the parse-launch pipeline syntax now has support for presets:
use@preset=<preset-name>" after an element to load a preset.
gst-inspect-1.0
- new --color command line option to force coloured output even if not
connected to a tty
gst-tester-1.0 (new)
- gst-tester-1.0 is a new tool for plugin developers to launch
.validatetest files with TAP compatible output, meaning it can
easily and cleanly be integrated with the meson test harness. It
allows you to use gst-validate (from the gst-devtools module) to
write integration tests in any GStreamer repository whilst keeping
the tests as close as possible to the code. The tool transparently
handles gst-validate being installed or not: if it is not installed
those integration tests will simply be skipped.
gst-play-1.0
- interactive keyboard controls now also work on Windows
gst-transcoder-1.0 (new)
- gst-transcoder-1.0 is a new command line tool to transcode one URI
into another URI based on the specified encoding profile using the
new GstTranscoder API (see above).
GStreamer RTSP server
- Fix issue where the first few packets (i.e. keyframes) could
sometimes be dropped if the rtsp media pipeline had a live input.
This was a regression from GStreamer 1.14. There are more fixes
pending for that which will hopefully land in 1.18.1.
- Fix backpressure handling when sending data in TCP interleave mode
where RTSP requests and responses and RTP/RTCP packets flow over the
same RTSP TCP connection: The previous implementation would at some
point stop sending data to other clients when a single client
stopped consuming data or did not consume data fast enough. This
obviously created problems for shared media, where the same stream
from a single producer pipeline is sent to multiple clients. Instead
we now manage a backlog in the server’s stream-transport component
and remove slow clients once this backlog exceeds a maximum duration
(which is currently hardcoded).
- Onvif Streaming Specification trick modes support (see section at
the beginning)
- Scale/Speed header support: Speed will deliver the data at the
requested speed, which means increasing the data bandwidth for
speeds > 1.0. Scale will attempt to do the same without affecting
the overall bandwidth requirement vis-a-vis normal playback speed
(e.g. it might drop data for fast-forward playback).
- rtspclientsink: send buffer lists in one go for better performance
GStreamer VAAPI
- A lot of work was done adding support for media-driver (iHD), the
new VAAPI driver for Intel, mostly for Gen9 onwards.
- Available color formats and frame sizes are now detected at run-time
according to the context configuration.
- Gallium drivers have been re-enabled in the allowed drivers list
- Improved the mapping between VA formats and GStreamer formats by
generating a mapping table at run-time since even among different
drivers the mapping might be different, particularly for RGB with
little endianness.
- The experimental Flexible Encoding Infrastructure (FEI) elements
have been removed since they were not really actively maintained or
tested.
- Enhanced the juggling of DMABuf buffers and VASurface metas
- New vaapioverlay element: a compositor element using VA VPP blend
capabilities to accelerate overlaying and compositing. Example
pipeline:
gst-launch-1.0 -vf videotestsrc ! vaapipostproc ! tee name=testsrc ! queue \
! vaapioverlay sink_1::xpos=300 sink_1::alpha=0.75 name=overlay ! vaapisink \
testsrc. ! queue ! overlay.
vaapipostproc
- added video-orientation support, supporting frame mirroring and
rotation
- added cropping support, either via properties (crop-left,
crop-right, crop-bottom and crop-top) or buffer meta.
- new skin-tone-enhancenment-level property which is the iHD
replacement of the i965 driver’s sink-tone-level. Both are
incompatible with each other, so both were kept.
- handle video colorimetry
- support HDR10 tone mapping
vaapisink
- resurrected wayland backend for non-weston compositors by extracting
the DMABuf from the VASurface and rendering it.
- merged the video overlay API for wayland. Now applications can
define the “window” to render on.
- demoted the vaapisink element to secondary rank since libva
considers rendering as a second-class feature.
VAAPI Encoders
- new common target-percentage property which is the desired target
percentage of bitrate for variable rate control.
- encoders now extract their caps from the driver at registration
time.
- vaapivp9enc: added support for low power mode and support for
profile 2 (profile 0 by default)
- vaapih264enc: new max-qp property that sets the maximum quantization
value. Support for ICQ and QBVR bitrate control mode, adding a
quality-factor property for these modes. Support baseline profile as
constrained-baseline
- vaapih265enc:
- support for main-444 and main-12 encoding profiles.
- new max-qp property that sets the maximum quantization value.
- support for ICQ and QBVR bitrate control mode, adding a
quality-factor property for these modes.
- handle SCC profiles.
- num-tile-cols and num-tile-row properties to specify the number
of tiles to use.
- the low-delay-b property was deprecated and is now determined
automatically.
- improved profile selection through caps.
VAAPI Decoders
- Decoder surfaces are not bound to their context any longer and can
thus be created and used dynamically, removing the deadlock
headache.
- Reverse playback is now fluid
- Forward Region-of-Interest (ROI) metas downstream
- GLTextureUploadMeta uses DMABuf when GEM is not available. Now
Gallium drivers can use this meta for rendering with EGL.
- vaapivp9dec: support for 4:2:2 and 4:4:4 chroma type streams
- vaapih265dec: skip all pictures prior to the first I-frame. Enable
passing range extension flags to the driver. Handle SCC profiles.
- vaapijpegdec: support for 4:0:0, 4:1:1, 4:2:2 and 4:4:4 chroma types
pictures
- vaapih264dec: handle baseline streams as constrained-baseline if
possible and make it more tolerant when encountering unknown NALs
GStreamer OMX
- omxvideoenc: use new video encoder subframe API to push out slices
as soon as they’re ready
- omxh264enc, omxh265enc: negotiate subframe mode via caps. To enable
it, force downstream caps to video/x-h264,alignment=nal or
video/x-h265,alignment=nal.
- omxh264enc: Add ref-frames property
- Zynq ultrascale+ specific video encoder/decoder improvements:
- GRAY8 format support
- support for alternate fields interlacing mode
- video encoder: look-ahead, long-term-ref, and long-term-freq
properties
GStreamer Editing Services and NLE
- Added nested timelines and subproject support so that GES projects
can be used as clips, potentially serializing nested projects in the
main file or referencing external project files.
- Implemented an OpenTimelineIO GES formatter. This means GES and
GStreamer can now load and save projects in all the formats
supported by otio.
- Implemented a GESMarkerList object which allow setting timed
metadata on any GES object.
- Fixed audio rendering issues during clip transition by ensuring that
a single segment is pushed into encoders.
- The GESUriClipAsset API is now MT safe.
- Added ges_meta_container_register_static_meta() to allow fixing a
type for a specific metadata without actually setting a value.
- The framepositioner element now handles resizing the project and
keeps the same positioning when the aspect ratio is not changed .
- Reworked the documentation, making it more comprehensive and much
more detailed.
- Added APIs to retrieve natural size and framerate of a clip (for
example in the case of URIClip it is the framerate/size of the
underlying file).
- ges_container_edit() is now deprecated and GESTimelineElement gained
the ges_timeline_element_edit() method so the editing API is now
usable from any element in the timeline.
- GESProject::loading was added so applications can be notified about
when a new timeline starts loading.
- Implemented the GstStream API in GESTimeline.
- Added a way to add a timeoverlay inside the test source (potentially
with timecodes).
- Added APIs to convert times to frame numbers and vice versa:
- ges_timeline_get_frame_time()
- ges_timeline_get_frame_at()
- ges_clip_asset_get_frame_time()
- ges_clip_get_timeline_time_from_source_frame()
Quite a few validate tests have been implemented to check the
behavior for various demuxer/codec formats
- Added ges_layer_set_active_for_tracks() which allows muting layers
for the specified tracks
- Deprecated GESImageSource and GESMultiFileSource now that we have
imagesequencesrc which handles the imagesequence “protocol”
- Stopped exposing ‘deinterlacing’ children properties for clip types
where they do not make sense.
- Added support for simple time remapping effects
GStreamer validate
- Introduced the concept of “Test files” allowing to implement “all
included” test cases, meaning that inside the file the following can
be defined:
- The application arguments
- The validate configurations
- The validate scenario
This replaces the previous big dictionary file in
gst-validate-launcher to implement specific test cases.
We set several variables inside the files (as well as inside
scenarios and config files) to make them relocatable.
The file format has been enhanced so it is easier to read and write,
for example line ending with a coma or (curly) brackets can now be
used as continuation marker so you do not need to add \ at the end
of lines to write a structure on several lines.
- Support the imagesequence “protocol” and added integration tests for
it.
- Added action types to allow the scenario to run the Test Clock for
better reproducibility of tests.
- Support generating tests to check that seeking is frame accurate
(base on ssim).
- Added ways to record buffers checksum (in different ways) in the
validateflow module.
- Added vp9 encoding tests.
- Enhanced seeking action types implementation to allow support for
segment seeks.
- Output improvements:
- Logs are now in markdown formats (and bat is used to dump them
if available).
- File format issues in scenarios/configs/tests files are nicely
reported with the line numbers now.
GStreamer Python Bindings
- Python 2.x is no longer supported
- Support mapping buffers without any memcpy:
- Added a ContextManager to make the API more pythonic
with buf.map(Gst.MapFlags.READ | Gst.MapFlags.WRITE) as info:
info.data[42] = 0
- Added high-level helper API for constructing pipelines:
- Gst.Bin.make_and_add(factory_name, instance_name=None)
- Gst.Element.link_many(element, ...)
GStreamer C# Bindings
- Bind gst_buffer_new_wrapped() manually to fix memory handling.
- Fix gst_promise_new_with_change_func() where bindgen didn’t properly
detect the func as a closure.
- Declare GstVideoOverlayComposition and GstVideoOverlayRectangle as
opaque type and subclasses of Gst.MiniObject. This changes the API
but without this all usage will cause memory corruption or simply
not work.
- on Windows, look for gstreamer, glib and gobject DLLs using the MSVC
naming convention (i.e. gstvideo-1.0-0.dll instead of
libgstvideo-1.0-0.dll).
The names of these DLLs have to be hardcoded in the bindings, and
most C# users will probably be using the Microsoft toolchain anyway.
This means that the MSVC compiler is now required to build the
bindings, MingW will no longer work out of the box.
GStreamer Rust Bindings and Rust Plugins
The GStreamer Rust bindings are released separately with a different
release cadence that’s tied to gtk-rs, but the latest release has
already been updated for the new GStreamer 1.18 API, so there’s
absolutely no excuse why your next GStreamer application can’t be
written in Rust anymore.
gst-plugins-rs, the module containing GStreamer plugins written in Rust,
has also seen lots of activity with many new elements and plugins.
What follows is a list of elements and plugins available in
gst-plugins-rs, so people don’t miss out on all those potentially useful
elements that have no C equivalent.
Rust audio plugins
- audiornnoise: New element for audio denoising which implements the
noise removal algorithm of the Xiph RNNoise library, in Rust
- rsaudioecho: Port of the audioecho element from gst-plugins-good
rsaudioloudnorm: Live audio loudness normalization element based on
the FFmpeg af_loudnorm filter
- claxondec: FLAC lossless audio codec decoder element based on the
pure-Rust claxon implementation
- csoundfilter: Audio filter that can use any filter defined via the
Csound audio programming language
- lewtondec: Vorbis audio decoder element based on the pure-Rust
lewton implementation
Rust video plugins
- cdgdec/cdgparse: Decoder and parser for the CD+G video codec based
on a pure-Rust CD+G implementation, used for example by karaoke CDs
- cea608overlay: CEA-608 Closed Captions overlay element
- cea608tott: CEA-608 Closed Captions to timed-text (e.g. VTT or SRT
subtitles) converter
- tttocea608: CEA-608 Closed Captions from timed-text converter
- mccenc/mccparse: MacCaption Closed Caption format encoder and parser
- sccenc/sccparse: Scenarist Closed Caption format encoder and parser
- dav1dec: AV1 video decoder based on the dav1d decoder implementation
by the VLC project
- rav1enc: AV1 video encoder based on the fast and pure-Rust rav1e
encoder implementation
- rsflvdemux: Alternative to the flvdemux FLV demuxer element from
gst-plugins-good, not feature-equivalent yet
- rsgifenc/rspngenc: GIF/PNG encoder elements based on the pure-Rust
implementations by the image-rs project
Rust text plugins
- textwrap: Element for line-wrapping timed text (e.g. subtitles) for
better screen-fitting, including hyphenation support for some
languages
Rust network plugins
- reqwesthttpsrc: HTTP(S) source element based on the Rust
reqwest/hyper HTTP implementations and almost feature-equivalent
with the main GStreamer HTTP source souphttpsrc
- s3src/s3sink: Source/sink element for the Amazon S3 cloud storage
- awstranscriber: Live audio to timed text transcription element using
the Amazon AWS Transcribe API
Generic Rust plugins
- sodiumencrypter/sodiumdecrypter: Encryption/decryption element based
on libsodium/NaCl
- togglerecord: Recording element that allows to pause/resume
recordings easily and considers keyframe boundaries
- fallbackswitch/fallbacksrc: Elements for handling potentially
failing (network) sources, restarting them on errors/timeout and
showing a fallback stream instead
- threadshare: Set of elements that provide alternatives for various
existing GStreamer elements but allow to share the streaming threads
between each other to reduce the number of threads
- rsfilesrc/rsfilesink: File source/sink elements as replacements for
the existing filesrc/filesink elements
Build and Dependencies
- The Autotools build system has finally been removed in favour of the
Meson build system. Developers who currently use gst-uninstalled
should move to gst-build.
- API and plugin documentation are no longer built with gtk_doc. The
gtk_doc documentation has been removed in favour of a new unified
documentation module built with hotdoc (also see “Documentation
improvements” section below). Distributors should use the
documentation release tarball instead of trying to package hotdoc
and building the documentation from scratch.
- gst-plugins-bad now includes an internal copy of libusrsctp, as
there are problems in usrsctp with global shared state, lack of API
stability guarantees, and the absence of any kind of release
process. We also can’t rely on distros shipping a version with the
fixes we need. Both firefox and Chrome bundle their own copies too.
It is still possible to build against an external copy of usrsctp if
so desired.
- nvcodec no longer needs the NVIDIA NVDEC/NVENC SDKs available at
build time, only at runtime. This allows distributions to ship this
plugin by default and it will just start to work when the required
run-time SDK libraries are installed by the user, without users
needing to build and install the plugin from source.
- the gst-editing-services tarball is now named gst-editing-services
for consistency (used to be gstreamer-editing-services).
- the gst-validate tarball has been superseded by the gst-devtools
tarball for consistency with the git module name.
gst-build
gst-build is a meta-module and serves primarily as our uninstalled
development environment. It makes it easy to build most of GStreamer,
but unlike Cerbero it only comes with a limited number of external
dependencies that can be built as subprojects if they are not found on
the system.
gst-build is based on Meson and replaces the old autotools
gst-uninstalled script.
- The ‘uninstalled’ target has been renamed to ‘devenv’
- Experimental gstreamer-full library containing all built plugins and
their deps when building with -Ddefault_library=static. A monolithic
library is easier to distribute, and may be required in some
environments. GStreamer core, GLib and GObject are always included,
but external dependencies are still dynamically linked. The
gst-full-libraries meson option allows adding other GStreamer
libraries to the gstreamer-full build. This is an experiment for now
and its behaviour or API may still change in future releases.
- Add glib-networking as a subproject when glib is a subproject and
load gio modules in the devenv, tls option control whether to use
openssl or gnutls.
- git-worktree: Allow multiple worktrees for subproject branches
- Guard against meson being run from inside the uninstalled devenv, as
this might have unexpected consequences.
- our ffmpeg and x264 meson ports have been updated to the latest
stable version (you might need to update the subprojects checkout
manually though, or just remove the checkouts so meson checks out
the latest version again; improvements for this are pending in
meson, but not merged yet).
Cerbero
Cerbero is a meta build system used to build GStreamer plus dependencies
on platforms where dependencies are not readily available, such as
Windows, Android, iOS and macOS.
General improvements
- Recipe build steps are done in parallel wherever possible. This
leads to massive improvements in overall build time.
- Several recipes were ported to Meson, which improved build times
- Moved from using both GnuTLS and OpenSSL to only OpenSSL
- Moved from yasm to nasm for all assembly compilation
- Support zsh when running the cerbero shell command
- Numerous version upgrades for dependencies
- Default to xz for tarball binary packages. bz2 can be selected with
the --compress-method option to package.
- Added boolean variant for controlling the optimization level:
-v optimization
- Ship .pc pkgconfig files for all plugins in the binary packages
- CMake and nasm will only be built by Cerbero if the system versions
are unusable
- The nvcodec variant was removed and the nvcodec plugin is built by
default now (as it no longer requires the SDK to be installed at
build time, only at runtime)
macOS / iOS
- Minimum iOS SDK version bumped to 11.0
- Minimum macOS SDK version bumped to 10.11
- No longer need to manually add support for newer iOS SDK versions
- Added Vulkan elements via MoltenVK
- Build times were improved by code-signing all build tools
- macOS framework ships all gstreamer libraries instead of an outdated
subset
- Ship pkg-config in the macOS framework package
- fontconfig: Fix EXC_BAD_ACCESS crash on iOS ARM64
- Improved App Store compatibility by setting LC_VERSION_MIN_MACOSX,
fixing relocations, and improved bitcode support
Windows
- MinGW-GCC toolchain was updated to 8.2. It uses the Universal CRT
instead of MSVCRT which eliminates cross-CRT issues in the Visual
Studio build.
- Require Windows 7 or newer for running binaries produced by Cerbero
- Require Windows x86_64 for running Cerbero to build binary packages
- Cerbero no longer uses C:/gstreamer/1.0 as a prefix when building.
That prefix is reserved for use by the MSI installers.
- Several recipes can now be buit with Visual Studio instead of MinGW.
Ported to meson: opus, libsrtp, harfbuzz, cairo, openh264, libsoup,
libusrsctp. Existing build system: libvpx, openssl.
- Support building using Visual Studio for 32-bit x86. Previously we
only supported building for 32-bit x86 using the MinGW toolchain.
- Fixed annoying msgmerge popups in the middle of cerbero builds
- Added configuration options vs_install_path and vs_install_version
for specifying custom search locations for older Visual Studio
versions that do not support vswhere. You can set these in
~/.cerbero/cerbero.cbc where ~ is the MSYS homedir, not your Windows
homedir.
- New Windows-specific plugins: d3d11, mediafoundation, wasapi2
- Numerous compatibility and reliability fixes when running Cerbero on
Windows, especially non-English locales
- proxy-libintl now exports the same symbols as gettext, which makes
it a drop-in replacement
- New mapping variant for selecting the Visual Studio CRT to use:
-v vscrt=<value>. Valid values are md, mdd, and auto (default). A
separate prefix is used when building with either md (release) or
mdd (debug), and the outputted package will have +debug in the
filename. This variant is also used for selecting the correct Qt
libraries (debug vs release) to use when building with -v qt5 on
Windows.
- Support cross-compile on Windows to Windows ARM64 and ARMv7
- Support cross-compile on Windows to the Universal Windows Platform
(UWP). Only the subset of plugins that can be built entirely with
Visual Studio will be selected in this case. To do so, use the
config/cross-uwp-universal.cbc configuration, which will build
ARM64, x86, and x86_64 binaries linked to the release CRT, with
optimizations enabled, and debugging turned on. You can combine this
with -v vscrt=mdd to produce binaries linked to the debug CRT. You
can turn off optimizations with the -v nooptimization variant.
Windows MSI installer
- Require Windows 7 or newer for running GStreamer
- Fixed some issues with shipping of pkg-config in the Windows
installers
- Plugin PDB debug files are now shipped in the development package,
not the runtime package
- Ship installers for 32-bit binaries built with Visual Studio
- Ship debug and release “universal” (ARM64, X86, and X86_64) tarballs
built for the Universal Windows Platform
- Windows MSI installers now install into separate prefixes when
building with MSVC and MinGW. Previously both would be installed
into C:/gstreamer/1.0/x86 or C:/gstreamer/1.0/x86_64. Now, the
installation prefixes are:
----------------------------------------------------------------------------------------------------------------
Target Path Build options
--------------------------- ------------------------------------ -----------------------------------------------
MinGW 32-bit C:/gstreamer/1.0/mingw_x86 -c config/win32.cbc
MinGW 64-bit C:/gstreamer/1.0/mingw_x86_64 -c config/win64.cbc
MSVC 32-bit C:/gstreamer/1.0/msvc_x86 -c config/win32.cbc -v visualstudio
MSVC 64-bit C:/gstreamer/1.0/msvc_x86_64 -c config/win64.cbc -v visualstudio
MSVC 32-bit (debug) C:/gstreamer/1.0/msvc-debug_x86 -c config/win32.cbc -v visualstudio,vscrt=mdd
MSVC 64-bit (debug) C:/gstreamer/1.0/msvc-debug_x86_64 -c config/win64.cbc -v visualstudio,vscrt=mdd
----------------------------------------------------------------------------------------------------------------
Note: UWP binary packages are tarballs, not MSI installers.
Linux
- Support creating MSI installers using WiX when cross-compiling to
Windows
- Support running cross-windows binaries with Wine when using the
shell and runit cerbero commands
- Added bash-completion support inside the cerbero shell on Linux
- Require a system-wide installation of openssl on Linux
- Added variant -v vaapi to build gstreamer-vaapi and the new gstva
plugin
- Debian packaging was disabled because it does not work. Help in
fixing this is appreciated.
- Trimmed the list of packages needed for bootstrap on Linux
Android
- Updated to NDK r21
- Support Vulkan
- Support Qt 5.14+ binary package layout
Platform-specific changes and improvements
Android
- opensles: Remove hard-coded buffer-/latency-time values and allow
openslessink to handle 48kHz streams.
- photography interface and camera source: Add additional settings
relevant to Android such as: Exposure mode property, extra colour
tone values (aqua, emboss, sketch, neon), extra scene modes
(backlight, flowers, AR, HDR), and missing virtual methods for
exposure mode, analog gain, lens focus, colour temperature, min &
max exposure time. Add new effects and scene modes to Camera
parameters.
macOS and iOS
- vtdec can now output to Vulkan-backed memory for zerocopy support
with the Vulkan elements.
Windows
- d3d11videosink: new Direct3D11-based video sink with support for
HDR10 rendering if supported.
- Hardware-accelerated video decoding on Windows via DXVA2 /
Direct3D11 using native Windows APIs rather than per-vendor SDKs
(like MSDK for Intel or NVCODEC for NVidia). Plus modern Direct3D11
integration rather than the almost 20-year old Direct3D9 from
Windows XP times used in d3dvideosink. Formats supported for
decoding are H.264, H.265, VP8, and VP9, and zero-copy operation
should be supported in combination with the new d3d11videosink. See
Seungha’s blog post “Windows DXVA2 (via Direct3D 11) Support in
GStreamer 1.17” for more details.
- Microsoft Media Foundation plugin for hardware-accelerated video
encoding on Windows using native Windows APIs rather than per-vendor
SDKs. Formats supported for encoding are H.264, H.265 and VP9. Also
includes audio encoders for AAC and MP3. See Seungha’s blog post
“Bringing Microsoft Media Foundation to GStreamer” for some more
details about this.
- new mfvideosrc video capture source element using the latest Windows
APIs rather than ancient APIs used by ksvideosrc/winks. ksvideosrc
should be considered deprecated going forward.
- d3d11: add d3d11convert, a color space conversion and rescaling
element using shaders, and introduce d3d11upload and d3d11download
elements that work just like glupload and gldownload but for D3D11.
- Universal Windows Platform (UWP) support, including official
GStreamer binary packages for it. Check out Nirbheek’s latest blog
post “GStreamer 1.18 supports the Universal Windows Platform” for
more details.
- systemclock correctness and reliability fixes, and also don’t start
the system clock at 0 any longer (which shouldn’t make any
difference to anyone, as absolute clock time values are supposed to
be meaningless in themselves, only the rate of increase matters).
- toolchain specific plugin registry: the registry cache is now named
differently for MSVC and MinGW toolchains/packages, which should
avoid problems when switching between binaries built with a
different toolchain.
- new wasapi2 plugin mainly to support UWP applications. The core
logic of this plugin is almost identical to existing wasapi plugin,
but the main target is Windows 10 and UWP. This plugin uses WinRT
APIs, so will likely not work on Windows 8 or older. Unlike the
existing wasapi plugin, this plugin supports automatic stream
routing (auto fallback when device was removed) and device level
mute/volume control. Exclusive streaming mode is not supported,
however, and loopback features are not implemented yet. It is also
only possible to build this plugin with MSVC and the Windows 10 SDK,
it can’t be cross-compiled with the MingW toolchain.
- new dxgiscreencapsrc element which uses the Desktop Duplication API
to capture the desktop screen at high speed. This is only supported
on Windows 8 or later. Compared to the existing elements
dxgiscreencapsrc offers much better performance, works in High DPI
environments and draws an accurate mouse cursor.
- d3dvideosink was downgraded to secondary rank, d3d11videosink is
preferred now. Support OverlayComposition for GPU overlay
compositing of subtitles and logos.
- debug log output fixes, esp. with a non-UTF8 locale/codepage
- speex, jack: fixed crashes on Windows caused by cross-CRT issues
- gst-play-1.0 interactive keyboard controls now also work on Windows
Linux
- kmssink: Add support for P010 and P016 formats
- vah264dec: new experimental va plugin with an element for H.264
decoding with VA-API. This novel approach, different from
gstreamer-vaapi, uses the gstcodecs library for decoder state
handling, which it is hoped will make for cleaner code because it
uses VA-API without further layers or wrappers. Check out Víctor’s
blog post “New VA-API H.264 decoder in gst-plugins-bad” for the full
lowdown and the limitations of this new plugin, and how to give it a
spin.
- v4l2codecs: introduce a V4L2 CODECs Accelerator. This plugin will
support the new CODECs uAPI in the Linux kernel, which consists of
an accelerator interface similar to DXVA, NVDEC, VDPAU and VAAPI. So
far H.264 and VP8 are supported. This is used on certain embedded
systems such as i.mx8m, rk3288, rk3399, Allwinner H-series SoCs.
Documentation improvements
- unified documentation containing tutorials, API docs, plugin docs,
etc. all under one roof, shipped in form of a documentation release
tarball containing both devhelp and html documentation.
- all documentation is now generated using hotdoc, gtk-doc is no
longer used. Distributors should use the above-mentioned
documentation release tarball instead of trying to package hotdoc
and building the documentation from scratch.
- there is now documentation for wrapper plugins like gst-libav and
frei0r, as well as tracer plugins.
- for more info, check out Thibault’s “GStreamer Documentation”
lightning talk from the 2019 GStreamer Conference.
- new API for plugins to support the documentation system:
- new GParamSpecFlag GST_PARAM_DOC_SHOW_DEFAULT to make
gst-inspect-1.0 (and the documentation) show the paramspec’s
default value rather than the actually set value as default
- GstPadTemplate getter and setter for “documentation caps”,
gst_pad_template_set_documentation_caps() and
gst_pad_template_get_documentation_caps(): This can be used in
elements where the caps of pad templates are dynamically
generated and/or dependent on the environment, to override the
caps shown in the documentation (usually to advertise the full
set of possible caps).
- gst_type_mark_as_plugin_api() for marking types as plugin API,
used for plugin-internal types like enums, flags, pad
subclasses, boxed types, and such.
Possibly Breaking Changes
- GstVideo: the canonical list of raw video formats (for use in caps)
has been reordered, so video elements such as videotestsrc or
videoconvert might negotiate to a different format now than before.
The new format might be a higher-quality format or require more
processing overhead, which might affect pipeline performance.
- mpegtsdemux used to wrongly advertise H.264 and H.265 video
elementary streams as alignment=nal. This has now been fixed and
changed to alignment=none, which means an h264parse or h265parse
element is now required after tsdemux for some pipelines where there
wasn’t one before, e.g. in transmuxing scenarios (tsdemux ! tsmux).
Pipelines without such a parser may now fail to link or error out at
runtime. As parsers after demuxers and before muxers have been
generally required for a long time now it is hoped that this will
only affect a small number of applications or pipelines.
- The Android opensles audio source and sink used to have hard-coded
buffer-/latency-time values of 20ms. This is no longer needed with
newer Android versions and has now been removed. This means a higher
or lower value might now be negotiated by default, which can affect
pipeline performance and latency.
Known Issues
- GStreamer 1.18 versions <= 1.18.4 would fail to build on Linux with
Meson 0.58 due to an issue with the include directories.
GStreamer >= 1.18.5 includes a fix for this.
Contributors
Aaron Boxer, Adam Duskett, Adam x Nilsson, Adrian Negreanu, Akinobu
Mita, Alban Browaeys, Alcaro, Alexander Lapajne, Alexandru Băluț, Alex
Ashley, Alex Hoenig, Alicia Boya García, Alistair Buxton, Ali Yousuf,
Ambareesh “Amby” Balaji, Amr Mahdi, Andoni Morales Alastruey, Andreas
Frisch, Andre Guedes, Andrew Branson, Andrey Sazonov, Antonio Ospite,
aogun, Arun Raghavan, Askar Safin, AsociTon, A. Wilcox, Axel Mårtensson,
Ayush Mittal, Bastian Bouchardon, Benjamin Otte, Bilal Elmoussaoui,
Brady J. Garvin, Branko Subasic, Camilo Celis Guzman, Carlos Rafael
Giani, Charlie Turner, Cheng-Chang Wu, Chris Ayoup, Chris Lord,
Christoph Reiter, cketti, Damian Hobson-Garcia, Daniel Klamt, Daniel
Molkentin, Danny Smith, David Bender, David Gunzinger, David Ing, David
Svensson Fors, David Trussel, Debarshi Ray, Derek Lesho, Devarsh
Thakkar, dhilshad, Dimitrios Katsaros, Dmitriy Purgin, Dmitry Shusharin,
Dominique Leuenberger, Dong Il Park, Doug Nazar, dudengke, Dylan McCall,
Dylan Yip, Ederson de Souza, Edward Hervey, Eero Nurkkala, Eike Hein,
ekwange, Eric Marks, Fabian Greffrath, Fabian Orccon, Fabio D’Urso,
Fabrice Bellet, Fabrice Fontaine, Fanchao L, Felix Yan, Fernando
Herrrera, Francisco Javier Velázquez-García, Freyr, Fuwei Tang, Gaurav
Kalra, George Kiagiadakis, Georgii Staroselskii, Georg Lippitsch, Georg
Ottinger, gla, Göran Jönsson, Gordon Hart, Gregor Boirie, Guillaume
Desmottes, Guillermo Rodríguez, Haakon Sporsheim, Haihao Xiang, Haihua
Hu, Havard Graff, Håvard Graff, Heinrich Kruger, He Junyan, Henry
Wilkes, Hosang Lee, Hou Qi, Hu Qian, Hyunjun Ko, ibauer, Ignacio Casal
Quinteiro, Ilya Smelykh, Jake Barnes, Jakub Adam, James Cowgill, James
Westman, Jan Alexander Steffens, Jan Schmidt, Jan Tojnar, Javier Celaya,
Jeffy Chen, Jennifer Berringer, Jens Göpfert, Jérôme Laheurte, Jim
Mason, Jimmy Ohn, J. Kim, Joakim Johansson, Jochen Henneberg, Johan
Bjäreholt, Johan Sternerup, John Bassett, Jonas Holmberg, Jonas Larsson,
Jonathan Matthew, Jordan Petridis, Jose Antonio Santos Cadenas, Josep
Torra, Jose Quaresma, Josh Matthews, Joshua M. Doe, Juan Navarro,
Juergen Werner, Julian Bouzas, Julien Isorce, Jun-ichi OKADA, Justin
Chadwell, Justin Kim, Keri Henare, Kevin JOLY, Kevin King, Kevin Song,
Knut Andre Tidemann, Kristofer Björkström, krivoguzovVlad, Kyrylo
Polezhaiev, Lenny Jorissen, Linus Svensson, Loïc Le Page, Loïc Minier,
Lucas Stach, Ludvig Rappe, Luka Blaskovic, luke.lin, Luke Yelavich,
Marcin Kolny, Marc Leeman, Marco Felsch, Marcos Kintschner, Marek
Olejnik, Mark Nauwelaerts, Markus Ebner, Martin Liska, Martin Theriault,
Mart Raudsepp, Matej Knopp, Mathieu Duponchelle, Mats Lindestam, Matthew
Read, Matthew Waters, Matus Gajdos, Maxim Paymushkin, Maxim P.
Dementiev, Michael Bunk, Michael Gruner, Michael Olbrich, Miguel París
Díaz, Mikhail Fludkov, Milian Wolff, Millan Castro, Muhammet Ilendemli,
Nacho García, Nayana Topolsky, Nian Yan, Nicola Murino, Nicolas
Dufresne, Nicolas Pernas Maradei, Niels De Graef, Nikita Bobkov, Niklas
Hambüchen, Nirbheek Chauhan, Ognyan Tonchev, okuoku, Oleksandr
Kvl,Olivier Crête, Ondřej Hruška, Pablo Marcos Oltra, Patricia Muscalu,
Peter Seiderer, Peter Workman, Philippe Normand, Philippe Renon, Philipp
Zabel, Pieter Willem Jordaan, Piotr Drąg, Ralf Sippl, Randy Li, Rasmus
Thomsen, Ratchanan Srirattanamet, Raul Tambre, Ray Tiley, Richard
Kreckel, Rico Tzschichholz, R Kh, Robert Rosengren, Robert Tiemann,
Roman Shpuntov, Roman Sivriver, Ruben Gonzalez, Rubén Gonzalez,
rubenrua, Ryan Huang, Sam Gigliotti, Santiago Carot-Nemesio, Saunier
Thibault, Scott Kanowitz, Sebastian Dröge, Sebastiano Barrera, Seppo
Yli-Olli, Sergey Nazaryev, Seungha Yang, Shinya Saito, Silvio
Lazzeretti, Simon Arnling Bååth, Siwon Kang, sohwan.park, Song Bing,
Soohyun Lee, Srimanta Panda, Stefano Buora, Stefan Sauer, Stéphane
Cerveau, Stian Selnes, Sumaid Syed, Swayamjeet, Thiago Santos, Thibault
Saunier, Thomas Bluemel, Thomas Coldrick, Thor Andreassen, Tim-Philipp
Müller, Ting-Wei Lan, Tobias Ronge, trilene, Tulio Beloqui, U. Artie
Eoff, VaL Doroshchuk, Varunkumar Allagadapa, Vedang Patel, Veerabadhran
G, Víctor Manuel Jáquez Leal, Vivek R, Vivia Nikolaidou, Wangfei, Wang
Zhanjun, Wim Taymans, Wonchul Lee, Xabier Rodriguez Calvar, Xavier
Claessens, Xidorn Quan, Xu Guangxin, Yan Wang, Yatin Maan, Yeongjin
Jeong, yychao, Zebediah Figura, Zeeshan Ali, Zeid Bekli, Zhiyuan Sraf,
Zoltán Imets,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing.
Stable 1.18 branch
After the 1.18.0 release there will be several 1.18.x bug-fix releases
which will contain bug fixes which have been deemed suitable for a
stable branch, but no new features or intrusive changes will be added to
a bug-fix release usually. The 1.18.x bug-fix releases will be made from
the git 1.18 branch, which will be a stable branch.
1.18.0
1.18.0 was released on 8 September 2020.
1.18.1
The first 1.18 bug-fix release (1.18.1) was released on 26 October 2020.
This release only contains bugfixes and it should be safe to update from
1.18.0.
Highlighted bugfixes in 1.18.1
- important security fixes
- bug fixes and memory leak fixes
- various stability and reliability improvements
gstreamer
- aggregator: make peek() has() pop() drop() buffer API threadsafe
- gstvalue: don’t write to const char *
- meson: Disallow DbgHelp for UWP build
- info: Fix build on Windows ARM64 device
- build: use cpu_family for arch checks
- basetransform: Fix in/outbuf confusion of _default_transform_meta
- Fix documentation
- info: Load DbgHelp.dll using g_module_open()
- padtemplate: mark documentation caps as may be leaked
- gstmeta: intern registered impl string
- aggregator: Hold SRC_LOCK while unblocking via SRC_BROADCAST()
- ptp_helper_post_install.sh: deal with none
- skip elements/leak.c if tracer is not available
- aggregator: Wake up source pad in PAUSED<->PLAYING transitions
- input-selector: Wake up blocking pads when releasing them
- ptp: Also handle gnu/kfreebsd
gst-plugins-base
- theoradec: Set telemetry options only if they are nonzero
- glslstage: delete shader on finalize of stage
- urisourcebin: Fix crash caused by use after free
- decodebin3: Store stream-start event on output pad before exposing
it
- Add some missing nullable annotations
- typefind/xdgmime: Validate mimetypes to be valid GstStructure names
before using them
- uridecodebin3: Forward upstream events to decodebin3 directly
- video-converter: Add fast paths from v210 to I420/YV12, Y42B, UYVY
and YUY2
- videoaggregator: Limit accepted caps by template caps
- gstrtpbuffer: fix header extension length validation
- decodebin3: only force streams-selected seqnum after a
select-streams
- videodecoder: don’t copy interlace-mode from reference state
- enable abi checks
- multihandlesink: Don’t pass NULL caps to gst_caps_is_equal
- audio: video: Fix in/outbuf confusion of transform_meta
- meson: Always wrap “prefix” option with join_paths() to make Windows
happy
- videoaggregator: ensure peek_next_sample() uses the correct caps
- meson: Actually build gstgl without implicit include dirs
- videoaggregator: Don’t require any pads to be configured for
negotiating source pad caps
- gst-libs: gl: Fix documentation typo and clarify
gl_memory_texsubimage
- audioaggregator: Reset offset if the output rate is renegotiated
- video-anc: Implement transform functions for AFD/Bar metas
- appsrc: Wake up the create() function on caps changes
- rtpbasepayload: do not forget delayed segment when forwarding gaps
gst-plugins-good
- v4l2object: Only offer inactive pools and if needed
- vpx: Fix the check to unfixed/unknown framerate to set bitrate
- qmlglsink: fix crash when created/destroyed in quick succession
- rtputils: Count metas with an empty tag list for copying/keeping
- rtpbin: Remove the rtpjitterbuffer with the stream
- rtph26*depay: drop FU’s without a corresponding start bit
- imagefreeze: Response caps query from srcpad
- rtpmp4gdepay: Allow lower-case “aac-hbr” instead of correct
“AAC-hbr”
- rtspsrc: Fix push-backchannel-buffer parameter mismatch
- jpegdec: check buffer size before dereferencing
- flvmux: Move stream skipping to GstAggregatorPadClass.skip_buffer
- v4l2object: plug memory leak
- splitmuxsink: fix sink pad release while PLAYING
gst-plugins-bad
- codecparsers: h264parser: guard against ref_pic_markings overflow
- v4l2codecs: Various fixes
- h265parse: Don’t enable passthrough by default
- srt: Fix “Fix timestamping”
- srt: Fixes for 1.4.2
- dtlsconnection: Ignore OpenSSL system call errors
- h265parse: set interlace-mode=interleaved on interlaced content
- Replace GPL v2 with LGPL v2 in COPYING file
- srt: Consume the error from gst_srt_object_write
- srt: Check socket state before retrieving payload size
- x265enc: fix deadlock on reconfig
- webrtc: Require gstreamer-sdp in the pkg-config file
- srtsrc: Fix timestamping
- mfvideosrc: Use only the first video stream per device
- srtobject: typecast SRTO_LINGER to linger
- decklink: Correctly order the different dependent mode tables
- wasapisrc: Make sure that wasapisrc produces data in loopback mode
- wpesrc: fix some caps leaks using the non-GL output
- smoothstreaming: clear live adapter on seek
- vtdec/vulkan: use Shared storage mode for IOSurface textures
- wpe: Move webview load waiting to WPEView
- wpe: Use proper callback for TLS errors signal handling
- kmssink: Do not source using padded width/height
- avtp: avtpaafdepay: fix crash when building caps
- opencv: set opencv_dep when option is disabled to fix the build
- line21encoder: miscellaneous enhancements
- Hls youtube issues with urisourcebin/queue2
- rtmp2: Replace stats queue with stats lock
- rtmp2sink: support EOS event for graceful connection shutdown
- mpegtsmux: Make handling of sinkpads thread-safe
- hlssink2: Actually release splitmuxsink’s pads
- mpegtsmux: Don’t create streams with reserved PID
gst-plugins-ugly
- no changes
gst-libav
- avaudenc/avvidenc: Reopen encoding session if it’s required
- avauddec/audenc/videnc: Don’t return GST_FLOW_EOS when draining
- avauddec/avviddec: Avoid dropping non-OK flow return
- avcodecmap: Enable 24 bit WMA Lossless decoding
gst-rtsp-server
- rtsp-stream: collect rtp info when blocking
- rtsp-media: set a 0 storage size for TCP receivers
- rtsp-stream: preroll on gap events
- rtsp-media: do not unblock on unsuspend
gstreamer-vaapi
- decoder: don’t reply src caps query with allowed if pad is fixed
- plugins: decode: fix a DMA caps typo in ensure_allowed_srcpad_caps
gstreamer-sharp
- Add bindings for some missing 1.18 API
gst-omx
- omxvideodec: support interlace-mode=interleaved input
gst-python
- no changes
gst-editing-services
- ges: Do not recreate auto-transitions when changing clip assets
- ges: Fix a copy/paste mistake in meson file
gst-integration-testsuites
- medias: Update for h265parse passthrough behavior change
- update validate.test.h265parse.alternate test
gst-build
- windows: Detect Strawberry Perl and error out early
- {pygobject,pycairo}.wrap: point to stable refs
Cerbero build tool and packaging changes in 1.18.1
- Add macOS Big Sur support
- gst-plugins-bad: Ship rtpmanagerbad plugin
- gstreamer-1.0: Don’t enable DbgHelp for UWP build
- pango: fix font corruption on windows
- cairo: use thread local storage to grant one windows HDC per thread
- small fixes for Xcode 12
- cerbero: Re-add alsa-devel to bootstrap on Linux
- FreeType: update to 2.10.4 to fix security vulnerability
Contributors to 1.18.1
Aaron Boxer, Adam Williamson, Andrew Wesie, Arun Raghavan, Bastien
Reboulet, Brent Gardner, Edward Hervey, François Laignel, Guillaume
Desmottes, Havard Graff, He Junyan, Hosang Lee, Jacek Tomaszewski, Jakub
Adam, Jan Alexander Steffens (heftig), Jan Schmidt, Jérôme Laheurte,
Jordan Petridis, Marc Leeman, Marian Cichy, Marijn Suijten, Mathieu
Duponchelle, Matthew Waters, Michael Tretter, Nazar Mokrynskyi, Nicolas
Dufresne, Niklas Hambüchen, Nirbheek Chauhan, Olivier Crête, Philippe
Normand, raghavendra, Ricky Tang, Sebastian Dröge, Seungha Yang,
sohwan.park, Stéphane Cerveau, Thibault Saunier, Tim-Philipp Müller, Tom
Schoonjans, Víctor Manuel Jáquez Leal, Will Miller, Xavier Claessens, Xℹ
Ruoyao, Zebediah Figura,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.18.1
- List of Merge Requests applied in 1.18.1
- List of Issues fixed in 1.18.1
1.18.2
The second 1.18 bug-fix release (1.18.2) was released on 6 December
2020.
This release only contains bugfixes and it should be safe to update from
1.18.x.
Highlighted bugfixes in 1.18.2
- Fix MPEG-TS timestamping regression when playing DVB streams
- compositor: fix artefacts in certain input scaling/conversion
situations and make sure that the output format is actually
supported, plus renegotiation fixes
- Fix sftp:// URI playback in decodebin/playbin via giosrc
- adaptivedemux/dashdemux/hlsdemux fixes
- rtsp-server fixes
- android media: fix crash when encoding AVC
- fix races in various unit tests
- lots of other bug fixes and memory leak fixes
- various stability, performance and reliability improvements
- g-i annotation fixes
- build fixes
gstreamer
- bin: When removing a sink, check if the EOS status changed
- info: colorize PIDs in log messages
- aggregator: Include min-upstream-latency in buffering time, helps
especially with performance issues on single core systems where
there are a lot of threads running
- typefind: copy seqnum to new segment event, fixing issues with
oggdemux operating in push mode with typefind operating in pull mode
- identity, clocksync: Also provide system clock if sync=false
- queue2: Fix modes in scheduling query handling
- harness: Handle element not being set cleanly
- g-i: Add some missing nullable annotations, and fix some nullable
annotations:
- gst_test_clock_process_next_clock_id() returns nullable
- gst_stream_type_get_name() is not nullable
- build: fix build issue when compiling for 32-bit architectures with
64-bit time_t (e.g. riscv32) by increasing padding in
GstClockEntryImpl in gst_private.h
gst-plugins-base
- gl/eagl: internal view resize fixes for glimagesink
- video-converter: increase the number of cache lines for resampling,
fixes significant color issues and artefacts with “special” resizing
parameters in compositor
- compositor: Don’t crash in prepare_frame() if the pad was just
removed
- decodebin3: Properly handle caps query with no filter
- videoaggregator: Guarantee that the output format is supported
- videoaggregator: Fix locking around vagg->info
- gluploadelement: Avoid race condition of base class’ context
- gluploadelement: Avoid race condition of inside upload creation
- gl: Fix prototype of glGetSynciv()
- tcpserversink: Don’t assume g_socket_get_remote_address() succeeds
- video-aggregator: Fix renegotiation when using convert pads
- videoaggregator: document and fix locking in convert pad
- audiodecoder, videodecoder: Don’t reset max-errors property value in
reset()
- audioencoder: Fix incorrect GST_LOG_OBJECT usage
- pbutils: Fix segfault when using invalid encoding profile
- g-i: videometa: gir annotate the size of plane array in new API
- examples/gl/gtk: Add missing dependency on gstgl
- video: fix doc warning
gst-plugins-good
- rpicamsrc: add vchostif library as it is required to build
successful
- deinterlace: Enable x86 assembly with nasm on MSVC
- v4l2: caps negotiate wrong as interlace feature
- aacparse: Fix caps change handling
- rtspsrc: Use URI hash for stream id
- flvmux: Release pads via GstAggregator
- qtmux: Chain up when releasing pad, and fix some locking
- matroska-mux: Fix sparse stream crash
- Splitmux testsuite races
gst-plugins-bad
- tsparse: timestamp packetized buffers, fixing timestamp handling
regression in connection with dvbsrc in MeTV
- ttmlparse: fix issues in aggregation of input TTML
- mpegdemux: Set duration on seeking query if possible, fixes seeking
in MPEG-PS streams in gst-play-1.0
- mpegtsdemux: Fix off by one error
- adaptivedemux: Store QoS values on the element
- adaptivedemux: Don’t calculate bitrate for header/index fragments
- hlsdemux: Don’t double-free variant streams on errors
- mpegtspacketizer: Handle PCR issues with adaptive streams
- player: call ref_sink on pipeline
- vkdeviceprovider: Avoid deadlock on physical device
- wlvideoformat: fix DMA format convertor
- Webrtc shutdown crashes
- decklink: Update enum value bounds check in gst_decklink_get_mode()
- decklink: correct framerate 2KDCI 23.98
- amc: Fix crash when encoding AVC
- d3d11videoprocessor: Fix wrong input/output supportability check
- opencv: allow compilation against 4.5.x
- tests: svthevcenc: Fix test_encode_simple
- tests: dtls: Don’t set dtlsenc state before linking
- mpegtsmux: Restore intervals when creating TsMux
- adaptivedemux, hlsdemux, curl: Use actual object for logging
- gi: player: Fix get_current_subtitle_track() annotation
gst-plugins-ugly
- no changes
gst-libav
- avauddec: Check planar-ness of frame rather than context, fixes
issue with aptX HD decoding
gst-rtsp-server
- stream: collect a clock_rate when blocking
- media: Ignore GstRTSPStreamBlocking from incomplete streams, to
prevent cases with prerolling when the inactive stream prerolls
first and the server proceeds without waiting for the active stream.
When there are no complete streams (during DESCRIBE), we will listen
to all streams.
- media: Use guint64 for setting the size-time property on rtpstorage,
fixes potential crashes or memory corruption.
- media: Get rates only on sender streams, fixing issue with ONVIF
audio backchannel streams
- media: Plug memory leak
gstreamer-vaapi
- H265 decoder: Fix a typo in scc reference setting
gstreamer-sharp
- no changes
gst-omx
- no changes
gst-python
- no changes
gst-editing-services
- Fix static build
- ges_init(): Fix potential initialisation crash on error
gst-integration-testsuites
- no changes
gst-build
- gst-env: use Path.open() in get_pkgconfig_variable_from_pcfile(),
fixes issues with python 3.5
- subprojects: pin orc to 0.4.32 release (was 0.4.29) and pin libpsl
to 0.21.1 (was master)
Cerbero build tool and packaging changes in 1.18.2
- build-tools: copy the removed site.py from setuptools, fixing python
programs (like meson) from using libraries from incorrect places
Contributors to 1.18.2
Arun Raghavan, Bing Song, Chris Bass, Chris Duncan, Chris White, David
Keijser, David Phung, Edward Hervey, Fabrice Fontaine, Guillaume
Desmottes, Guiqin Zou, He Junyan, Jan Alexander Steffens (heftig), Jan
Schmidt, Jason Pereira, Jonathan Matthew, Jose Quaresma, Julian Bouzas,
Khem Raj, Kristofer Björkström, Marijn Suijten, Mart Raudsepp, Mathieu
Duponchelle, Matthew Waters, Nicola Murino, Nicolas Dufresne, Nirbheek
Chauhan, Olivier Crête, Philippe Normand, Rafostar, Randy Li, Sanchayan
Maity, Sebastian Dröge, Seungha Yang, Thibault Saunier, Tim-Philipp
Müller, Vivia Nikolaidou, Xavier Claessens
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.18.2
- List of Merge Requests applied in 1.18.2
- List of Issues fixed in 1.18.2
1.18.3
The third 1.18 bug-fix release (1.18.3) was released on 13 January 2021.
This release only contains bugfixes and it should be safe to update from
1.18.x.
Highlighted bugfixes in 1.18.3
- fix ogg playback regression for ogg files that also have ID3 or APE
tags
- compositor: fix artefacts and invalid memory access when blending
subsampled formats
- exported mini object ref/unref/copy functions for use in bindings
such as gstreamer-sharp
- Add support for Apple silicon (M1) to cerbero package builder
- Ship RIST plugin in binary packages
- various stability, performance and reliability improvements
- memory leak fixes
- build fixes
gstreamer
- gst: Add non-inline ref/unref/copy/replace methods for various mini
objects (buffer, bufferlist, caps, context, event, memory, message,
promise, query, sample, taglist, uri) for use in bindings such as
gstreamer-sharp
- harness: don’t use GST_DEBUG_OBJECT with GstHarness which is not a
GObject
gst-plugins-base
- audiorate: Make buffer writable before changing its metadata
- compositor: fix blending of subsampled components
- decodebin3: When reconfiguring a slot make sure that the ghostpad is
unlinked
- decodebin3: Release selection lock when pushing EOS
- encodebasebin: Ensure that parsers are compatible with selected
encoders
- tagdemux: resize and trim buffer in place to fix interaction with
oggdemux
- videoaggregator: Pop out old buffers on timeout
- video-blend: fix blending 8-bit and 16-bit frames together
- appsrc: fix signal documentation
- gl: document some GL caps specifics
- libvisual: workaround clang compiler warning
gst-plugins-good
- deinterlace: fix build of assembly optimisations on macOS
- splitmuxsink: Avoid deadlock when releasing a pad from a running
muxer
- splitmuxsink: fix bogus fragment split
- v4l2object: Map correct video format for RGBA
- videoflip: fix possible crash when changing video-direction/method
while running
gst-plugins-bad
- assrender: fix mutex handling in certain flushing/error situations
- dvbsuboverlay: Add support for dynamic resolution update
- dashsink: fix critical log of dynamic pipeline
- d3d11shader: Fix ID3DBlob object leak
- d3d11videosink: Prepare window once streaming started
- decklinkaudiosrc: Fix duration of the first audio frame after each
discont
- intervideosrc: fix negotiation of interlaced caps
- msdk: needn’t close mfx session when failed, fixes double free /
potential crash
- msdk: check GstMsdkContext instead of mfxSession instance
- srt: fix locking when retrieving stats
- rtmp2src: fix leaks when connection is cancelled during startup or
connection fails
gst-plugins-ugly
- no changes
gst-libav
- avauddec: Drain decoder on decoding failure, fixes timestamps after
decoding errors
gst-rtsp-server
- rtsp-media: Only count senders when counting blocked streams
- rtsp-client: Only unref client watch context on finalize, to avoid
deadlock
gstreamer-vaapi
- no changes
gstreamer-sharp
- no changes
gst-omx
- no changes
gst-python
- no changes
gst-editing-services
- launch: Ensure to add required ref to profiles from project
- tests: fix meson test env setup to make sure we use the right
gst-plugin-scanner
gst-integration-testsuites
- no changes
gst-build
- meson: Update zlib.wrap to use wrapdb instead of github fork
Cerbero build tool and packaging changes in 1.18.3
- Add support for Apple silicon
- Build and ship RIST plugin
Contributors to 1.18.3
Andoni Morales Alastruey, Edward Hervey, Haihao Xiang, Haihua Hu, Hou
Qi, Ignacio Casal Quinteiro, Jakub Adam, Jan Alexander Steffens
(heftig), Jan Schmidt, Jordan Petridis, Lawrence Troup, Lim Siew Hoon,
Mathieu Duponchelle, Matthew Waters, Nicolas Dufresne, Raju Babannavar,
Sebastian Dröge, Seungha Yang, Thibault Saunier, Tim-Philipp Müller,
Tobias Ronge, Vivia Nikolaidou,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.18.3
- List of Merge Requests applied in 1.18.3
- List of Issues fixed in 1.18.3
1.18.4
The fourth 1.18 bug-fix release (1.18.4) was released on 15 March 2021.
This release only contains bugfixes and security fixes and it should be
safe to update from 1.18.x.
Highlighted bugfixes in 1.18.4
- important security fixes for ID3 tag reading, matroska and realmedia
parsing, and gst-libav audio decoding
- audiomixer, audioaggregator: input buffer handling fixes
- decodebin3: improve stream-selection message handling
- uridecodebin3: make “caps” property work
- wavenc: fix writing of INFO chunks in some cases
- v4l2: bt601 colorimetry, allow encoder resolution changes, fix
decoder frame rate negotiation
- decklinkvideosink: fix auto format detection, and fixes for 29.97fps
framerate output
- mpeg-2 video handling fixes when seeking
- avviddec: fix bufferpool negotiation and possible memory corruption
when changing resolution
- various stability, performance and reliability improvements
- memory leak fixes
- build fixes: rpicamsrc, qt overlay example, d3d11videosink on UWP
gstreamer
- info: Don’t leak log function user_data if the debug system is
compiled out
- task: Use SetThreadDescription() Win32 API for setting thread names,
which preserves thread names in dump files.
- buffer, memory: Mark info in map functions as caller-allocates and
pass allocation params as const pointers where possible
- clock: define AUTO_CLEANUP_FREE_FUNC for GstClockID
gst-plugins-base
- tag: id3v2: fix frame size check and potential invalid reads
- audio: Fix gst_audio_buffer_truncate() meta handling for
non-interleaved audio
- audioresample: respect buffer layout when draining
- audioaggregator: fix input_buffer ownership
- decodebin3: change stream selection message owner, so that the app
sends the stream-selection event to the right element
- rtspconnection: correct data_size when tunneled mode
- uridecodebin3: make caps property work
- video-converter: Don’t upsample invalid lines
- videodecoder: Fix racy critical when pool negotiation occurs during
flush
- video: Convert gst_video_info_to_caps() to take self as const ptr
- examples: added qt core dependency for qt overlay example
gst-plugins-good
- matroskademux: header parsing fixes
- rpicamsrc: depend on posix threads and vchiq_arm to fix build on
raspios again
- wavenc: Fixed INFO chunk corruption, caused by odd sized data not
being padded
- wavpackdec: Add floating point format support to fix distortions in
some cases
- v4l2: recognize V4L2 bt601 colorimetry again
- v4l2videoenc: support resolution change stream encode
- v4l2h265codec: fix HEVC profile string issue
- v4l2object: Need keep same transfer as input caps
- v4l2videodec: Fix vp8 and vp9 streams can’t play on board with
vendor bsp
- v4l2videodec: fix src side frame rate negotiation
gst-plugins-bad
- avwait: Don’t post messages with the mutex locked
- d3d11h264dec: Reconfigure decoder object on DPB size change and keep
track of actually configured DPB size
- dashsink: fix double unref of sinkpad caps
- decklinkvideosink: Use correct numerator for 29.97fps
- decklinkvideosink: fix auto format detection
- decklinksrc: Use a more accurate capture time
- d3d11videosink: Fix build error on UWP
- interlace: negotiation and buffer leak fixes
- mpegvideoparse: do not clip, so decoder receives data from keyframe
even if it’s before the segment start
- mpegtsparse: Fix switched DTS/PTS when set-timestamps=false
- nvh264sldec: Reopen decoder object if larger DPB size is required
- sdpsrc: fix double free if sdp is provided as string via the
property
- vulkan: Fix elements long name.
gst-plugins-ugly
- rmdemux: Make sure we have enough data available when parsing
audio/video packets
gst-libav
- avviddec: take the maximum of the height/coded_height
- viddec: don’t configure an incorrect buffer pool when receiving a
gap event
- audiodec: fix stack overflow in gst_ffmpeg_channel_layout_to_gst()
gst-rtsp-server
- rtspclientsink: fix deadlock on shutdown if no data has been
received yet
- rtspclientsink: fix leaks in unit tests
- rtsp-stream: avoid deadlock in send_func
- rtsp-client: cleanup transports during TEARDOWN
gstreamer-vaapi
- h264 encoder: append encoder exposure to aud
- postproc: Fix a problem of propose_allocation when passthrough
- glx: Iterate over FBConfig and select 8 bit color size
gstreamer-sharp
- no changes
gst-omx
- no changes
gst-python
- no changes
gst-editing-services
- group: Use proper group constructor
gst-integration-testsuites
- no changes
gst-build
- no changes
Cerbero build tool and packaging changes in 1.18.4
- macOS: more BigSur fixes
- glib: Backport patch to set thread names on Windows 10
Contributors to 1.18.4
Alicia Boya García, Ashley Brighthope, Bing Song, Branko Subasic, Edward
Hervey, Guillaume Desmottes, Haihua Hu, He Junyan, Hou Qi, Jan Alexander
Steffens (heftig), Jeongki Kim, Jordan Petridis, Knobe, Kristofer
Björkström, Marijn Suijten, Matthew Waters, Paul Goulpié, Philipp Zabel,
Rafał Dzięgiel, Sebastian Dröge, Seungha Yang, Staz M, Stéphane Cerveau,
Thibault Saunier, Tim-Philipp Müller, Víctor Manuel Jáquez Leal, Vivia
Nikolaidou, Vladimir Menshakov,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.18.4
- List of Merge Requests applied in 1.18.4
- List of Issues fixed in 1.18.4
1.18.5
The fifth 1.18 bug-fix release (1.18.5) was released on 8 September
2021.
This release only contains bugfixes and security fixes and it should be
safe to update from 1.18.x.
Highlighted bugfixes in 1.18.5
- basesink: fix reverse frame stepping
- downloadbuffer/sparsefile: several fixes for win32
- systemclock: Update monotonic reference time when re-scheduling,
fixes high CPU usage with gnome-music when pausing playback
- audioaggregator: fix glitches when resyncing on discont
- compositor: Fix NV12 blend operation
- rtspconnection: Add IPv6 support for tunneled mode
- avidemux: fix playback of some H.264-in-AVI streams
- jpegdec: Fix crash when interlaced field height is not DCT block
size aligned
- qmlglsink: Keep old buffers around a bit longer if they were bound
by QML
- qml: qtitem: don’t potentially leak a large number of buffers
- rtpjpegpay: fix image corruption when compiled with MSVC on Windows
- rtspsrc: seeking improvements
- rtpjitterbuffer: Avoid generation of invalid timestamps
- rtspsrc: Fix behaviour of select-streams, new-manager,
request-rtcp-key and before-send signals with GLib >= 2.62
- multiudpsink: Fix broken SO_SNDBUF get/set on Windows
- openh264enc: fix broken sps/pps header generation and some minor
leaks
- mpeg2enc: fix interlace-mode detection and unbound memory usage if
encoder can’t keep up
- mfvideosrc: Fix for negative MF stride and for negotiation when
interlace-mode is specified
- tsdemux: fix seek-with-stop regression and decoding errors after
seeking with dvdlpcmdec
- rtsp-server: seek handling improvements
- gst-libav: fix build (and other issues) with ffmpeg 4.4
- cerbero: spandsp: Fix build error with Visual Studio 2019
- win32 packages: Fix hang in GLib when G_SLICE environment variable
is set
gstreamer
- aggregator: Release the SRC lock while querying latency
- aggregator: Release pads’ peeked buffer when removing the pad or
finalizing it
- basesink: Don’t swap rstart/rstop when stepping
- basesrc: Print segments with GST_SEGMENT_FORMAT and not
GST_PTR_FORMAT
- childproxy: init value in gst_child_proxy_get_property() if needed
- clocksync: Fix providing system clock by default
- concat: Properly propagate seqnum of segment events
- concat: adjust running time offsets on downstream events
- concat: fix locking in SEGMENT event handler
- downloadbuffer/sparsefile: several fixes for win32
- element: NULL the lists of contexts in dispose()
- multiqueue: Use running time of gap events for wakeups.
- multiqueue: Ensure peer pad exists when iterating internal links
- pad: Keep IDLE probe hook alive during immediate callback
- pad: Ensure last flow return is set on sink pads in push mode
- pad: Don’t spam the debug log at INFO level when default-chaining a
buffer list
- pad: clear probes holding mutex
- parse-launch: Fix a critical when using the : operator.
- parse-launch: Don’t do delayed property setting for top-level
properties.
- plugin: load plugins with unknown license strings
- ptpclock: Don’t leak the GList
- queue2: Refuse all serialized queries when posting buffering
messages
- systemclock: Update monotonic reference time when re-scheduling
- High CPU usage in 1.18 (but not master) when pausing playback in
gnome-music
- Don’t use volatile to mean atomic (fixes compiler warnings with
gcc 11)
gst-plugins-base
- appsrc: Don’t leak buffer list while wrongly unreffing buffer on
EOS/flushing
- audioaggregator: Don’t overwrite already written samples
- audioaggregator: Resync on the next buffer when dropping a buffer on
discont resyncing
- audiobasesink: Fix of double lock release
- audioaggregator: Don’t overwrite already written samples
- audiobasesrc: Fix divide by zero assertion
- clockoverlay: Fix broken string formatting by strftime() on Windows
- compositor: Fix NV12 blend operation
- giosrc: Don’t leak scheme string in gst_gio_src_query()
- giobasesink: Handle incomplete writes in gst_gio_base_sink_render()
- gl/wayland: Use consistent wl_display when creating work queue for
proxy wrapper
- gl: Fix build when Meson >= 0.58.0rc1
- gl/wayland: provide a dummy global_remove function
- playbin2: fix base_time selection when flush seeking live (such as
with RTSP)
- rtspconnection: Add IPv6 support for tunneled mode
- rtspconnection: Consistently translate GIOError to GstRTSPResult
(for rtspsrc)
- rawbaseparse: check destination format correctly
- uridecodebin: Don’t force floating reference for future reusable
decodebin
- parsebin: Put stream flags in GstStream
- splitmuxsink: always use factory property when set
- video-converter: Set up matrix tables only once.
- videoscale: Performance degradation from 1.16.2 -> 1.18.4
- videotestsrc: Fix a leak when computing alpha caps
- audio/video-converter: Plug some minor leaks
- audio,video-format: Make generate_raw_formats idempotent for
assertions
- Don’t use volatile to mean atomic (fixes compiler warnings with
gcc 11)
- Fix build issue on MinGW64
gst-plugins-good
- avidemux: Also detect 0x000001 as H264 byte-stream start code in
codec_data
- deinterlace: Plug a method subobject leak
- deinterlace: Drop field-order field if outputting progressive
- jpegdec: Fix crash when interlaced field height is not DCT block
size aligned
- qmlglsink: Keep old buffers around a bit longer if they were bound
by QML
- qml: qtitem: don’t potentially leak a large number of buffers
- qtdemux: Force stream-start push when re-using EOS’d streams
- qtmux: for Apple ProRes, allow overriding pixel bit depth, e.g. when
exporting an opaque image, yet with alpha.
- qtmux: Make sure to write 64-bit STCO table when needed.
- rtpjpegpay: fix image corruption when compiled with MSVC on Windows
- rtpptdemux: Remove pads also in PAUSED->READY
- rtph265depay: update codec_data in caps regardless of format
- rtspsrc: Do not overwrite the known duration after a seek
- rtspsrc: De-dup seek event seqnums to avoid multiple seeks
- rtspsrc: Fix race saving seek event seqnum
- rtspsrc: Using multicast UDP has no relation to seekability, also
add some logging
- rtpjitterbuffer: Fix parsing of the mediaclk:direct= field
- rtpjitterbuffer: Avoid generation of invalid timestamps
- rtpjitterbuffer: Check srcresult before waiting on the condition
variable too
- rtpjitterbuffer: More logging when calculating rfc7273 timestamps
- rtspsrc: Fix more signals
- rtspsrc: Fix accumulation of before-send signal return values
- souphttpsrc: Always use the content decoder but set
`Accept-Encoding:…
- udpsrc: Plug leaks of saddr in error cases
- multiudpsink: Fix broken SO_SNDBUF get/set on Windows
- v4l2object: Add interlace-mode back to caps for camera
- v4l2object: Use default colorimetry if that in caps is unknown
- V4l2object: Avoid colorimetry mismatch for streams with invalid
colorimetry
- v4l2object: Add support for hdr10 stream playback
- wavparse: adtl/note/labl chunk parsing fixes
- Don’t use volatile to mean atomic (fixes compiler warnings with
gcc 11)
- 1.18.4: build fails with glib 2.67.6 and gcc-11: argument 2 of
‘__atomic_load’ must not be a pointer to a ‘volatile’ type
gst-plugins-bad
- audiolatency: Use live mode audiotestsrc
- audiolatency: Handle audio buffers with invalid duration
- ccconverter: fix framerate caps negotiation from non-cdp to cdp
- dashdemux: Properly initalize GError, remove duplicate logging call
- dashdemux: Log protection events on corresponding pad
- dashdemux: fix dash_mpdparser_check_mpd_client_set_methods unit test
- h264parse,h265parse: Push parameter set NAL units again per
segment-done
- h265parse: Fix a typo in get_compatible_profile_caps()
- h265parse: don’t invalidate the last PPS when parsing a new SPS
- h264parse: improve PPS handling
- h2645parser: Catch overflows in AVC/HEVC NAL unit length
calculations
- interlace: Don’t set field-order field for progressive caps, fixes
negotiation issues
- interlace: Fix too small buffer size error
- jpegparse: Don’t generate timestamp for 0/1 framerates
- opencv: fix build error on macOS
- openexr: Fix build with OpenEXR 3
- openh264enc: fix broken sps/pps header generation and some minor
leaks
- mpeg2enc: fix interlace-mode detection on input video
- mpeg2enc: Only allow 1 pending frame for encoding (fixes unbound
memory usage in case encoder can’t keep up with input)
- mfvideoenc: Don’t pass 0/1 framerate to MFT
- mfvideosrc: Fix for negative MF stride
- mfvideosrc: Fix negotiation when interlace-mode is specified
- mxfvanc: Handle empty ANC essence
- rtmp2src: workaround a GLib race when destroying a
GMainContext/GSource
- rtpsrc: Plug leak of rtcp_send_addr and fix setting URI back to NULL
- rtpsink: Return proper pad from _request_new_pad()
- rist: Plug leak of rtcp_send_addr
- rtmp2: Use correct size of write macro for param2.
- rtmp2/connection: Separate inner from outer cancelling
- tsmux: When selecting random PIDs, name the pads according to those
PIDs
- tsmux: Recheck existing pad PIDs when requesting a new pad with a
random pid
- tsdemux: fix seek with stop regression
- tsdemux: Clear all streams when rewinding, fixes the case where the
demuxer sends out partial invalid data downstream after a seek which
causes some decoders (such as dvdlpmdec) to error out
- v4l2slh264dec: Fix slice header bit size calculation
- videoparseutils: Fix for wrong CEA708 minimum size check
- waylandsink: Fix for missing initial configure
- wpe: Make threaded view singleton creation thread safe
- x265: Fix a deadlock when failing to create the x265enc
- Don’t use volatile to mean atomic (fixes compiler warnings with
gcc 11)
gst-plugins-ugly
- asfdemux/realmedia: Drop duplicate seek events
- Don’t use volatile to mean atomic (fixes compiler warnings with
gcc 11)
gst-libav
- avmux: Blacklist ttml subtitles (fixes crash with ffmpeg >= 4.4)
- avmux: fix segfault when a plugin’s long_name is NULL
- avviddec: Fix size of linesize parameter
- avviddec: Take into account coded_height for pool
- avdemux: fix build with FFmpeg 4.4
gst-rtsp-server
- rtsp-media: Ensure the bus watch is removed during unprepare
- rtsp-media: Add one more case to seek avoidance
- rtsp-media: Improve skipping trickmode seek
- Fix a few memory leaks
gstreamer-vaapi
- plugins: Demote rank of vaapipostproc and vaapioverlay to match
other filters
- Don’t use volatile to mean atomic (fixes compiler warnings with
gcc 11)
gst-editing-services
- xml-formatter: Fix allocation size of buffer
- framepositioner: Fix runtime warning
- Don’t use volatile to mean atomic (fixes compiler warnings with
gcc 11)
gst-devtools
- scenario: Fix EOS handling in seek_forward.scenario
- validate-utils: Only modify structure fields that really need
updates
- Don’t use volatile to mean atomic (fixes compiler warnings with
gcc 11)
gst-integration-testsuites
- validate: Update interlace_deinterlace_alternate to remove
field-order from expected caps
gst-build
- git-update: Make fetching of external repos non-fatal on the CI
- gst-env: Windows: Fix looking for cmd_or_ps.ps1 in the wrong
directory
- Pin gst-plugins-rs subproject to 0.7 branch
Cerbero build tool and packaging changes in 1.18.5
- cerbero: Add a dotted progress bar for urllib downloads
- libunwind: make sure all pkgconfig files get included in the devel
package
- openssl.recipe: Bump to 1.1.1k
- glib: Fix hang on Windows when G_SLICE env is configured
- utils: Support latest Debian release names
- enums: generate fedora version strings automatically
- Rework cmake build system
- spandsp: Fix build error with Visual Studio 2019
Contributors to 1.18.5
Alba Mendez, Andoni Morales Alastruey, Antonio Rojas, Bartłomiej
Kurzeja, Binh Truong, Daniel Knobe, Doug Nazar, Edward Hervey, He
Junyan, Hou Qi, Jan Alexander Steffens (heftig), Jan Schmidt, Marijn
Suijten, Mathieu Duponchelle, Matthew Waters, Michael Olbrich, Miguel
Paris, Nicholas Jackson, Nicolas Dufresne, Nirbheek Chauhan, Olivier
Crête, Per Förlin, Philippe Normand, Robin Burchell, Ruslan Khamidullin,
Scott Moreau, Sebastian Dröge, Sergei Kovalev, Seungha Yang, Stéphane
Cerveau, Steve McDaniel, Thibault Saunier, Tim-Philipp Müller, Víctor
Manuel Jáquez Leal, Xavier Claessens, Youngsoo Lee,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.18.5
- List of Merge Requests applied in 1.18.5
- List of Issues fixed in 1.18.5
1.18.6
The sixth 1.18 bug-fix release (1.18.6) was released on 2 February 2022.
This release only contains bugfixes and security fixes and it should be
safe to update from 1.18.x.
Highlighted bugfixes in 1.18.6
- tagdemux: Fix crash when presented with malformed files (security
fix)
- video-converter: Fix broken gamma remap with high bitdepth YUV
output
- shout2send: Fix issues with libshout >= 2.4.2
- mxfdemux: fix regression with VANC tracks that only contains packet
types we don’t handle
- Better plugin loading error reporting on Windows
- Fixes for deprecations in Python 3.10
- build fixes, memory leak fixes, reliability fixes
- security fixes
gstreamer
- gstplugin: Fix for UWP build
- gstplugin: Better warnings on plugin load failure on Windows
- gst-ptp-helper: Do not disable multicast loopback
- concat: fix qos event handling
- pluginfeature: Fix object leak
- baseparse: fix invalid avg_bitrate after reset
- multiqueue: Fix query unref race on flush
- gst: Initialize optional event/message fields when parsing
- bitwriter: Fix the trailing bits lost when getting its data.
- multiqueue: never consider a queue that is not waiting
- input-selector: Use proper segments when cleaning cached buffers
gst-plugins-base
- tagdemux: Fix crash when presented with malformed files (security
fix)
- videoencoder: make sure the buffer is writable before modifying
metadata
- video-converter: Fix for broken gamma remap with high bitdepth YUV
output
- sdpmessage: fix mapping single char fmtp params
- oggdemux: fix a race in push mode when performing the duration seek
- uridecodebin: Fix critical warnings
- audio-converter: Fix resampling when there’s nothing to output
- tcp: fix build on Solaris
- uridecodebin3: Nullify current item after all play items are freed.
- audio-resampler: Fix segfault when we can’t output any frames
- urisourcebin: Handle sources with dynamic pads and pads already
present
- playbin2/3: autoplug/caps: don’t expand caps to ANY
- uridecodebin3/urisourcebin: Reusability fixes
- rtspconnection: Only reset timeout when socket is unused
- gstvideoaggregator.c: fix build with gcc 4.8
gst-plugins-good
- rtspsrc: Fix critical while serializing timeout element message
- multifilesrc: fix caps leak
- shout2: Add compatibility for libshout >= 2.4.2 shout_open return
values
- v4l2: Update fmt if padded height is greater than fmt height
- v4l2bufferpool: set video alignment of video meta
- qtmux: fix deadlock in gst_qt_mux_prepare_moov_recovery
- matroska: Add support for muxing/demuxing ffv1
- qtdemux: Try to build AAC codec-data whenever it’s possible
gst-plugins-bad
- interlace: Fix a double-unref on shutdown
- webrtcbin: Chain up to parent constructed method
- webrtc: fix log error message in function
gst_webrtc_bin_set_local_description
- mxfdemux: don’t error out if VANC track only contains packets we
don’t handle
- av1parser: Fix data type of film grain param
- assrender: Support RFC8081 mime types
- pitch: Specify layout as required for negotiation
- magicleap: update lumin_rt libraries names to the latest official
version
- codecs: h265decoder: Fix per-slice leak
- mpeg4videoparse: fix criticals trying to insert configs that don’t
exist yet
- webrtcbin: Always set SINK/SRC flags
- mpegtspacketizer: memcmp potentially seen_before data
- zxing: update to support version 1.1.1
gst-plugins-ugly
- No changes
gst-libav
- avcodecmap: Add support for GBRA_10LE/BE
gst-rtsp-server
- rtsp-stream: fix get_rates raciness
- rtsp-media: Only unprepare a media if it was not already unpreparing
anyway
- rtsp-media: Unprepare suspended medias too
- rtsp-client: make sure sessmedia will not get freed while used
- rtsp-media: Also mark receive-only (RECORD) medias as prepared when
unsuspending
- rtsp-session: Don’t unref medias twice if it is removed inside…
- examples: Fix leak in appsrc2 example
gstreamer-vaapi
- libs: video-format: Check if formats map is not NULL
- vaapidecode: Autogenerate caps template
- vaapipostproc: copy over metadata also when using system allocated
buffer
gst-python
- Avoid treating float as int (fix for Python 3.10)
gst-editing-services
- meson: Remove duplicate definition of ‘examples’ option
gst-devtools
- No changes
gst-integration-testsuites
- No changes
gst-build
- env: Fix deprecations from python 3.10
- Various fixes for macOS
- update FFmpeg wrap to 4.3.3
Cerbero build tool and packaging changes in 1.18.6
- Some fixes for Fedora 34
- cerbero: Backport fix for removed loop param of PriorityQueue()
- cerbero: Fix support for Fedora 35
- Add support for Visual Studio 2022
- openssl.recipe: Fix crash on iOS TestFlight
- UnixBootstrapper: remove sudo as root user
- bzip2.recipe: bump version to 1.0.8
- openssl.recipe: upgrade to version 1.1.1l
Contributors to 1.18.6
Antonio Ospite, Célestin Marot, Dave Piché, Erlend Eriksen, Fabrice
Fontaine, Guillaume Desmottes, Haihua Hu, He Junyan, Jakub Adam, Jan
Alexander Steffens (heftig), Jan Schmidt, Jeremy Cline, Jordan Petridis,
Mathieu Duponchelle, Matthew Waters, Mengkejiergeli Ba, Michael Gruner,
Nirbheek Chauhan, Ognyan Tonchev, Pascal Hache, Rafał Dzięgiel,
Sebastian Dröge, Seungha Yang, Stéphane Cerveau, Teng En Ung,Thibault
Saunier, Thomas Klausner, Tim-Philipp Müller, Tobias Reineke, Tobias
Ronge, Tomasz Andrzejak, Trung Do, Víctor Manuel Jáquez Leal, Vivia
Nikolaidou,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.18.6
- List of Merge Requests applied in 1.18.6
- List of Issues fixed in 1.18.6
Schedule for 1.20
Our next major feature release will be 1.20, and will be released in
early February 2022. You can track its progress on the 1.20 Release
Notes page.
1.20 will be backwards-compatible to the stable 1.18, 1.16, 1.14, 1.12,
1.10, 1.8, 1.6, 1.4, 1.2 and 1.0 release series.
------------------------------------------------------------------------
These release notes have been prepared by Tim-Philipp Müller with
contributions from Mathieu Duponchelle, Matthew Waters, Nirbheek
Chauhan, Sebastian Dröge, Thibault Saunier, and Víctor Manuel Jáquez
Leal.
License: CC BY-SA 4.0
|