bytedeco/javacv

Editing Metadata for existing videos

Open

#817 opened on Oct 21, 2017

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, apologies if this has been asked before but I couldn't find any info about this, as the title suggests, I'm trying to edit metadata for existing videos (MKV container, H264) I was under the impression that I can use FFmpegFrameRecorder object to open and edit metadata of any videos, yet this doesn't seem to work for me.

Here's the sample code:

FFmpegFrameRecorder recorder = new FFmpegFrameRecorder("absolute-path-to-video", 0, 0, 0); recorder.setVideoMetadata("ARTIST", "ARTIST_TEST");

I was wondering if someone can give me some insights of why this doesn't working.

Thanks in advance!

Contributor guide