Ogg Opus 파일에 태그 추가


10

나는 보통 Ogg Vorbis 파일에 EasyTAG 2.1.7 태그를 붙인다.

이제 Ogg Opus 파일을 만들려고하는데 파일에 태그를 쓸 수 없습니다. EasyTAG는 Vorbis 또는 Speex 스트림이없는 Ogg 파일에 대해 설명합니다.

lltag와 같은 다른 도구는 "알 수없는 유형으로이 파일 건너 뛰기"와 같은 메시지를 뱉습니다.

약간의 조언? 감사.

답변:


3

이 질문이 처음으로 질문 된 후 시간이 변경되었습니다! 이제 2017 년 10 월 Ogg Opus 파일이 훨씬 더 주류가되었으며 Ubuntu에서 Ogg Opus 파일에 태그를 지정할 수있는 몇 가지 좋은 선택이 있습니다.

개인적으로 권장하는 3 가지 방법을 자세히 설명합니다.

1. EasyTag

EasyTag의 최신 버전은 Ogg Opus 파일에 태그를 지정할 수 있습니다.

편집 : 지적했듯이 Ogg Vorbis 파일의 태그 가 손상 되어 해결되지 않은 문제가 있기 때문에 이것은 좋은 생각 이 아닙니다 . 내 경험상 Ogg Vorbis 용 EasyTag의 안전한 버전은 2.4.2이며이 버전에서는 개인적으로 아무런 문제가 없었습니다.

먼저 EasyTag를 설치하십시오.

sudo apt-get install easytag

태그 편집을 위해 EasyTag로 Ogg Opus 파일을여십시오! 내 시스템의 스크린 샷은 다음과 같습니다.

여기에 이미지 설명을 입력하십시오

다른 좋은 선택은 PuddleTag 또는 Kid3 일 수 있습니다 ...

2. Opusenc로 인코딩 할 때 태그 생성 :

명령 행을 선호하는 경우을 사용하여 파일을 인코딩 할 때 태그를 작성할 수 있습니다 opusenc. 다음을 실행하여이 유틸리티를 설치하십시오.

sudo apt-get install opus-tools

테스트 파일을 만들 때 사용한 명령 줄은 다음과 같습니다.

opusenc --bitrate 128 \
        --artist "Jody Marie Gnant" \
        --title "Lucky Night" \
        --date "1995" \
        --album "Treasure Quest Soundtrack" \
        --genre "Soundtrack" \
        luckynight.wav luckynight.opus

위의 구문에 추가 할 수있는 더 많은 태그가 opusenc -h있으며 명령 줄에서 실행 하면 모든 태그를 볼 수 있습니다 .

3. 오디오 CD를 Ogg Opus + 태깅으로 리핑

명령 줄에 관심이 있고 최신 버전의 Ubuntu에서 오디오 CD로 Ogg Opus 오디오 파일을 만드는 경우 단일 명령 으로abcde 추출, 변환 및 태그 지정에 사용할 수 있습니다 . 다음과 같이 abcde를 설치하십시오.

sudo apt-get install abcde opus-tools

그런 다음 다음 구성 파일을 다음에 배치하십시오 ~/.abcde.conf.

# -----------------$HOME/.abcde.conf----------------- #
# 
# A sample configuration file to convert music cds to 
#       Opus using abcde version 2.7.2
# 
# http://andrews-corner.org/linux/abcde/index.html
# -------------------------------------------------- #

# Encode tracks immediately after reading. Saves disk space, gives
# better reading of 'scratchy' disks and better troubleshooting of
# encoding process but slows the operation of abcde quite a bit:
LOWDISK=y

# Specify the method to use to retrieve the track information,
# I give the default below but consider setting 'musicbrainz'
# instead, which is my own preferred option:
CDDBMETHOD=cddb

# Make a local cache of cddb entries and then volunteer to use 
# these entries when and if they match the cd:
CDDBCOPYLOCAL="y"
CDDBLOCALDIR="$HOME/.cddb"
CDDBLOCALRECURSIVE="y"
CDDBUSELOCAL="y"

# Specify the encoder to use for Opus. In this case
# the only choice is opusenc.
OPUSENCODER=opusenc

# Specify the path to the selected encoder. In most cases the encoder
# should be in your $PATH as I illustrate below, otherwise you will 
# need to specify the full path. For example: /usr/bin/opusenc
OPUSENC=opusenc

# Specify your required encoding options here. Multiple options can
# be selected as '--preset standard --another-option' etc.
# In vbr mode the bitrate setting allows for a range of bitrates, use
# --cvbr or --hard-cbr for exact bitrate control. See all of the options
# by running ;opusenc -h' from the command line...
OPUSENCOPTS="--vbr --bitrate 128"

# Output type for opus.
OUTPUTTYPE="opus"

# The cd ripping program to use. There are a few choices here: cdda2wav,
# dagrab, cddafs (Mac OS X only) and flac. New to abcde 2.7 is 'libcdio'.
CDROMREADERSYNTAX=cdparanoia            

# Give the location of the ripping program and pass any extra options,
# if using libcdio set 'CD_PARANOIA=cd-paranoia'.
CDPARANOIA=cdparanoia  
CDPARANOIAOPTS="--never-skip=40"

