lossless1024 / StreaMonitor

Adult live stream downloader for advanced people. I could have chosen a better name.
GNU General Public License v3.0
173 stars 42 forks source link

The process exited with an error. Return code: 1 #74

Open smacknuts opened 1 year ago

smacknuts commented 1 year ago

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?

DerBunteBall commented 1 year ago

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.

smacknuts commented 1 year ago

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>

ThEnGI commented 1 year ago

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

DerBunteBall commented 1 year ago

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.