Skip to content

fix(recording): recorded files now appear in Recordings list#25

Merged
keyldev merged 2 commits into
mainfrom
fix/bundle-ffmpeg-exe
Jun 20, 2026
Merged

fix(recording): recorded files now appear in Recordings list#25
keyldev merged 2 commits into
mainfrom
fix/bundle-ffmpeg-exe

Conversation

@keyldev

@keyldev keyldev commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • FfmpegRecordingSession parses ffmpeg's "Opening '' for writing" line to
    fire Started/SegmentRotated, which is what writes the Recordings DB row
  • that line is logged at AV_LOG_VERBOSE, but ffmpeg ran at -loglevel warning, so
    it was suppressed → no Started event → no DB row (file on disk, list empty)
  • bump to -loglevel verbose so segment opens are captured

Related

Type

  • Bug fix
  • Feature
  • Refactor / cleanup
  • Docs / CI
  • Other:

Checklist

  • Builds with 0 warnings (TreatWarningsAsErrors=true).
  • Tests pass (dotnet test); new Core logic has unit tests.
  • No layering violation — App references Core only (Infrastructure / Video / Devices wired via DI in a head).
  • Scope stays within one phase (didn't pull work from a later phase's "Не входит").
  • README / docs updated if public commands, options, or setup changed.

Platforms tested

  • Windows
  • Linux
  • macOS
  • Android
  • iOS
  • CI build only

Screenshots / notes

keyldev added 2 commits June 20, 2026 22:57
…d Windows

- FfmpegSubprocessRecorder + FfmpegSubprocessClipExporter shell out to
  runtimes/win-x64/native/ffmpeg.exe, but only the FFmpeg *.dll were bundled —
  so packaged win-x64 builds failed with "cannot find ffmpeg" (fell back to PATH)
- fetch-ffmpeg.ps1 now copies ffmpeg.exe from the shared build (tiny; uses the
  DLLs already shipped)
- Video.csproj ships runtimes/win-x64/native/ffmpeg.exe to the output (excluded
  from single-file, kept loose next to the exe like the DLLs)
- FfmpegRecordingSession parses ffmpeg's "Opening '<path>' for writing" line to
  fire Started/SegmentRotated, which is what writes the Recordings DB row
- that line is logged at AV_LOG_VERBOSE, but ffmpeg ran at -loglevel warning, so
  it was suppressed → no Started event → no DB row (file on disk, list empty)
- bump to -loglevel verbose so segment opens are captured
@keyldev keyldev merged commit 86f23bd into main Jun 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant