|
Posted by Ted Zlatanov on November 10, 2006, 12:01 pm
Please log in for more thread options
On 8 Nov 2006, nospam-abuse@ilyaz.org wrote:
>> I've seen this solved with mplayer, which can just report information
>> about the file. I think this is worth consideration, even though it's
>> not pure Perl, because:
>>
>> 1) users may install codecs for mplayer in the future, why not use
>> them?
>
> Since most users won't install mplayer, why bother?
They will probably install some movie player. Maybe we should use
Xine, VLC, etc. if they are available (and those players themselves
may use portable libraries that do what you want).
>> 2) it's not hard to install mplayer
>
> Correct. However (in my experience), after installation, there is
> little chance that it will work correct...
>
> [In part, THIS THREAD is partially due to my bad experience with
> mplayer. ;-) :-[]
OK. I don't share your experience but sure, not everyone is happy
with any given package.
>> So maybe the module could provide an mplayer-driven investigation into
>> the file, in addition to the pure Perl approach.
>
> "In addition" is very fine with me. But I would prefer to have "pure
> Perl approach" first. ;-)
>
> Unfortunately, I have no idea where to start... I would prefer to
> reuse existing modules than to write everything myself...
I think something portable must already exist. See above about
existing players.
>> I don't know about the metadata design, sorry. Maybe ID3v2 already is
>> sufficient, or there's something similar for video?
>
> There must be something like this for Matreoshka; additionally, OGG
> has some (brain-dead) metadata storage...
I don't know of Matroshka metadata. It's not a lovely format in any
case, but very popular nevertheless.
>> I think there are so many video codecs that there's just no unifying
>> tag format yet.
>
> My current approach is make MP3::Tag to look into file name_of_mm.id3
> if it is asked to find metadata in name_of_mm.foo, and it could not
> find it there. This will "solve" the problem with formats which do
> not have metadata slots. However, it would be nice to have formats
> WITH metadata slots accessible too - preferebly via type-transparent
> interface.
OK, so does anyone know for sure about:
- Matroshka
- WMV
- VOB
metadata? I am not an expert on any of them.
Ted
|