SenexCrenshaw / StreamMaster

MIT License
232 stars 24 forks source link

Bug: ffmpeg launched with different arguments than those specified in custom profile #263

Open Aladex opened 2 days ago

Aladex commented 2 days ago

Describe the Bug
The Stream Master UI displays that ffmpeg is being launched with the parameters specified in the custom profile. However, when inspecting the running container, the ffmpeg process is started with different arguments than what is shown in the UI.

Stream Master Info

Unfortunately, I do not have direct logs, but I’ve attached screenshots showing the discrepancy between the UI and the actual process arguments.

Screenshot_20241025_162120

Steps to Reproduce:

  1. Run the StreamMaster instance using the Docker image senexcrenshaw/streammaster:channels-0.15.0.60.
  2. Configure a custom ffmpeg profile in the UI.
  3. Start a stream.
  4. Enter the container and check the ffmpeg process with ps aux | grep ffmpeg.
  5. Observe that the running ffmpeg process does not match the parameters defined in the UI profile.

Expected Behavior
ffmpeg should launch with the parameters defined in the custom profile set in the UI.

Additional Context
It appears the custom profile isn't correctly applied to the running ffmpeg process, causing a mismatch.

Aladex commented 1 day ago

An important clarification: if you select the profile not in the stream group but in the m3u file and its settings, it applies correctly, and ffmpeg runs with the correct parameters.