Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Dynamic Time Warping & Synchronizace videí

Dynamic Time Warping & Synchronizace videí

Ostravské Pyvo, 2015-06-04

Petr Viktorin

June 04, 2015
Tweet

More Decks by Petr Viktorin

Other Decks in Programming

Transcript

  1. pyvo | video | pyv | o vide | o

    pyv | o video | pyvo | vide | o
  2. pyvo | video | pyv | o vide | o

    pyv | o video | pyvo | vide | o py | vo video | py | vo vide | o pyv | o vide | o py | vo vide | o py | vo vid | eo pyv | o vid | eo pyv | o vid | eo py | vo vide | o pyvo | vid | eo
  3. pyvo | video | pyv | o vide | o

    pyv | o video | pyvo | vide | o py | vo video | py | vo vide | o pyv | o vide | o py | vo vide | o py | vo vid | eo pyv | o vid | eo pyv | o vid | eo py | vo vide | o pyvo | vid | eo pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video pyvo video
  4. v i d e o p y v o pyvo

    | video | pyv | o video |
  5. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o
  6. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o
  7. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video
  8. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo
  9. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo
  10. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0
  11. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1
  12. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2
  13. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3
  14. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4
  15. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5
  16. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video
  17. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video
  18. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1
  19. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2
  20. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3
  21. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4
  22. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo
  23. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2
  24. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3
  25. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4
  26. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5
  27. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6
  28. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3
  29. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4
  30. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5
  31. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6
  32. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7
  33. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo
  34. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2
  35. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3
  36. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4
  37. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5
  38. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6
  39. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3
  40. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4
  41. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5
  42. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6
  43. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  44. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  45. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  46. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  47. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  48. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  49. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  50. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  51. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  52. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  53. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  54. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  55. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  56. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  57. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  58. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  59. v i d e o p y v o pyvo

    | video | pyv | o video | pyv | o vide | o pyvo | vide | o | pyvo | video | pyvo v | ideo 0 1 2 3 4 5 p | yvo | video py | vo | video 1 2 3 4 p | yvo v | ideo 2 3 4 5 6 3 4 5 6 7 pyv | o v | ideo 2 3 4 5 6 3 4 5 6 5
  60. $ ffmpeg -filter_complex [bd] anullsink ; color=color=00000000:duration=186.68:rate=50:size=1920x1081 [bb] ; movie=filename=in1.png:streams=dv

    [bc] ; [bb][bc] overlay=repeatlast=1 [ay] ; [ay][az] overlay=repeatlast=0 [ax] ; [ax] setpts=expr=N/FRAME_RATE/TB [out0] ; color=color=00000000:duration=173.68:rate=50:size=1920x1080 [av] ; movie=filename=in2.png:streams=dv [aw] ; [av][aw] overlay=repeatlast=1 [au] ; [au] fade=alpha=1:color=00000000:duration=0.5:start_time=173.18:type=out [ag] ; movie=filename=in3.ogv:streams=dv+da [at][bd] ; [at] fps=fps=30 [as] ; [as] format=pix_fmts=rgba|yuva420p|yuva422p|yuva444p [ar] ; [ar] setpts=expr=PTS-STARTPTS [aq] ; [aq] scale=h=1080:w=1440 [ap] ; [ap] setsar=sar=1 [ao] ; [ao] pad=color=00000000:h=1080:w=1920:x=0:y=0 [an] ; [an] fps=fps=25 [am] ; [am] fade=alpha=1:color=00000000:duration=0.5:start_time=179.233333:type=out [al] ; [al] trim=start=5.24506890629 [ak] ; [ak] setpts=expr=PTS-STARTPTS [aj] ; [aj] trim=end=173.68 [ai] ; [ai] setpts=expr=PTS-STARTPTS [ah] ; [ag][ah] overlay=repeatlast=0 [w] ; [af] fps=fps=30 [ae] ; [ae] format=pix_fmts=rgba|yuva420p|yuva422p|yuva444p [ad] ; [ad] setpts=expr=PTS-STARTPTS [ac] ; [ac] scale=h=271:w=481 [ab] ; [ab] setsar=sar=1 [aa] ; [aa] pad=color=00000000:h=1080:w=1920:x=1438:y=809 [z] ; [z] fps=fps=25 [y] ; [y] fade=alpha=1:color=00000000:duration=0.5:start_time=173.18:type=out [x] ; [w][x] overlay=repeatlast=0 [b] ; movie=filename=in4.MTS:streams=dv+da [af][v] ; [v] asetpts=expr=PTS-STARTPTS [c] ; color=color=00000000:duration=6:rate=50:size=1921x1081 [t] ; movie=filename=in5.png:streams=dv [u] ; [t][u] overlay=repeatlast=1 [s] ; [s] fade=alpha=1:color=00000000:duration=0.5:start_time=0:type=in [r] ; [r] fade=alpha=1:color=00000000:duration=0.5:start_time=5.5:type=out [d] ; aevalsrc=duration=6:exprs=0 [e] ; color=color=00000000:duration=7:rate=50:size=1921x1081 [p] ; movie=filename=in6.png:streams=dv [q] ; [p][q] overlay=repeatlast=1 [i] ; color=color=00000000:duration=7:rate=50:size=528x528 [n] ; movie=filename=in7.png:streams=dv [o] ; [n][o] overlay=repeatlast=1 [m] ; [m] scale=h=528:w=528 [l] ; [l] setsar=sar=1 [k] ; [k] pad=color=00000000:h=1080:w=1920:x=697:y=439 [j] ; [i][j] overlay=repeatlast=0 [h] ; [h] fade=alpha=1:color=00000000:duration=0.5:start_time=0:type=in [f] ; aevalsrc=duration=7:exprs=0 [g] ; [b][c][d][e][f][g] concat=a=1:n=3:v=1 [az][a] ; [a] asetpts=expr=N/SR/TB [out1] -f mp4 -c:v libx264 -c:a aac -crf 30 -maxrate 5000k -strict -2 -map [out0] -map [out1] outfile.mp4
  61. $ ffmpeg -filter_complex [bd] anullsink ; color=color=00000000:duration=186.68:rate=50:size=1920x1081 [bb] ; movie=filename=in1.png:streams=dv

    [bc] ; [bb][bc] overlay=repeatlast=1 [ay] ; [ay][az] overlay=repeatlast=0 [ax] ; [ax] setpts=expr=N/FRAME_RATE/TB [out0] ; color=color=00000000:duration=173.68:rate=50:size=1920x1080 [av] ; movie=filename=in2.png:streams=dv [aw] ; [av][aw] overlay=repeatlast=1 [au] ; [au] fade=alpha=1:color=00000000:duration=0.5:start_time=173.18:type=out [ag] ; movie=filename=in3.ogv:streams=dv+da [at][bd] ; [at] fps=fps=30 [as] ; [as] format=pix_fmts=rgba|yuva420p|yuva422p|yuva444p [ar] ; [ar] setpts=expr=PTS-STARTPTS [aq] ; [aq] scale=h=1080:w=1440 [ap] ; [ap] setsar=sar=1 [ao] ; [ao] pad=color=00000000:h=1080:w=1920:x=0:y=0 [an] ; [an] fps=fps=25 [am] ; [am] fade=alpha=1:color=00000000:duration=0.5:start_time=179.233333:type=out [al] ; [al] trim=start=5.24506890629 [ak] ; [ak] setpts=expr=PTS-STARTPTS [aj] ; [aj] trim=end=173.68 [ai] ; [ai] setpts=expr=PTS-STARTPTS [ah] ; [ag][ah] overlay=repeatlast=0 [w] ; [af] fps=fps=30 [ae] ; [ae] format=pix_fmts=rgba|yuva420p|yuva422p|yuva444p [ad] ; [ad] setpts=expr=PTS-STARTPTS [ac] ; [ac] scale=h=271:w=481 [ab] ; [ab] setsar=sar=1 [aa] ; [aa] pad=color=00000000:h=1080:w=1920:x=1438:y=809 [z] ; [z] fps=fps=25 [y] ; [y] fade=alpha=1:color=00000000:duration=0.5:start_time=173.18:type=out [x] ; [w][x] overlay=repeatlast=0 [b] ; movie=filename=in4.MTS:streams=dv+da [af][v] ; [v] asetpts=expr=PTS-STARTPTS [c] ; color=color=00000000:duration=6:rate=50:size=1921x1081 [t] ; movie=filename=in5.png:streams=dv [u] ; [t][u] overlay=repeatlast=1 [s] ; [s] fade=alpha=1:color=00000000:duration=0.5:start_time=0:type=in [r] ; [r] fade=alpha=1:color=00000000:duration=0.5:start_time=5.5:type=out [d] ; aevalsrc=duration=6:exprs=0 [e] ; color=color=00000000:duration=7:rate=50:size=1921x1081 [p] ; movie=filename=in6.png:streams=dv [q] ; [p][q] overlay=repeatlast=1 [i] ; color=color=00000000:duration=7:rate=50:size=528x528 [n] ; movie=filename=in7.png:streams=dv [o] ; [n][o] overlay=repeatlast=1 [m] ; [m] scale=h=528:w=528 [l] ; [l] setsar=sar=1 [k] ; [k] pad=color=00000000:h=1080:w=1920:x=697:y=439 [j] ; [i][j] overlay=repeatlast=0 [h] ; [h] fade=alpha=1:color=00000000:duration=0.5:start_time=0:type=in [f] ; aevalsrc=duration=7:exprs=0 [g] ; [b][c][d][e][f][g] concat=a=1:n=3:v=1 [az][a] ; [a] asetpts=expr=N/SR/TB [out1] -f mp4 -c:v libx264 -c:a aac -crf 30 -maxrate 5000k -strict -2 -map [out0] -map [out1] outfile.mp4
  62. $ ffmpeg -filter_complex [bd] anullsink ; color=color=00000000:duration=186.68:rate=50:size=1920x1081 [bb] ; movie=filename=in1.png:streams=dv

    [bc] ; [bb][bc] overlay=repeatlast=1 [ay] ; [ay][az] overlay=repeatlast=0 [ax] ; [ax] setpts=expr=N/FRAME_RATE/TB [out0] ; color=color=00000000:duration=173.68:rate=50:size=1920x1080 [av] ; movie=filename=in2.png:streams=dv [aw] ; [av][aw] overlay=repeatlast=1 [au] ; [au] fade=alpha=1:color=00000000:duration=0.5:start_time=173.18:type=out [ag] ; movie=filename=in3.ogv:streams=dv+da [at][bd] ; [at] fps=fps=30 [as] ; [as] format=pix_fmts=rgba|yuva420p|yuva422p|yuva444p [ar] ; [ar] setpts=expr=PTS-STARTPTS [aq] ; [aq] scale=h=1080:w=1440 [ap] ; [ap] setsar=sar=1 [ao] ; [ao] pad=color=00000000:h=1080:w=1920:x=0:y=0 [an] ; [an] fps=fps=25 [am] ; [am] fade=alpha=1:color=00000000:duration=0.5:start_time=179.233333:type=out [al] ; [al] trim=start=5.24506890629 [ak] ; [ak] setpts=expr=PTS-STARTPTS [aj] ; [aj] trim=end=173.68 [ai] ; [ai] setpts=expr=PTS-STARTPTS [ah] ; [ag][ah] overlay=repeatlast=0 [w] ; [af] fps=fps=30 [ae] ; [ae] format=pix_fmts=rgba|yuva420p|yuva422p|yuva444p [ad] ; [ad] setpts=expr=PTS-STARTPTS [ac] ; [ac] scale=h=271:w=481 [ab] ; [ab] setsar=sar=1 [aa] ; [aa] pad=color=00000000:h=1080:w=1920:x=1438:y=809 [z] ; [z] fps=fps=25 [y] ; [y] fade=alpha=1:color=00000000:duration=0.5:start_time=173.18:type=out [x] ; [w][x] overlay=repeatlast=0 [b] ; movie=filename=in4.MTS:streams=dv+da [af][v] ; [v] asetpts=expr=PTS-STARTPTS [c] ; color=color=00000000:duration=6:rate=50:size=1921x1081 [t] ; movie=filename=in5.png:streams=dv [u] ; [t][u] overlay=repeatlast=1 [s] ; [s] fade=alpha=1:color=00000000:duration=0.5:start_time=0:type=in [r] ; [r] fade=alpha=1:color=00000000:duration=0.5:start_time=5.5:type=out [d] ; aevalsrc=duration=6:exprs=0 [e] ; color=color=00000000:duration=7:rate=50:size=1921x1081 [p] ; movie=filename=in6.png:streams=dv [q] ; [p][q] overlay=repeatlast=1 [i] ; color=color=00000000:duration=7:rate=50:size=528x528 [n] ; movie=filename=in7.png:streams=dv [o] ; [n][o] overlay=repeatlast=1 [m] ; [m] scale=h=528:w=528 [l] ; [l] setsar=sar=1 [k] ; [k] pad=color=00000000:h=1080:w=1920:x=697:y=439 [j] ; [i][j] overlay=repeatlast=0 [h] ; [h] fade=alpha=1:color=00000000:duration=0.5:start_time=0:type=in [f] ; aevalsrc=duration=7:exprs=0 [g] ; [b][c][d][e][f][g] concat=a=1:n=3:v=1 [az][a] ; [a] asetpts=expr=N/SR/TB [out1] -f mp4 -c:v libx264 -c:a aac -crf 30 -maxrate 5000k -strict -2 -map [out0] -map [out1] outfile.mp4