[FFmpeg-trac] #1138(undetermined:open): Unable to chop mkv

FFmpeg trac at avcodec.org
Fri Apr 6 16:24:25 CEST 2012

#1138: Unable to chop mkv
             Reporter:  carlrosmann  |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
  av_interleaved_write_frame         |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |

Comment (by eelco):

 We ran into the same problem. It seems that the DTS is calculated from the
 input stream (not from the packet) but doesn't take into account the
 initial seek.

 We created the following fix:
 (also attached)

 It works for our use case and also seems to work for the file attached to
 this ticket, but since we're new to FFmpeg development, we're not sure if
 it's 100% correct.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1138#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list