Closed cstoitner closed 4 years ago
Hi! Interesting point, but what do you propose to do in this case? When we scan Vorbis files in the replaygain plugin, we put the analysis backend into R128 mode. We can’t retroactively do this for files that have already been scanned. Maybe a naive conversion would be better than nothing?
I guess if the format can not be trivially converted, I would like to run the replaygain plugin again during the convert.
I use the convert plugin to create files for mobile devices. For a stopgap solution it would be nice to be able to run the replaygain plugin on files that are not part of the database.
Interesting! Re-running RG on the converted files seems somewhat hard to achieve—it would require some manner of interaction between the two (unrelated) plugins. Manually running the RG command on files that are not in the library is interesting too. A way to select non-library files for this kind of action will require some thoughtful design.
Alright, here is a different idea: I know which files will later get converted. The replaygain plugin could generate the data in both formats for all my flac files, write the replaygain tags to the files and store the R128 data only in the database. Then the convert plugin should write the R128 tags into the opus files when converting.
Sounds like a reasonable design at a high level! It would require some substantial complexity: we'll need an option to enable "dual" analysis (which should probably be optional because it will take twice as long) and a mechanism for storing the "inactive" data without writing it to the files—which will likely require inventing alternative names for each field. Seems complicated but doable if you want to give it a try!
Hey there, hope you had a nice weekend!
Unfortunately I don't think I have time to tackle this myself.
Workaround :
replaygain: backend: bs1770gain method: ebu r128: Opus FLAC overwrite: yes
Opusenc can convert old raplaygains tags to r128 tags BUT it will not change other tags.
The solution is to have r128 tags in FLAC files, then converted files will be ok.
Problem left : Flac files have r128 and meaningless tags...
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Problem
When converting flac files to opus, the previously generated replaygain tags get copied over to the opus files. Opus files should use R128 tags instead (see https://github.com/beetbox/beets/issues/2557).
Setup
My configuration (output of
beet config
) is: