Closed liJie-wk closed 1 year ago
invoke mpv with --force-window=yes
when opening your music file, assuming the lyrics are embedded in a format mpv understands and they have timestamps, it'll be rendered
assuming the lyrics are embedded in a format mpv understands
I know that mpv supports external lrc
files, but based on https://github.com/mpv-player/mpv/issues/1404 neither mpv nor ffmpeg support support lyrics embedded in id3 tag (SYLT
)? Apparently some apps also just shove LRC text into USLT
tag.
So I guess unless someone wants to add support to ffmpeg to parse the SYLT
text and treat it as a sub track, then the easiest option is probably creating an mpv plugin which will do the parsing and overlay for you. Probably could even just shell out to some other parser like eyeD3
instead of trying to implement an id3 parser in lua/js.
assuming the lyrics are embedded in a format mpv understands
I know that mpv supports external
lrc
files, but based on #1404 neither mpv nor ffmpeg support support lyrics embedded in id3 tag (SYLT
)? Apparently some apps also just shove LRC text intoUSLT
tag.So I guess unless someone wants to add support to ffmpeg to parse the
SYLT
text and treat it as a sub track, then the easiest option is probably creating an mpv plugin which will do the parsing and overlay for you. Probably could even just shell out to some other parser likeeyeD3
instead of trying to implement an id3 parser in lua/js.
I see, thanks for the answer, this issue I don't know if to close or continue to keep open
Question was answered so I'll close this. If a particular format is not understood, that would be a separate issue.
I want to be able to display the embedded lyrics as subtitles when playing music files