Skip to content

Commit

Permalink
fix metadata test more
Browse files Browse the repository at this point in the history
  • Loading branch information
time4tea committed Sep 8, 2024
1 parent 3b7db4c commit d479be2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ def test_ffmpeg_overlay_execute_default():
input=Path("input"),
output=Path("output"),
overlay_size=Dimension(3, 4),
execution=fake
execution=fake,
creation_time=datetime_of(1231233223.12344)
)

with ffmpeg.generate():
Expand All @@ -224,6 +225,7 @@ def test_ffmpeg_overlay_execute_default():
"-filter_complex", "[0:v][1:v]overlay", # overlay input 1 on input 0
"-vcodec", "libx264",
"-preset", "veryfast",
'-metadata', 'creation_time=2009-01-06T09:13:43.123440+00:00',
"output"
]

Expand All @@ -237,7 +239,8 @@ def test_ffmpeg_overlay_execute_options():
output="output",
options=FFMPEGOptions(input=["-input-option"], output=["-output-option"]),
overlay_size=Dimension(3, 4),
execution=fake
execution=fake,
creation_time=datetime_of(1231233223.12344)
)

with ffmpeg.generate():
Expand All @@ -257,6 +260,7 @@ def test_ffmpeg_overlay_execute_options():
"-i", "-", # input 1
"-filter_complex", "[0:v][1:v]overlay", # overlay input 1 on input 0
"-output-option", # output option goes before output
'-metadata', 'creation_time=2009-01-06T09:13:43.123440+00:00',
"output"
]

Expand Down

0 comments on commit d479be2

Please sign in to comment.