#11231: "-filter_complex" instrumented error: unexpected video delay
-------------------------------------+-------------------------------------
             Reporter:  degradox     |                    Owner:  (none)
                 Type:  task         |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
  filter_complex                     |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by degradox):

 Adding `asetpts`, video ends about 6 seconds before audio, log is `dup=115
 drop=837`, so something is happening:

 {{{
 % ffmpeg -y \
   -i input_good.mp4 \
   -filter_complex "\
     [0:v]scale=1920:1080:force_original_aspect_ratio=decrease,setpts=PTS-
 STARTPTS [scaled_main]; \
     color=c=black@0:s=1280x720:d=10000 [blank_overlay]; \
     [blank_overlay]format=gray [mask_trim]; \
     [blank_overlay][mask_trim]alphamerge [overlay_stream]; \
     [scaled_main][overlay_stream]overlay=x=main_w-overlay_w-0:y=main_h-
 overlay_h-0:eof_action=pass:shortest=0 [outv]; \
     [0:a]asetpts=PTS-STARTPTS [outa]" \
   -map "[outv]" -map "[outa]" \
   -c:v libx264 -profile:v high -level:v 4.2 -pix_fmt yuv420p -r 60 -b:v
 600k -preset fast \
   -c:a aac -b:a 80k -ar 48000 -ac 2 -fps_mode cfr -nostdin
 output_desynced_asetpts.mp4
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11231#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to