Skip to content

Fix audio not saving in save video node (from fix left on issue)#3174

Merged
joeyballentine merged 1 commit intomainfrom
fix-video-audio
Oct 22, 2025
Merged

Fix audio not saving in save video node (from fix left on issue)#3174
joeyballentine merged 1 commit intomainfrom
fix-video-audio

Conversation

@joeyballentine
Copy link
Member

I tested this and it appears to work. Fixes #1774

Thanks @gwynnPalmer and @pokepress

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where audio was not being properly saved when using the save video node. The fix reorganizes the audio processing logic, adds better error handling, and corrects the order of video and audio streams in the ffmpeg output command.

Key Changes:

  • Corrected the order of video and audio streams passed to ffmpeg.output() (video first, then audio)
  • Added validation to check if the video file exists before attempting audio processing
  • Improved error handling with specific exception catching and cleanup logic

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@joeyballentine joeyballentine merged commit 05aeb31 into main Oct 22, 2025
14 checks passed
@joeyballentine joeyballentine deleted the fix-video-audio branch October 22, 2025 05:56
joeyballentine added a commit that referenced this pull request Oct 23, 2025
…andling (#3140)

* Initial plan

* Add boolean output to regex find node for match detection

Co-authored-by: joeyballentine <34788790+joeyballentine@users.noreply.github.com>

* Update regex find node description to document new Found output

Co-authored-by: joeyballentine <34788790+joeyballentine@users.noreply.github.com>

* Update backend/src/packages/chaiNNer_standard/utility/text/regex_find.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix audio not saving in save video node (from fix left on issue) (#3174)

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joeyballentine <34788790+joeyballentine@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

Video frame iterator fails to copy audio

2 participants