StreaMonitor icon indicating copy to clipboard operation
StreaMonitor copied to clipboard

The process exited with an error. Return code: 1

Open smacknuts opened this issue 2 years ago • 4 comments

I think I have everything setup properly with this. However when I start the Downloader I get the following back

2023-04-28 12:18:27,116 - ERROR - [CS] melissa-williams: The process exited with an error. Return code: 1

It creates the directory for that particular model but does not create a video file. I have tried this with CS and CB models and I get the same thing. If I run "Status" the models in the table say "Error on Downloading".

Has anyone run into this issue before?

smacknuts avatar Apr 28 '23 16:04 smacknuts

This happens when ffmpeg fails in some way.

Look at downloaders/ffmpeg.py at line 66-68.

This could e.g. happen when ffmpeg is self build and has a missing feature, permission issues, network issues which happen to ffmpeg.

Set DEBUG to True in parameters.py and check if you get logs which show you something.

DerBunteBall avatar Apr 28 '23 16:04 DerBunteBall

This is the contents of the log file.

ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04) configuration: --disable-debug --disable-doc --enable-shared --enable-pthreads --enable-hwaccels --enable-hardcoded-tables --enable-nonfree --disable-static --enable-shared --enable-gpl --enable-libx264 --> libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled. https://edge2-ord.livemediahost.com/cam_obs/melissa-williams-flu_v1/tracks-v4a2/mono.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsIm1hYyI6IjI3ZjgzYmU> Did you mean file:https://edge2-ord.livemediahost.com/cam_obs/melissa-williams-flu_v1/tracks-v4a2/mono.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsI>

smacknuts avatar Apr 28 '23 16:04 smacknuts

Recompile FFmpeg with openssl, gnutls or securetransport enabled You need to add --enable-openssl to ./configure = ./configure --enable-openssl Make sure that you have these packages installed: build-essential, openssl, libssl-dev

ThEnGI avatar Apr 28 '23 16:04 ThEnGI

Your ffmpeg has no TLS support:

https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.

Make sure you have a working binary and then it should work. Actual builds can be found at the project pager or in the distri repo. For self-compilation check compilation options it will be something like --enable-openssl. Make sure to have a libs available.

DerBunteBall avatar Apr 28 '23 16:04 DerBunteBall