[FFmpeg-trac] #3433(ffmpeg:new): using "shortest" results in mismatched audio and video lengths

FFmpeg trac at avcodec.org
Mon Mar 3 20:29:25 CET 2014


#3433: using "shortest" results in mismatched audio and video lengths
------------------------------------+----------------------------------
             Reporter:  mjmvisser   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:  shortest    |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------

Comment (by mjmvisser):

 I tried forcing the trim filter to be added if shortest=1, and finding &
 updating it at the same time of->recording_time is set in
 close_output_stream. No good, this has no effect because filter
 initialization is done before close_output_stream is called and
 libavfilter doesn't allow filters to be re-initialized.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3433#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list