Skip to content

Issue in adding album cover to a mp4 file #166

Closed

Description

Trying to add album cover to a song but the embedded cover is not recognizing
I tried below approach

resp, err := http.Get(coverURL)
defer resp.Body.Close()
coverData, err := io.ReadAll(resp.Body)
err = addMeta(mp4.BoxType{'c', 'o', 'v', 'r'}, coverData)

Maybe I should give JPEG format also as a parameter? please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions