Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 973
    • Issues 973
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 104
    • Merge requests 104
  • 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-plugins-badgst-plugins-bad
  • Issues
  • #903
Closed
Open
Issue created Feb 25, 2019 by Shishir Pokharel@gandiva

streamheader missing in caps while linking rtmpsink dynamically

hi,

The following pipeline1 works fine when rtmpsink is connected to flvmux at startup of pipeline, and streamheader on caps is available. However if initially flvmux is not connected to rtmpsink and later connected dynamically, streamheader is missing on the caps and rtmp stream is failing. Log of both pipeline is attached on file.

Gstreamer version : 1.14.4

pipeline 1:

videotestsrc ! video/x-raw,width=1280,height=720,framerate=30/1 ! videoconvert ! queue ! x264enc ! flvmux streamable=true name=mux ! tee name=tee1 ! queue ! rtmpsink location="rtmp://localhost/relrix/stream" sync=true audiotestsrc is_live=true do-timestamp=true ! audioconvert ! faac ! mux.

pipeline 2 (initially connected to testsink, 5 sec. later dynamically connected to tee->queue->rtmpsink): videotestsrc ! video/x-raw,width=1280,height=720,framerate=30/1 ! videoconvert ! queue ! x264enc ! flvmux streamable=true name=mux ! tee name=tee1 ! queue ! testsink sync=true audiotestsrc is_live=true do-timestamp=true ! audioconvert ! faac ! mux.

gstreamer_issue.txt

Thank you. Shishir Pokharel

Edited Sep 24, 2021 by Tim-Philipp Müller
Assignee
Assign to
Time tracking