![xm s3m mod it tracker 음악 파일 등의 메타데이터를 명령줄로 추출합니다.](https://linux55.com/image/62755/xm%20s3m%20mod%20it%20tracker%20%EC%9D%8C%EC%95%85%20%ED%8C%8C%EC%9D%BC%20%EB%93%B1%EC%9D%98%20%EB%A9%94%ED%83%80%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%A5%BC%20%EB%AA%85%EB%A0%B9%EC%A4%84%EB%A1%9C%20%EC%B6%94%EC%B6%9C%ED%95%A9%EB%8B%88%EB%8B%A4..png)
트래커 음악 파일에서 메타데이터를 추출하려고 합니다. 최소한 무언가를 제공하는 유일한 도구
$ 파일 aa_arofl.xm aa_arofl.xm: Fasttracker II 모듈 사운드 데이터 제목: "빛의 집정관 \032FastTracker v2.00 \004\001\024\001"
가시광통신허용하다GUI에서 메타데이터를 보았지만 이를 명령줄 출력에 넣는 방법에 대한 정보를 찾을 수 없습니다. 어떤 아이디어가 있나요?
답변1
IIRC VLC는TagLib 오디오 메타베이스에서 메타데이터를 제공합니다 Fasttracker II Extended Modules
.
라이브러리 사용 방법에 대한 예제와 함께 소스 코드가 제공됩니다. 한 번 살펴보고 싶을 수도 있고 examples/tagreader.cpp
필요에 맞을 수도 있습니다.
$ ./a.out ../../test/aa_arofl.xm
******************** "../../test/aa_arofl.xm" ********************
-- TAG (basic) --
title - "Archons of light "
artist - ""
album - ""
year - "0"
comment - "Greetings thou music-
lover !
Lo and behold!
A new production from
(c) ArchAngel is now
removing some of thy
blessed harddiskspace
in hope of bringing
some joy into this
cruel world...
My humble greetings
this time, goes to:
...
답변2
ffmpeg로 할 수 있습니다.
ffprobe dualtrax-the_travel_to_orion.xm
다음을 제공합니다:
...
Input #0, libmodplug, from 'dualtrax-the_travel_to_orion.xm':
Metadata:
name : the travel to orion!
instrument : dualtrax/cro/orion/nmg
: and again a nice chipt
: une for orion-keygens!
: hope you like it :]
: dedicated to neoman
: march2001
sample : the travel to orion!
: Drum
extra info : 11 patterns, 8 channels, 6/32 instruments, 2/9 samples
...
메타데이터를 필드=값 형식의 파일로 내보낼 수 있습니다.
ffmpeg -i dualtrax-the_travel_to_orion.xm -f ffmetadata metadata.txt && cat metadata.txt
다음을 제공합니다:
;FFMETADATA1
name=the travel to orion!
instrument=dualtrax/cro/orion/nmg\
and again a nice chipt\
une for orion-keygens!\
hope you like it :]\
dedicated to neoman\
march2001
sample=the travel to orion!\
Drum
extra info=11 patterns, 8 channels, 6/32 instruments, 2/9 samples
encoder=Lavf57.71.100