Video restriction caps were not properly set by `ges-launch-1.0`
Using Gstreamer 1.16.1
ges-launch-1.0 apparently does not set the video restriction caps properly.
export GST_DEBUG_DUMP_DOT_DIR=c:/Users/ding/Desktop/bt470_repro/dot ges-launch-1.0 --video-caps video/x-raw,colorimetry=bt709 +clip bt470bg.jpg duration=5 +clip graph.png duration=10 -o output.ogx
When the pipeline plays, the graph shows a
GstCapsFilter with a value of
*.dot file is attached 0.00.01.704950000-ges-launch.PAUSED_PLAYING.dot.
Notice that the colors for the first 5 seconds of output video are off. I was able to generate output video that looked correct while using custom C++ code that wraps GES, where the video restriction caps were defined as:
videoTrackRestrictionCaps = gst_caps_new_simple("video/x-raw", "framerate", GST_TYPE_FRACTION, (int32_t)frac.m_numerator, (int32_t)frac.m_denominator, "colorimetry", G_TYPE_STRING, "bt709", nullptr);
These are my input images.