Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Issues
  • #1105
Closed
Open
Issue created Mar 17, 2023 by Lazar Jovanovic@Laleee

Missing timestamp information for DVR frames

Overview

Missing timestamp informations when decoding a DVR. The DVR is OK. I extracted the timestamp info with other tools but not with this library.

Expected behavior

I would expect dts, pts or time to be other than None since the DVR encode timestamp info.

Actual behavior

dts, pts and time values for the frame object are none

Reproduction

  container = av.open(dvr_path)

  for frame in container.decode(video=0):
      print(frame.time)

Versions

Tried on Linux and MacOS:

  • OS: Ubuntu 20.04 (pipenv) / Ventura 13.2.1 (conda)
  • PyAV runtime:
PyAV v9.1.0 (Mac)
v10.0.0 (Ubuntu)
  • FFmpeg:
ffmpeg version 4.3.2 (Mac) 
ffmpeg version 4.2.7 (Ubuntu)
Assignee
Assign to
Time tracking