Hi Sam I think MP3Tag can do .MP4 audio for iPhone (if I remember what is at its web page), but it was not at all useful for my purposes.
Also, TagLibSharp seems to be deficient in what I would like, for video metadata. But the Windows API Code Pack v1.1 has sample code for property editing, which is semi-useful for the media files metadata that Windows Shell / Explorer likes to display. The code is in Shell\PropertyEditDemo (when unpacked). I'm really surprised that I cannot find a useful library for the range of video flavours that are currently in the wild. I will have a look at AtomicParsley, though – there are several cross-platform projects using it that may prove interesting. ________________________________ Ian Thomas Victoria Park, Western Australia -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sam Lai Sent: Sunday, October 07, 2012 5:40 AM To: ozDotNet Subject: Re: API for read/write video tags I looked into this a while ago because I wanted something that tags my converted videos for my iPhone (so .mp4 format). Back then, TagLibSharp had the infrastructure to write MP4 tag atoms, but no explicit support for the iTunes way of writing them. Not sure if that has changed. I ended up hacking a app that executes AtomicParsley ( <http://atomicparsley.sourceforge.net/> http://atomicparsley.sourceforge.net/) in the background to set the tags. Not very elegant, but it was the best thing I could find at the time. @Greg - AtomicParsley would be an option for your PowerShell script. It is pretty easy to use; --title is the command line argument you want. --help will show you the rest of the options. On 29 September 2012 18:14, Ian Thomas < <mailto:[email protected]> [email protected]> wrote: > MP3Tag is strictly audio. I’ve use v2.45 for a while. > > I’m finding hard to locate a library with similar scope that enables tag > editing for videos of a range of tag types (ie, tags for individual video > formats or packaging) and their individual tags. A couple of weeks ago I > thought TagLib was going to do it. Not so. > > Any ideas? Preferably with a .NT wrapper. > > ________________________________ > > Ian Thomas > Victoria Park, Western Australia > > > > From: <mailto:[email protected]> [email protected] > <mailto:[mailto:[email protected]]> > [mailto:[email protected]] > On Behalf Of Ian Thomas > Sent: Saturday, September 29, 2012 3:26 PM > To: <mailto:[email protected]> [email protected]; 'ozDotNet' > Subject: RE: Powershell script ? > > > > Now that Swans (South Melbourne, as should have been) have won the AFL GF …. > > TagLibSharp is good for some tags (including Title), but for what I have > wanted to do with video files, TagLib is deficient. > > I see that MP3Tag has a command-line interface so I will probably use it > instead of TagLib if it is capable. > > ________________________________ > > Ian Thomas > Victoria Park, Western Australia > > From: <mailto:[email protected]> [email protected] > <mailto:[mailto:[email protected]]> > [mailto:[email protected]] > On Behalf Of Greg Low (GregLow.com) > Sent: Saturday, September 29, 2012 2:13 PM > To: 'ozDotNet' > Subject: RE: Powershell script ? > > > > Thanks Ian, that one from Andrew is awesome but I’ll keep that in mind in > case I want to do something the one he linked to can’t. > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax > > SQL Down Under | Web: <http://www.sqldownunder.com> www.sqldownunder.com > > > > From: <mailto:[email protected]> [email protected] > <mailto:[mailto:[email protected]]> > [mailto:[email protected]] > On Behalf Of Ian Thomas > Sent: Saturday, 29 September 2012 2:05 PM > To: 'ozDotNet' > Subject: RE: Powershell script ? > > > > Hi Greg > > There is a library written by Novell – TagLib – which has a C# wrapper, > (TagLibSharp) which may be usable with PowerShell. > > > > ________________________________ > > Ian Thomas > Victoria Park, Western Australia > > From: <mailto:[email protected]> [email protected] > <mailto:[mailto:[email protected]]> > [mailto:[email protected]] > On Behalf Of Andrew Coates (DPE AUSTRALIA) > Sent: Saturday, September 29, 2012 11:01 AM > To: <mailto:[email protected]> [email protected]; ozDotNet > Subject: RE: Powershell script ? > > > > Hi Greg, > > There's an excellent bit of freeware called, from memory, MP3Tag that can do > exactly this (and lots more besides). > > <http://www.mp3tag.de/en/> http://www.mp3tag.de/en/ > > Cheers, > Andrew > > ________________________________ > > From: Greg Low (GregLow.com) > Sent: 29/09/2012 12:35 PM > To: 'ozDotNet' > Subject: FW: Powershell script ? > > Hi Folks, > > > > I want to set the “Title” property of all the mp4 files in a folder to their > file name. > > > > ie: something.mp4 would get the title “something”. > > > > Anyone know how to do that? Is there some way to do that with Powershell? > > > > Regards, > > > > Greg > > > > Dr Greg Low > > CEO and Principal Mentor > > SQL Down Under > > SQL Server MVP and Microsoft Regional Director > > 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax > > Web: <http://www.sqldownunder.com> www.sqldownunder.com > > > >
