Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-good gst-plugins-good
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 71
    • Merge requests 71
  • 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-goodgst-plugins-good
  • Issues
  • #911
Closed
Open
Issue created Aug 05, 2021 by Matthew Zelenin@zeleninmi

multifilesink generates several small unviewable files when stream recovers after being down

I am streaming a sample TS file (from https://tsduck.io/streams/?name=brazil-isdb-tb) with the following pipeline:

gst-launch-1.0 multifilesrc location=/home/scientia/Videos/TS1globo.ts ! tsparse alignment=7 set-timestamps=true ! udpsink host=239.5.35.1 port=16400

I then record the outgoing UDP stream to files using multifilesink:

gst-launch-1.0 udpsrc address=239.5.35.1 port=16400 ! multifilesink location=segment_%d.ts next-file=2

The multifilesink generates files as expected, separating them by the closest keyframe to a 10-second duration for each file. However, if I terminate the first pipeline, wait several minutes, and restart it, multifilesink will generate several small files, each of size ~1.3K approximately, and then continue recording files starting at the next available index. It seems that for every 10 seconds the UDP stream is down, multifilesink generates one additional small file. These files are unviewable and create issues with playback using multifilesrc.

Please advise as to what may be the issue here. Thank you.

Edited Aug 05, 2021 by Matthew Zelenin
Assignee
Assign to
Time tracking