Hello,
I'm working on a music player project on Ubuntu. I was wondering if there's a way , using wxWidgets, to extract data from an mp3 file saved on my computer. I need to extract it and use it to initialize objects in my program.
This is what i'm talking about:
I think what i'm searching for is called metadata( i'm not sure though).
Thank you
Extract file properties
Re: Extract file properties
There is nothing for this in wxWidgets.
If you only need a solution for Linux, i'd try to find a command line tool that outputs this information (According to Google, ffprobe could be an option https://ffmpeg.org/ffprobe.html ) and parse this from inside your application.
If you only need a solution for Linux, i'd try to find a command line tool that outputs this information (According to Google, ffprobe could be an option https://ffmpeg.org/ffprobe.html ) and parse this from inside your application.
Use the source, Luke!
-
- Super wx Problem Solver
- Posts: 469
- Joined: Tue Jun 20, 2006 6:47 pm
- Contact:
Re: Extract file properties
Taglib is a small, easy to use library that will let you do this.
Re: Extract file properties
doublemax wrote:There is nothing for this in wxWidgets.
If you only need a solution for Linux, i'd try to find a command line tool that outputs this information (According to Google, ffprobe could be an option https://ffmpeg.org/ffprobe.html ) and parse this from inside your application.
Thank you for the answers! I'll try them!New Pagodi wrote:Taglib is a small, easy to use library that will let you do this.
- archman007
- Experienced Solver
- Posts: 55
- Joined: Mon Jan 13, 2020 1:06 pm
- Location: Jacksonville, Fl 32210
- Contact:
Re: Extract file properties
Hello Peeps,
I had the same requirement and https://github.com/archman007/pathManip is my solution.
Enjoy
I had the same requirement and https://github.com/archman007/pathManip is my solution.
Enjoy