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

Unhandled event DECKLINK #4

Open
sfahadshahzad opened this issue Nov 11, 2023 · 2 comments
Open

Unhandled event DECKLINK #4

sfahadshahzad opened this issue Nov 11, 2023 · 2 comments

Comments

@sfahadshahzad
Copy link

Hi,

I am trying to encode video from Decklink SDI input into MPEGTS and getting errors.

Spawning Encode index: 0
FFmpeg is starting
FFmpeg Spawn [
'/bin/sh',
'-c',
'/usr/bin/ffmpeg -hide_banner -re -f decklink -i DeckLinkQuad (1) -channels 16 -queue_size 1073741824 -vfyadif_videotoolbox -c:v hevc_nvenc -preset llhq -b:v 5000k -cbr true -zerolatency true -pix_fmt yuv420p -c:a -acodec libopus -b:a 256k -f mpegts udp://127.0.0.1:1234?pkt_size=1316'
]
Encoder Local Exited : 2
Encoder index : 0 Have been closed with code : 2 Signal : null
Stopping Encoder Index : 0
events.js:291
throw er; // Unhandled 'error' event
^
Regards,

Fahad

@olzzon
Copy link
Owner

olzzon commented Nov 11, 2023

You can always try to run the command locally by copying the command. Removing the "-hide_banner" could give you hints.

/usr/bin/ffmpeg -hide_banner -re -f decklink -i DeckLinkQuad (1) -channels 16 -queue_size 1073741824 -vfyadif_videotoolbox -c:v hevc_nvenc -preset llhq -b:v 5000k -cbr true -zerolatency true -pix_fmt yuv420p -c:a -acodec libopus -b:a 256k -f mpegts udp://127.0.0.1:1234?pkt_size=1316

Looks like some spaces is missing here: -vf yadif.... etc

Issue is related to the local ffmpeg part (which has a bit lower priority at the moment)
The way it's handled (until all parsing of args is moved to the backend) is by splitting at spaces.

So this will be fixed in the next version.

@olzzon
Copy link
Owner

olzzon commented Nov 24, 2023

https://github.com/olzzon/live-factory/releases/tag/v0.9.2

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