[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2096
  • Last Modified:

reading mp4 meta tags using delphi source code

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
amitbueno
Asked:
amitbueno
  • 7
  • 7
1 Solution
 
ThommyCommented:
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
 
amitbuenoAuthor Commented:
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
 
ThommyCommented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
amitbuenoAuthor Commented:
Only reading Thats the problem, I need read/write.
0
 
ThommyCommented:
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
 
amitbuenoAuthor Commented:
I need meta tags read/write for media files,.
(audio [mp3, wma, ogg, etc] & video [avi, wmv, mp4, etc])
0
 
amitbuenoAuthor Commented:
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
 
ThommyCommented:
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
 
amitbuenoAuthor Commented:
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
 
ThommyCommented:
Sorry, of Course you're right!

As the name already says, MediaInfo.dll does only support reading information from many different media formats...
0
 
ThommyCommented:
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
 
amitbuenoAuthor Commented:
still waiting for a solution...
0
 
ThommyCommented:
Have provided several solutions  for the original problem of reading mp4 files!!!
0
 
amitbuenoAuthor Commented:
Sorry for the delay
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 7
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now