# Give the location of the CD identification program:       
CDDISCID=cd-discid            

# Give the base location here for the encoded music files.
OUTPUTDIR="$HOME/Music"               

# The default actions that abcde will take.
ACTIONS=cddb,playlist,read,encode,tag,move,clean

# Decide here how you want the tracks labelled for a standard 'single-artist',
# multi-track encode and also for a multi-track, 'various-artist' encode:
OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
VAOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'

# Decide here how you want the tracks labelled for a standard 'single-artist',
# single-track encode and also for a single-track 'various-artist' encode.
# (Create a single-track encode with 'abcde -1' from the commandline.)
ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}'
VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}'

# Create playlists for single and various-artist encodes. I would suggest
# commenting these out for single-track encoding.
PLAYLISTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}.m3u'
VAPLAYLISTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}.m3u'

# This function takes out dots preceding the album name, and removes a grab
# bag of illegal characters. It allows spaces, if you do not wish spaces add
# in -e 's/ /_/g' after the first sed command.
mungefilename ()
{
  echo "$@" | sed -e 's/^\.*//' | tr -d ":><|*/\"'?[:cntrl:]"
}

# What extra options?
MAXPROCS=2                              # Run a few encoders simultaneously
PADTRACKS=y                             # Makes tracks 01 02 not 1 2
EXTRAVERBOSE=2                          # Useful for debugging
COMMENT='abcde version 2.7.2'           # Place a comment...
EJECTCD=y                               # Please eject cd when finished :-)

그런 다음 간단히 다음 명령을 실행하십시오.

abcde

프로세스 실행 설정!

결론적으로:

Ubuntu의 최신 버전에서는 Ogg Opus 파일에 gui와 command line 모두에서 좋은 선택을 태그로 지정할 수 있습니다.


매우 철저한 답변-훌륭한 작업, 감사합니다!
— DaimyoKirby

죄송합니다,하지만 EasyTag는 bugzilla.gnome.org/show_bug.cgi?id=776110 으로 인해 지금까지 사랑을받지 못했습니다. 요약하면 Ogg / Opus 파일에서 EasyTag를 사용하면 헤더를 휴지통에 버리고 파기하게됩니다. 거의 "문제 없음". 사용하지 마십시오
— tamester

@tamester 죄송합니다. 매우 느려서 답변에이 버그에 대한 세부 사항을 추가했습니다 ...
— andrew.46

2

opus 표준은 매우 새롭고 아직 도구에 대한 훌륭한 지원을 얻지 못했습니다. opus 스트림은 일반적으로 ogg 컨테이너에 싸여 있습니다. opus를 알지 못하는 프로그램이 컨테이너 스트림을 볼 때 알고있는 스트림 코덱을 찾습니다 (보통 오디오의 경우 vorbis 또는 speex).

현재 지원 상태는 opus의 Wikipedia 페이지 ( https://en.wikipedia.org/wiki/Opus_(audio_format)#Support_in_software)에 나와 있습니다.

VLC 버전 2.04는 opus 지원을받을 것으로 예상되지만 아직 나오지 않았습니다.

Linux에서 opus 파일에 태그를 지정하기 위해 foobar2000 과 함께 와인을 사용 하며 제대로 작동합니다.


감사합니다. Linux에서 opus 지원의 현재 상태를 노출하는 매우 유익한 답변입니다. I : 지금 쯤 foobar2000을 가진 파일에 태그를거야
— 호르헤 수아레스 드 lis

이 답변이 보여주는 유일한 것은 실제 질문에 대한 이해가 부족하다는 것입니다. 실제로 푸바. 태그를 편집 할 수있는 프로그램은 컨테이너의 스트림을 디코딩 할 필요가 없습니다. 그런데 VLC 2.0.3-0ubuntu0.12.04.1은 이미 Opus 컨텐츠를 재생합니다. VLC! = 우분투의 VLC 패키지.
— LiveWireBT

1
VLC 2.0.3-0ubuntu0.12.04.1( revision 2.0.2-93-g77aa89e)는 opus 파일을 재생하거나 태그 지정하지 않습니다. 시도 했습니까? 나는 http://trac.videolan.org/vlc/ticket/7185를 언급하고 있었다 . OP는 분명히 opus 파일에 태그를 지정 하는 쉬운 솔루션을 찾고 있었기 때문에 네이티브 앱이 더 나은 지원을 얻을 때까지 foobar를 사용하고 있다고 말했습니다. 나는 당신의 의견에서 부정적인 언더 톤의 이유를 이해하지 못합니다.
— phoibos

죄송합니다. 일부 팟 캐스터가 게시하기 시작한 oga 파일은 일반적인 Vorbis 파일이며 실제 Opus 파일은 현재 정확하게 작동하지 않습니다. MIME 유형 및 컨테이너와 관련하여 약간의 혼동이 있었지만 갑자기 일부 oga 파일이 게시되지 않은 곳에 게시되었습니다.
— LiveWireBT
당사 사이트를 사용함과 동시에 당사의 쿠키 정책과 개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.