Skip to content

[FFMPEG] video rendering failture #1

@nk4dev

Description

@nk4dev

When rendering mp4 video, task faild and output error message.

[dev:electron:bin] frames/output.segments.txt: Invalid argument
[dev:electron:bin] Error: "ffmpeg concat failed: exit code: 1"
[dev:electron:bin] [render] exited code=1 signal=null

but my pc ffmpef envroiment is rendering successful

my envroiment is
Windows 11
Nodejs v22.20.0 (Install with nvm)
PowerShell 7.5.4

when rendering successed command

 ffmpeg -f concat -safe 0 -i .\output.segments.txt concat-result.mp4
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-000.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-001.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-002.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-003.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-004.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-005.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-006.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-007.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-008.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-009.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-010.mp4'
file '\\?\C:\<PROJECT_ROOT>\fscript\frames\segment-011.mp4'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions