Some files not appearing to be streamed
Posted: Thu Sep 21, 2023 5:49 am
I set up UMS on a headless Ubuntu server I have, and am trying to play video using the web browser (:9001 or :9002 both exhibit this) as well as a Roku device attached to my TV. The video is a .avi file.
I think this might be the relevant part of the logs when I try to watch on my Roku:
I think this might be the relevant part of the logs when I try to watch on my Roku:
Using ffmpeg reports this:TRACE 2023-09-20 17:33:08.125 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "mp4" failed to match supported line f:m4a m:audio/x-m4a
TRACE 2023-09-20 17:33:08.125 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "mp4" failed to match supported line f:flac m:audio/x-flac
TRACE 2023-09-20 17:33:08.125 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "mp4" failed to match supported line f:mp3 m:audio/mpeg
TRACE 2023-09-20 17:33:08.125 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "mp4" failed to match supported line f:wav m:audio/wav
TRACE 2023-09-20 17:33:08.125 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "mp4" failed to match supported line f:wma m:audio/x-ms-wma
TRACE 2023-09-20 17:33:08.125 [jupnp-netty-worker 1] net.pms.formats.FormatFactory Matched format MPG to "/12tb/Movies/Wall Street.avi"
TRACE 2023-09-20 17:33:08.126 [jupnp-netty-worker 1] net.pms.database.MediaTableAudiotracks Adding audio from the database: Audio Codec: AC3, Bitrate: 448000, Channels: 6, Sample Frequency: 48000 Hz
TRACE 2023-09-20 17:33:08.126 [jupnp-netty-worker 1] net.pms.database.MediaTableVideoMetadata Searching VIDEO_METADATA with "HikariProxyPreparedStatement@602817629 wrapping prep53197: SELECT * FROM VIDEO_METADATA WHERE VIDEO_METADATA.FILEID = ? AND (VIDEO_METADATA.IMDBID IS NOT NULL OR VIDEO_METADATA.TMDBID IS NOT NULL) LIMIT 1 {1: CAST(240 AS BIGINT)}"
TRACE 2023-09-20 17:33:08.128 [jupnp-netty-worker 1] net.pms.util.SubtitleUtils Searching for external subtitles for Wall Street.avi
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.database.MediaTableThumbnails Found existing thumbnail with ID 356 in THUMBNAILS, setting the THUMBID in the FILES table
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.database.MediaTableFiles THUMBID updated to 356 for /12tb/Movies/Wall Street.avi
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.dlna.DLNAResource Adding new child "Wall Street.avi" with class "RealFile"
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.formats.FormatFactory Getting engine for resource "Wall Street.avi"
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.formats.FormatFactory Returning compatible engine "FFmpeg Video"
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "avi" failed to match supported line f:mpegts v:h264 a:aac-lc|lpcm|mp2|mp3 n:2 m:video/vnd.dlna.mpeg-tts
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "avi" failed to match supported line f:m4a m:audio/x-m4a
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "avi" failed to match supported line f:flac m:audio/x-flac
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "avi" failed to match supported line f:mp3 m:audio/mpeg
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "avi" failed to match supported line f:wav m:audio/wav
TRACE 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.configuration.FormatConfiguration Format "avi" failed to match supported line f:wma m:audio/x-ms-wma
DEBUG 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.dlna.DLNAResource File "Wall Street.avi" will not be streamed because it is not supported by the renderer Roku 4 (NSP 6-7)
DEBUG 2023-09-20 17:33:08.130 [jupnp-netty-worker 1] net.pms.dlna.DLNAResource Final verdict: "Wall Street.avi" will be transcoded with engine "FFmpeg Video" with mime type "video/avi"
which is quite strange because it opens with no problem using VLC on my Mac or Windows machine after I download it over FTP on the server. What gives? If I remember correctly this file has worked in the past when my Windows machine was the server, but that was ages ago and this hard drive is no longer in that machine to test. It's also strange to me that it's failing on both Roku AND the UMS web server, so I'm not sure if it's a profile issue? :shrug:root@ubuntu-nas:/12tb/Movies# ffmpeg 'Wall Street.avi'
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Output #0, avi, to 'Wall Street.avi':
Output file #0 does not contain any stream