Darkness4 / fc2-live-dl-go

Automatically download FC2 livestream. Fast and light.
MIT License
11 stars 0 forks source link

Add e2e simple test #48

Closed Darkness4 closed 2 months ago

Darkness4 commented 3 months ago

This will be the building step for future e2e tests + profiling targets.

Use ffmpeg to stream a fixed video to FC2.

  1. Launch the watcher.
  2. Run ffmpeg to stream to fc2.
  3. After the video ends, do assertions:
    • Is the file readable?
    • Somewhat try to do a image correlation of the X frame of the downloaded video with the frames of original video and check highest percentage.
Darkness4 commented 2 months ago

Closed with: cdf20c969a0fae14b1fc9bae65a3b82945e28378