[FFmpeg-trac] #6602(undetermined:new): Can't set or remove encoder metadata
FFmpeg
trac at avcodec.org
Sun Apr 5 23:54:21 EEST 2020
#6602: Can't set or remove encoder metadata
-------------------------------------+-------------------------------------
Reporter: Psychonaut | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mkver):
av_dict_set() with a NULL parameter as value (like in the else branch of
the code snippet I quoted above) deletes a tag of the name specified. In
other words: It filters the libavcodec's encoder tag out. The metadata
that you see comes from a stage before filtering it out. Write the output
to an actual file and you'll see that it (normally) doesn't have this
encoder tag.
(Some muxers also add something like this on their own. For e.g. Matroska
this happens in lines 1842-1844 of matroskaenc.c.)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6602#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list