Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-editing-services gst-editing-services
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-editing-servicesgst-editing-services
  • Issues
  • #112
Closed
Open
Issue created Jun 01, 2020 by David Ing@ding

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 ANY.

caps_filter

The *.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.

bt470bg

graph

Edited Jun 01, 2020 by David Ing
Assignee
Assign to
Time tracking