Solved

reading mp4 meta tags using delphi source code

Posted on 2010-11-29
15
1,874 Views
Last Modified: 2012-05-10
I've been using the jedi mp3 tag id3v2 to read mp3 files meta tags.
And been looking for such a thing on mp4 files. I know there is an option to do that using the FFVCL shareware library using the metatag field. The ffvcl is a library that read/write media files.

If you have a library that can do that except the one offered in the ffvcl -- with source code in delphi -- Please reply
0
Comment
Question by:amitbueno
  • 7
  • 7
15 Comments
 
LVL 19

Expert Comment

by:Thommy
Comment Utility
Download tags.dll:
http://gmodmodules.googlecode.com/svn/trunk/gm_bass/bass/

Read tags-readme.txt especially the following part of the document:

APPENDIX
Function reference:
-------------------  
...

http://gmodmodules.googlecode.com/svn/trunk/gm_bass/bass/tags-readme.txt


Try calling following dll function to get tags from a stream:

const char* _stdcall TAGS_Read(
                  DWORD handle,            // bass HSTREAM handle
                  const char* fmt            // format string
                  );


0
 

Author Comment

by:amitbueno
Comment Utility
I might have been mistaken when saying reading only... I am looking for writing as well of meta tags of media files....


In addition I am looking for the delphi source code, not C.
0
 
LVL 19

Expert Comment

by:Thommy
Comment Utility
The DLL tags.dll might be written in C, but you can call its functions from your delphi program.

If you are not familiar with DLL's (Dynamic Link Library), then have a look at the following link:

Creating and Using DLLs from Delphi
http://delphi.about.com/od/windowsshellapi/a/dll_basics.htm


TAGS.DLL supports only reading tags!!!
0
 

Author Comment

by:amitbueno
Comment Utility
Only reading Thats the problem, I need read/write.
0
 
LVL 19

Accepted Solution

by:
Thommy earned 125 total points
Comment Utility
Here is another DLL, which supports reading and writing audio tags.

You will not get around using DLL functions in your Delphi program to solve your problem!

Try this one, it should work for your needs...

AudioGenie DLL 2.0.2.0
http://audiogenie-dll.stefan-toengi.qarchive.org/

0
 

Author Comment

by:amitbueno
Comment Utility
I need meta tags read/write for media files,.
(audio [mp3, wma, ogg, etc] & video [avi, wmv, mp4, etc])
0
 

Author Comment

by:amitbueno
Comment Utility
I already got the jedi-project to read mp3 files, that is my main use.
It is free, and include sources...

But I am looking for all media files, audio & video.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 19

Expert Comment

by:Thommy
Comment Utility
MediaInfo.dll supports all formats you have listed in your last comment (audio & video)

Download
  "MediaInfo_DLL_0.7.37_Windows_i386_WithoutInstaller.7z"
from
  http://mediainfo.sourceforge.net/en/Download/Windows

Choose "DLL v0.7.37 (without installer)"  for download....

Unzip and see that it is well documented with a lot of examples how to use it...

0
 

Author Comment

by:amitbueno
Comment Utility
I downloaded the gui, and the dll package.
Seems to be a reading only component although it is impressive how many media files it reads,. unfortunatly except reading it doesn't do much.
0
 
LVL 19

Expert Comment

by:Thommy
Comment Utility
Sorry, of Course you're right!

As the name already says, MediaInfo.dll does only support reading information from many different media formats...
0
 
LVL 19

Expert Comment

by:Thommy
Comment Utility
Don't know, if there's anything out there, that fulfills all your needs in one!!!

I think you have to combine the use of different DLLs to read/write all the desired formats...
0
 

Author Comment

by:amitbueno
Comment Utility
still waiting for a solution...
0
 
LVL 19

Expert Comment

by:Thommy
Comment Utility
Have provided several solutions  for the original problem of reading mp4 files!!!
0
 

Author Closing Comment

by:amitbueno
Comment Utility
Sorry for the delay
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now