Jellyfin Forum
DLNA (as a plugin) no longer transcodes propely (Sony Bravia (2014).xml profile) - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: DLNA (as a plugin) no longer transcodes propely (Sony Bravia (2014).xml profile) (/t-dlna-as-a-plugin-no-longer-transcodes-propely-sony-bravia-2014-xml-profile)



DLNA (as a plugin) no longer transcodes propely (Sony Bravia (2014).xml profile) - seemebreakthis - 2024-07-05

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:

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.


RE: DLNA (as a plugin) no longer transcodes propely (Sony Bravia (2014).xml profile) - TheDreadPirate - 2024-07-05

You can still use custom profiles, but the path changed.

/config/plugins/DLNA_2.0.0.0/profiles/

Try putting your custom profile XML in that directory.


RE: DLNA (as a plugin) no longer transcodes propely (Sony Bravia (2014).xml profile) - seemebreakthis - 2024-07-05

The thing is, even if I create a custom profile (using exactly the same settings as before DLNA became a plugin), transcoding would still fail because of the exact same reason (video gets stripped away leaving just the audio part).