mt <[email protected]> added the comment:
Maybe this fixes the problem?
At least the wrong DefaultDuration is not written to the MKV with stream
copy and mediainfo no longer reports the 1000 fps on the video track.
--- matroskaenc.c 2010-11-23 09:24:41.000000000 +0100
+++ matroskaenc.c 2010-12-20 12:29:38.000000000 +0100
@@ -580,6 +580,7 @@
switch (codec->codec_type) {
case AVMEDIA_TYPE_VIDEO:
put_ebml_uint(pb, MATROSKA_ID_TRACKTYPE,
MATROSKA_TRACK_TYPE_VIDEO);
+ if(!st->stream_copy)
put_ebml_uint(pb, MATROSKA_ID_TRACKDEFAULTDURATION,
av_q2d(codec->time_base)*1E9);
if (!native_id &&
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2411>
________________________________________________