Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F ffmpeg-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • 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
  • Karl Kroening
  • ffmpeg-python
  • Issues
  • #743
Closed
Open
Issue created Feb 15, 2023 by Ronald Ruiz@ronruizG

Got some "Extra data" error from ffmpeg.probe :(

Hi! I've found this code:

input_file = file.webm
args = {"v": "error",
        "select_streams": "v:0",
        "count_packets": None,
        "show_entries": "stream=nb_read_packets",
        "of": "csv=p=0"
        }

pb = (ffmpeg
          .probe(input_file , **args)
          )

when I run the code I got this error: json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)

If I delete the : "of": "csv=p=0" , it works, I've also tried: "of":"default=noprint_wrappers=1:nokey=1", same problem. I think is the amount of "=" ? I hope I can get some advice. Thanks!

Assignee
Assign to
Time tracking