Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"FFmpeg failed to perform the conversion" #22

Open
CiAntRawknis opened this issue May 1, 2024 · 2 comments
Open

"FFmpeg failed to perform the conversion" #22

CiAntRawknis opened this issue May 1, 2024 · 2 comments

Comments

@CiAntRawknis
Copy link

CiAntRawknis commented May 1, 2024

Receiving the error "FFmpeg failed to perform the conversion" in the following flow

[
    {
        "id": "f16dea161ac23f4f",
        "type": "tab",
        "label": "Convert to MP3",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "c66ee61d5cecbbbc",
        "type": "ffmpeg-conversion",
        "z": "f16dea161ac23f4f",
        "name": "",
        "format": "mp3",
        "audiochannels": "mono",
        "x": 310,
        "y": 240,
        "wires": [
            [
                "a7188894d08e1c48"
            ]
        ]
    },
    {
        "id": "687680bddc3ce20d",
        "type": "file in",
        "z": "f16dea161ac23f4f",
        "name": "",
        "filename": "filename",
        "filenameType": "msg",
        "format": "",
        "chunk": false,
        "sendError": false,
        "encoding": "none",
        "allProps": false,
        "x": 360,
        "y": 160,
        "wires": [
            [
                "3ed8b6ea15d1f9a5",
                "c66ee61d5cecbbbc"
            ]
        ]
    },
    {
        "id": "3ac9a30fc2575c52",
        "type": "inject",
        "z": "f16dea161ac23f4f",
        "name": "",
        "props": [
            {
                "p": "filename",
                "v": "/home/RPuser/lenny/var/call/20240319142600_1.wav",
                "vt": "str"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 170,
        "y": 120,
        "wires": [
            [
                "687680bddc3ce20d",
                "642a13c40bef696c"
            ]
        ]
    },
    {
        "id": "642a13c40bef696c",
        "type": "debug",
        "z": "f16dea161ac23f4f",
        "name": "debug 3",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 240,
        "y": 80,
        "wires": []
    },
    {
        "id": "3ed8b6ea15d1f9a5",
        "type": "debug",
        "z": "f16dea161ac23f4f",
        "name": "debug 4",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 420,
        "y": 120,
        "wires": []
    },
    {
        "id": "a7188894d08e1c48",
        "type": "debug",
        "z": "f16dea161ac23f4f",
        "name": "debug 5",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 480,
        "y": 300,
        "wires": []
    }
]
@chughts
Copy link
Member

chughts commented May 7, 2024

Are you able to catch the node red console logs.
This probably relates to needing a bump release. I am happy to accept a pull request that has bumped the dependencies.

@CiAntRawknis
Copy link
Author

Error: ffmpeg exited with code 2
    at ChildProcess.<anonymous> (/home/RPi/.node-red/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
    at ChildProcess.emit (node:events:517:28)
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
19 May 20:26:30 - [error] [ffmpeg-conversion:c66ee61d5cecbbbc] FFmpeg failed to perform the conversion

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

No branches or pull requests

2 participants