Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1018849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:55:11+00:00 2026-05-16T10:55:11+00:00

I am writing a python module which checks several media and document formats whether

  • 0

I am writing a python module which checks several media and document formats whether the files correct or somehow corrupted/wrong formatted. It returns an error message or – if the file is correct – some information about the file (e.g. framerate, channels, …)

Now I am looking for a python module which I can use to check ogg-Files. There is no need to play the file, it should simply return an Exception if the file seems not to be a correct ogg-File.

It should run on OSX and Linux. At the moment I am tending to python-ogg. But I think it will be some work to get it running on OSX 10.6 and perhaps there is an easier solution when there is no need to play the files.

Best regards!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:55:12+00:00Added an answer on May 16, 2026 at 10:55 am

    Have you looked at Hachoir? It ‘extracts metadata from multimedia files’, including Ogg Vorbis.

    The different file format parsers give differing levels of detail, and I haven’t tried the Vorbis one, but it might be what you are looking for. Here’s an example of metatdata extraction from an AVI file:

    $ hachoir-metadata pacte_des_gnous.avi
    Common:
    - Duration: 4 min 25 sec
    - Comment: Has audio/video index (248.9 KB)
    - MIME type: video/x-msvideo
    - Endian: Little endian
    Video stream:
    - Image width: 600
    - Image height: 480
    - Bits/pixel: 24
    - Compression: DivX v4 (fourcc:"divx")
    - Frame rate: 30.0
    Audio stream:
    - Channel: stereo
    - Sample rate: 22.1 KHz
    - Compression: MPEG Layer 3
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing several Python modules which perform some I/O. Thoses modules can be
I'm writing a Python-module which should provide an easy OOP interface to low-level GUI
I am writing a python script which looks at common computer files and examines
I'm using Python's csv module to do some reading and writing of csv files.
Background : I am writing a python program which should manage my music files.
I'm writing a python module for a device that interacts with a user supplied
Using the python module xlwt, writing to the same cell twice throws an error:
I am writing a simple Vector implementation as a Python extension module in C
I am writing a multithreaded socket application in Python using the socket module. the
I am writing a Python package which reads the list of modules (along with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.