2024-07-05, 05:16 AM
Before DLNA became a plugin, I was happily using it without any problem. With a custom profile, transcoding worked fine whenever needed for my videos.
Now whenever transcoding is involved, I only get audio but no video in the output .ts file. And this is the test result with no custom profiles. So even with the default .xml profile, I am seeing this problem.
From what I can see in the log files, the transcoding command now becomes this:
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -i file:"/media/<redacted>/MVI_4115.AVI" -vn -map 0:1 -map -0:s -codec:v:0 copy -mpegts_m2ts_mode 1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 1 -ab 128000 -y "/config/data/transcodes/d7f3b454a1ff155f347b75afe8193c39.ts"
From what I can understand, the transcoding job is skipping video altogether.
The log concurs:
I even tried copying the transcoded .ts file elsewhere and played that file with a player. Yes only the audio part remains.
Now whenever transcoding is involved, I only get audio but no video in the output .ts file. And this is the test result with no custom profiles. So even with the default .xml profile, I am seeing this problem.
From what I can see in the log files, the transcoding command now becomes this:
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -i file:"/media/<redacted>/MVI_4115.AVI" -vn -map 0:1 -map -0:s -codec:v:0 copy -mpegts_m2ts_mode 1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 1 -ab 128000 -y "/config/data/transcodes/d7f3b454a1ff155f347b75afe8193c39.ts"
From what I can understand, the transcoding job is skipping video altogether.
The log concurs:
Code:
ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from 'file:/media/<redacted>/MVI_4115.AVI':
Metadata:
creation_time : 2014-09-06 16:07:24
software : CanonMVI06
Duration: 00:00:23.10, start: 0.000000, bitrate: 8211 kb/s
Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 7511 kb/s, 30 fps, 30 tbr, 30 tbn
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (pcm_s16le (native) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, mpegts, to '/config/data/transcodes/d7f3b454a1ff155f347b75afe8193c39.ts':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Audio: ac3, 44100 Hz, mono, fltp, 128 kb/s
Metadata:
encoder : Lavc60.3.100 ac3
size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
size= 462kB time=00:00:23.08 bitrate= 163.9kbits/s speed=93.1x
video:0kB audio:361kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 27.850565%
I even tried copying the transcoded .ts file elsewhere and played that file with a player. Yes only the audio part remains.