Skip to content

Error when no stdin is provided #7

@lawrencecurtis

Description

@lawrencecurtis

I wish to use this with FileFlows which is a c# app, when it executes ffmpeg it produces the following error:

2025/10/08 18:18:19 New connection from 192.168.0.1:38429
2025/10/08 18:18:19 Starting FFmpeg: /Users/lawrencecurtis/bin/ffmpeg [-hide_banner -r 12 -i /Volumes/downloads/temp/Runner-0a18d728-1fb9-468a-9c73-28c8a4d33e6e/sample_003046_encoded_quality_18.mkv -r 12 -i /Volumes/downloads/temp/Runner-0a18d728-1fb9-468a-9c73-28c8a4d33e6e/sample_003046.mkv -lavfi [0:v]format=p010le,setpts=PTS-STARTPTS,settb=AVTB[dist];[1:v]format=p010le,setpts=PTS-STARTPTS,settb=AVTB[ref];[dist][ref]libvmaf=shortest=true:ts_sync_mode=nearest:n_threads=5:model=version=vmaf_4k_v0.6.1 -f null -]
2025/10/08 18:18:19 Starting stdin handler for client 192.168.0.1:38429
2025/10/08 18:18:44 FFmpeg process completed with exit code 0
2025/10/08 18:18:44 Context canceled (context canceled), stopping stdin handler for 192.168.0.1:38429
2025/10/08 18:18:44 Error reading stdin message from 192.168.0.1:38429: error reading message type: read tcp 192.168.0.69:5050->192.168.0.1:38429: use of closed network connection
2025/10/08 18:18:44 Canceling command due to connection error: 192.168.0.1:38429
2025/10/08 18:18:44 Closed stdin for client 192.168.0.1:38429 during cleanup
2025/10/08 18:18:44 Error closing connection to 192.168.0.1:38429: close tcp 192.168.0.69:5050->192.168.0.1:38429: use of closed network connection

I suspect this is because it doesn't actually execute it in a shell and doesn't have stdin? I really hope its something you can help with

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions