
log.level.set(4)

file = "@FILE@"

a = source.tracks(sine(duration=10.)).audio
a_2 = source.tracks(sine(duration=10.)).audio
v = source.tracks(video.testsrc.ffmpeg(duration=10.)).video
v_2 = source.tracks(video.testsrc.ffmpeg(duration=10.)).video

s = source({audio=a, audio_2=a_2, video=v, video_2=v_2})

s = once(s)

clock.assign_new(sync="none",[s])

output.file(
  fallible=true,on_close=fun (_) -> test.pass(),
  @FORMAT@,file,s)
