Open odemiral opened 6 years ago
No, that's not supported, but we could add that feature pretty easily. Contributions are welcome!
I could give a hand with that, I’m guessing we can edit metadata by getting AVFormatContext and editing its AVDictionary variable that holds metadata data?
My question is do you think it would be possible to edit metadata without encoding the whole video using FFMPEG?
Yes, it should work by copying the whole stream: https://github.com/bytedeco/javacv/blob/master/samples/PacketRecorderTest.java But there's apparently a problem with that right now, see issue #818. It would be great if you could take a look at this with @alicanalbayrak.
record must start and stop after setVideoMetaData
Any update on this issue? Is it possible to copy streams without re-encoding?
AFAIK, there was never any need to reencode.
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:
I was wondering if someone can give me some insights of why this doesn't working.
Thanks in advance!