Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.1k
    • Issues 1.1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 499
    • Merge requests 499
  • 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
  • gstreamergstreamer
  • Merge requests
  • !1036

flvdemux: Use DTS for the video segment position

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Jan Alexander Steffens requested to merge heftig/gstreamer:gst-plugins-good-flvdemux-dts into main Oct 04, 2021
  • Overview 5
  • Commits 1
  • Pipelines 2
  • Changes 1

Copied from https://gitlab.freedesktop.org//gstreamer/gst-plugins-good/-/merge_requests/395

When we start with a video frame with a presentation offset, this ensures our initial frames (video or audio) don't fall outside the segment and get clipped later.

A simple remuxer now keeps the right timestamps:

gst-launch-1.0 \
  filesrc location=$HOME/foo.flv ! flvdemux name=d \
  d. ! queue ! h264parse ! m. \
  d. ! queue ! aacparse  ! m. \
  flvmux streamable=1 name=m ! filesink location=$HOME/bar.flv
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gst-plugins-good-flvdemux-dts