FallingSnow / h265ize

A node utility utilizing ffmpeg to encode videos with the hevc codec.
MIT License
527 stars 81 forks source link

ffmpeg exited with code 1 #166

Open mikelesagitter opened 3 years ago

mikelesagitter commented 3 years ago

Hi I'm expecting this error. ffmpeg is installed and up to date but both my files are failing a .avi and a .mp4

` imac-di-michelangelo:test michelangelo$ h265ize -m medium -f mp4 -l 10000 -p -v [h265ize]: [verbose] Handling keypresses... [h265ize]: [verbose] Setting as-preset options... [h265ize]: [verbose] Folder encoding started at Thursday, April 8th 2021, 1:06:03 PM [h265ize]: Processing input.mp4...

[h265ize]: [verbose] Encoding started at Thu, 1:06 PM [h265ize]: [verbose] Getting metadata... [h265ize]: [verbose] Resolving video streams... [h265ize]: [verbose] Upconverting... [h265ize]: [verbose] Setting video bit depth... [h265ize]: [verbose] Mapping streams... [h265ize]: [alert] Audio does not have a title. Title set to "Unknown AAC LC (Stereo)". [h265ize]: [verbose] Detecting auto crop... [h265ize]: Crop Detection: 12/12 [h265ize]: [alert] Output will be cropped to 1920x1072. Originally 1920x1080 [h265ize]: [verbose] Mapping HE Audio streams... [h265ize]: [verbose] Setting ffmpeg settings... [h265ize]: [verbose] Encoding video... [h265ize]: ffmpeg exited with code 1: [h265ize]: [verbose] Finished encoding at Thu, 1:06 PM (a few seconds) [h265ize]: Processing depra.avi...

[h265ize]: [verbose] Encoding started at Thu, 1:06 PM [h265ize]: [verbose] Getting metadata... [h265ize]: [verbose] Resolving video streams... [h265ize]: [verbose] Upconverting... [h265ize]: [verbose] Setting video bit depth... [h265ize]: [verbose] Mapping streams... [h265ize]: [alert] Audio does not have a title. Title set to "Unknown MP3 (Stereo)". [h265ize]: [verbose] Detecting auto crop... [h265ize]: Crop Detection: 12/12 [h265ize]: [verbose] Mapping HE Audio streams... [h265ize]: [verbose] Setting ffmpeg settings... [h265ize]: [verbose] Encoding video... [h265ize]: ffmpeg exited with code 1: [h265ize]: [verbose] Finished encoding at Thu, 1:06 PM (a few seconds) [h265ize]: Folder encoding finished at Thursday, April 8th 2021, 1:06:05 PM

[h265ize]: [alert] The following videos (2) were not encoded:

with --debug:

` [h265ize]: Processing input.mp4...

[h265ize]: [verbose] Encoding started at Sun, 12:34 AM [h265ize]: [debug] Path: /Users/michelegiarratana/Documents/input.mp4 [h265ize]: [verbose] Getting metadata... [h265ize]: [debug] Container data:

tr1p0p commented 3 years ago

Same here.

This program is just unusable.

tr1p0p commented 3 years ago

Confirm on RPI 4 this program can't launch, have multiple error code, and seem to not properly install, even with git install

binair-io commented 2 years ago

I made some fixes on a fork while I also faced this issue. Can you give it a try? Note: code now requires a settings.json file to be created in root folder of package. Didn't really bother fixing that yet with a proper settings file. Might do so on popular demand.

--> https://github.com/binair-io/h265ize