Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Reading MP3/WMA/AIFF/ etc.. tags and file properties

Reading MP3/WMA/AIFF/ etc.. tags and file properties

Scheduled Pinned Locked Moved C#
csharpdatabasedotnet
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ankit Rajpoot
    wrote on last edited by
    #1

    Hello everybody, My application reads properties for files within a specified folder and stores them in a database. It reads the following properties: Music Properties (Artist/Title/Album so on...) Audio Properties (Bitrate/SampleRate so on...) Video Properties (Dimensions only) Document Properties (Subject/Title/Author/Description so on...) and basic file properties such as attributes/dates etc. Currently I'm using a combination of .Net framework libraries and Taglib sharp library to read this info. But my problems are: 1. I've not yet found some way to read most of the document properties. 2. The TagLib Sharp library ready audio files well, but throws UnsupportedFormatException for most of the video files. Please suggest some library or any other alternative to read this info reliably. The TagLib library failed to read dimensions for files that Windows Explorer successfully reports the dimensions of. Thanks.

    V 1 Reply Last reply
    0
    • A Ankit Rajpoot

      Hello everybody, My application reads properties for files within a specified folder and stores them in a database. It reads the following properties: Music Properties (Artist/Title/Album so on...) Audio Properties (Bitrate/SampleRate so on...) Video Properties (Dimensions only) Document Properties (Subject/Title/Author/Description so on...) and basic file properties such as attributes/dates etc. Currently I'm using a combination of .Net framework libraries and Taglib sharp library to read this info. But my problems are: 1. I've not yet found some way to read most of the document properties. 2. The TagLib Sharp library ready audio files well, but throws UnsupportedFormatException for most of the video files. Please suggest some library or any other alternative to read this info reliably. The TagLib library failed to read dimensions for files that Windows Explorer successfully reports the dimensions of. Thanks.

      V Offline
      V Offline
      Vikram A Punathambekar
      wrote on last edited by
      #2

      Unlike audio files, none of the major video formats (MEPG, AVI, FLV) support tags such as artist/album/track info - AFAIK.

      Cheers, Vıkram.


      I've never ever worked anywhere where there has not been someone who given the choice I would not work with again. It's a job, you do your work, put up with the people you don't like, accept there are probably people there that don't like you a lot, and look forward to the weekends.   - Josh Gray.

      A 1 Reply Last reply
      0
      • V Vikram A Punathambekar

        Unlike audio files, none of the major video formats (MEPG, AVI, FLV) support tags such as artist/album/track info - AFAIK.

        Cheers, Vıkram.


        I've never ever worked anywhere where there has not been someone who given the choice I would not work with again. It's a job, you do your work, put up with the people you don't like, accept there are probably people there that don't like you a lot, and look forward to the weekends.   - Josh Gray.

        A Offline
        A Offline
        Ankit Rajpoot
        wrote on last edited by
        #3

        Dear, I'm not trying to read artist/album/track info for video files. I've already mentioned that I only need to read the Video dimensions.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups