Page 2 of 2

Re: Some files not appearing to be streamed

Posted: Tue Jan 02, 2024 5:38 am
by Dwebtron
Also, I want to add the relevant section of my UMS.conf file from the installation directory:

Code: Select all

# ---< Binary tools paths >---------------------------------------------------
# Path to mencoder (absolute or relative from project.binaries.dir)
# Example: /usr/bin/mencoder
# Default:
#     Win: win32/mencoder.exe
#     Mac: osx/mencoder
#     Linux: mencoder + system PATH
mencoder_path =

# Path to ffmpeg (absolute or relative from project.binaries.dir)
# Example: /usr/bin/ffmpeg
# Default:
#     Win: win32/ffmpeg.exe
#     Mac: osx/ffmpeg
#     Linux: ffmpeg + system PATH
ffmpeg_path = /opt/ums/linux/ffmpeg

# Path to mplayer (absolute or relative from project.binaries.dir)
# Example: /usr/bin/mplayer
# Default:
#     Win: win32/mplayer.exe
#     Mac: osx/mplayer
#     Linux: mplayer + system PATH
mplayer_path =

# Path to tsMuxeR (absolute or relative from project.binaries.dir)
# Example: /usr/ums/linux/tsMuxeR
# Default:
#     Win: win32/tsMuxeR.exe
#     Mac: osx/tsMuxeR
#     Linux: tsMuxeR + system PATH
tsmuxer_path =

# Path to dcraw (absolute or relative from project.binaries.dir)
# Example: /usr/bin/dcraw
# Default:
#     Win: win32/dcrawMS.exe
#     Mac: osx/dcraw
#     Linux: dcraw + system PATH
dcraw_path =
The ffmpeg at that location returns:

Code: Select all

/opt/ums/linux# ./ffmpeg
ffmpeg version N-66244-g468615f204-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      58. 13.101 / 58. 13.101
  libavcodec     60. 21.100 / 60. 21.100
  libavformat    60.  9.100 / 60.  9.100
  libavdevice    60.  2.100 / 60.  2.100
  libavfilter     9.  8.102 /  9.  8.102
  libswscale      7.  3.100 /  7.  3.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Re: Some files not appearing to be streamed

Posted: Tue Jan 02, 2024 5:17 pm
by mik_s
I think I can see what is going wrong now.

I noticed everything is going to be transcoded which is what I was expecting but it is using the MEncoder engine. I don't think MEncoder can handle HLS transcoding so could be the cause.

Looking at your UMS.conf FFmpeg has a very low priority so will never get used

Code: Select all

engines = tsMuxeRVideo,VLCVideo,tsMuxeRAudio,VLCWebVideo,VLCVideoStreaming,MEncoderWebVideo,VLCAudioStreaming,DCRaw,youtubeDl,FFmpegWebVideo,DCRaw,youtubeDl,FFmpegVideo,FFmpegAudio,MEncoderVideo
engines_priority = MEncoderVideo,tsMuxeRVideo,VLCVideo,FFmpegVideo,FFmpegAudio,tsMuxeRAudio,FFmpegWebVideo,youtubeDl,VLCWebVideo,VLCVideoStreaming,MEncoderWebVideo,VLCAudioStreaming,DCRaw
Try changing it to this

Code: Select all

engines = FFmpegVideo,AviSynthFFmpeg,MEncoderVideo,AviSynthMEncoder,tsMuxeRVideo,VLCVideo,FFmpegAudio,tsMuxeRAudio,FFmpegWebVideo,VLCWebVideo,VLCVideoStreaming,MEncoderWebVideo,VLCAudioStreaming,DCRaw,youtubeDl
engines_priority = FFmpegVideo,AviSynthFFmpeg,MEncoderVideo,AviSynthMEncoder,tsMuxeRVideo,VLCVideo,FFmpegAudio,tsMuxeRAudio,FFmpegWebVideo,youtubeDl,VLCWebVideo,VLCVideoStreaming,MEncoderWebVideo,VLCAudioStreaming,DCRaw
and see if that fixes it.