#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
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to