Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

FFMPEG Code error 1 (Is this dead ? Any alternative ?) #177

Open
Shishiaha opened this issue May 10, 2022 · 3 comments
Open

FFMPEG Code error 1 (Is this dead ? Any alternative ?) #177

Shishiaha opened this issue May 10, 2022 · 3 comments

Comments

@Shishiaha
Copy link

Shishiaha commented May 10, 2022

Hello !

First of all, thanks a lot for this tool. I wish i could use it.

It's not working like a lot before me wrote in different issues. I get code error 1 everytime i try to convert something :

[h265ize]: [debug] Error: ffmpeg exited with code 1:
at ChildProcess. (C:\Users****\AppData\Roaming\npm\node_modules\h265ize\node_modules\fluent-ffmpeg\lib\processor.js:182:22)
at ChildProcess.emit (node:events:527:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

Not sure how to resolve this.

Anyway it seems this git is dead, has anyone any alternative ? It looked so nice !

I tried to install from a fork but did not work on my windows, just threw a bunch of errors.

Thanks !

Edit : It seems this issue comes only if srt are in original file. If i remux without any SRT or subtitles, it works, it also seems to come from the metadata option added after mapping the track in ffmpeg. What could be the issue ?

Edit 2 : In h265ize i just commented the line about subtitle DISPOSITION metadata. And it works now. Will maybe miss something but it wasn't working anyway. It seems it just has to do with the typo, i will try to make it work.

Edit 3 : Made some changes, added a nocrop argument, fixed HE-audio not being on the right bitrate if downsampled, fixed error 1 in my case, it's working great now, thanks a lot ! I still need to remux after reencode to update metadata in mediainfo, should look into this.

@Kazz3r24
Copy link

Kazz3r24 commented May 27, 2022

This project unfortunately seems dead now. No real updates in a few years. Using ffmpeg 4.2.4 on Ubuntu 20 I get the same error as you, with ffmpeg 3.4.8 on Ubuntu 18 it works fine. I'll try your edit with the disposition metadata to see if I can get mine working as well. I have 2 servers, it works on one and not the other.

I've been looking for ages for either a fix or an alternative. This fork may still be being actively worked on.
https://github.com/binair-io/h265ize

@Kazz3r24
Copy link

I just tried this out from another issue post on this repo, it worked for me just now. If installed via npm

sudo npm uninstall h265ize --global
git clone https://github.com/FallingSnow/h265ize
cd h265ize
sudo npm install --global

@optio50
Copy link

optio50 commented Jul 29, 2022

Maybe https://github.com/cdgriffith/FastFlix will work for you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants