Got it all setup and going, using the docker version on ubuntu 24.04. Start off and it was working great, ran two consecutive streams as a test. then it errored no cuda device detected. Has happened before, seems random. Any insight appreciated.
7/1/2025 9:18:31 AM -05:00 Information Starting ts stream for channel 100
7/1/2025 9:18:31 AM -05:00 Warning Unable to locate session worker for channel 100; will redirect to start session
7/1/2025 9:18:27 AM -05:00 Error HLS process for channel 100 has terminated unsuccessfully with exit code 187: [AVHWDeviceContext @ 0x58fa7158ff40] cu->cuInit(0) failed -> CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
7/1/2025 2:43:33 AM -05:00 Information Starting HLS session for channel 100
ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers
built with gcc 13 (Ubuntu 13.3.0-6ubuntu224.04)
configuration: --ld=clang++ --disable-debug --disable-doc --disable-ffplay --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-ffprobe --enable-fontconfig --enable-gpl --enable-libaom --enable-libdav1d --enable-libass --enable-libfdk_aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libplacebo --enable-libshaderc --enable-libsrt --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-nonfree --enable-nvdec --enable-nvenc --enable-opencl --enable-openssl --enable-small --enable-stripping --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --extra-libs=-ldl --extra-libs=-lpthread
libavutil 59. 39.100 / 59. 39.100
libavcodec 61. 19.101 / 61. 19.101
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100
Input #0, lavfi, from 'nullsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: wrapped_avframe, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
[h264_nvenc @ 0x6396fbdb67c0] [ GPU #0 - < NVIDIA GeForce GTX 1660 > has Compute SM 7.5 ]
[vost#0:0/h264_nvenc @ 0x6396fbdd5c00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x6396fbdf0e80] Error sending frames to consumers: Immediate exit requested
[vf#0:0 @ 0x6396fbdf0e80] Task finished with error code: -1414092869 (Immediate exit requested)
[vf#0:0 @ 0x6396fbdf0e80] Terminating thread with return code -1414092869 (Immediate exit requested)
[vost#0:0/h264_nvenc @ 0x6396fbdd5c00] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 0x6396fbdd5c00] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 0x6396fbdd5c00] Terminating thread with return code -22 (Invalid argument)
[out#0/null @ 0x6396fbdd54c0] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
{
"Version": "25.2.0-docker",
"Environment": {
"ETV_CONFIG_FOLDER": "/config",
"ETV_DISABLE_VULKAN": "1",
"ETV_TRANSCODE_FOLDER": "/transcode"
},
"Health": [],
"FFmpegSettings": {
"FFmpegPath": "/usr/local/bin/ffmpeg",
"FFprobePath": "/usr/local/bin/ffprobe",
"DefaultFFmpegProfileId": 1,
"PreferredAudioLanguageCode": "eng",
"UseEmbeddedSubtitles": true,
"ExtractEmbeddedSubtitles": false,
"SaveReports": false,
"HlsSegmenterIdleTimeout": 60,
"WorkAheadSegmenterLimit": 1,
"InitialSegmentCount": 1,
"HlsDirectOutputFormat": "MpegTs"
},
"Channels": [
{
"Id": 1,
"UniqueId": "ace71b0c-6d7b-4432-91be-9ead04b0bb23",
"Number": "1",
"Name": "Home Movies",
"Group": "ErsatzTV",
"FFmpegProfileId": 1,
"StreamingMode": "TransportStreamHybrid",
"SubtitleMode": "None",
"MusicVideoCreditsMode": "None",
"SongVideoMode": "Default",
"ProgressMode": "Always",
"WebEncodedName": "Home\u002BMovies"
},
{
"Id": 2,
"UniqueId": "72d1902e-0cf4-4c09-8b86-0e78aa3c8d25",
"Number": "100",
"Name": "90\u0027s Commercials",
"Group": "ErsatzTV",
"FFmpegProfileId": 1,
"StreamingMode": "TransportStreamHybrid",
"SubtitleMode": "None",
"MusicVideoCreditsMode": "None",
"SongVideoMode": "Default",
"ProgressMode": "Always",
"WebEncodedName": "90%27s\u002BCommercials"
}
],
"FFmpegProfiles": [
{
"Id": 1,
"Name": "1920x1080 x264 ac3",
"ThreadCount": 0,
"HardwareAcceleration": "Nvenc",
"VaapiDisplay": "drm",
"VaapiDriver": "Default",
"QsvExtraHardwareFrames": 64,
"ResolutionId": 3,
"Resolution": {
"Id": 3,
"Name": "1920x1080",
"IsCustom": false,
"Height": 1080,
"Width": 1920
},
"ScalingBehavior": "ScaleAndPad",
"VideoFormat": "H264",
"VideoProfile": "high",
"VideoPreset": "",
"AllowBFrames": false,
"BitDepth": "EightBit",
"VideoBitrate": 2000,
"VideoBufferSize": 4000,
"TonemapAlgorithm": "Linear",
"AudioFormat": "Aac",
"AudioBitrate": 192,
"AudioBufferSize": 384,
"NormalizeLoudnessMode": "Off",
"AudioChannels": 2,
"AudioSampleRate": 48,
"NormalizeFramerate": false,
"DeinterlaceVideo": true
}
]
}