[FFmpeg-trac] #4833(avformat:new): Long metadata truncated
FFmpeg
trac at avcodec.org
Wed Sep 23 04:04:47 CEST 2015
#4833: Long metadata truncated
--------------------------------------+------------------------------------
Reporter: vance003 | Owner:
Type: enhancement | Status: new
Priority: wish | Component: avformat
Version: git-master | Resolution:
Keywords: mov metadata | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Comment (by vance003):
Hmmm, since this wasn't seen as a mission critical concern by the powers-
that-be, I did a little more digging. It appears that this defect is not
limited to Quicktime files --- other sound files generated by ffmpeg also
seem to allow metadata up to around 1024 characters, regardless of the
format's specs. If one wishes to change this limit, up or down, it is
necessary to edit ffmetadec.c in the libavformat subdirectory of the
source code. Change line 131 (which reads, "uint8_t line[1024];" [without
quotes]) by editing "1024" to whatever limit you desire. Recompile, and it
appears you are good to go. Now I'll admit I know exceedingly little about
coding in c / c++, so I am again dependent upon the coding mavens here to
reveal whether such an adjustment will be likely to produce any untoward
consequences.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4833#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list