2024-07-11, 02:44 PM
I have a video encoded in mpeg4 and I'm getting very weird results upon playback. On a PC via the web interface the stream auto transcodes and it plays. On Andoird via the web interface it bring up the unsupported codec message and doesn't try to transcode. on Findroid the file plays but its just a black screen with the audio in the background. Looking in the ffmpeg logs I don't see any errors and it appears to end fine.
The only link I can think of is that I have hardware acceleration on nvenc with a 1660 super and this table doesn't show mpeg4 support, however, I have unselected mpeg4 from the decoding options. Jellyfin is running v10.9.6 in a proxmox VM with the GPU using pcie passthrough. The file in question is hosted on a network share with smb, and using cifs-utils to mount the share (all my other media is stored here and they all work fine). If anyone knows any command or other logs which may help find the cause please post them.
Code:
Metadata:
encoder : libebml v1.3.0 + libmatroska v1.4.1
creation_time : 2014-01-03T17:13:46.000000Z
Duration: 00:57:34.85, start: 0.000000, bitrate: 842 kb/s
Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 512x328 [SAR 1:1 DAR 64:41], 25 fps, 25 tbr, 1k tbn (default)
Stream #0:1: Audio: mp3, 32000 Hz, stereo, fltp, 128 kb/s (default)
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> hevc (hevc_nvenc))
Stream #0:1 -> #0:1 (mp3 (mp3float) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[mpeg4 @ 0x55cbb71fe240] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b78-1.mp4' for writing
Output #0, hls, to '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b78.m3u8':
Metadata:
encoder : Lavf59.27.100
Stream #0:0: Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(bt709, progressive), 512x328 [SAR 1:1 DAR 64:41], q=2-31, 4214 kb/s, 25 fps, 12800 tbn (default)
Metadata:
encoder : Lavc59.37.100 hevc_nvenc
Side data:
cpb: bitrate max/min/avg: 4214080/0/4214080 buffer size: 8428160 vbv_delay: N/A
Stream #0:1: Audio: aac, 32000 Hz, stereo, s16, 256 kb/s (default)
Metadata:
encoder : Lavc59.37.100 libfdk_aac
frame= 1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b780.mp4' for writing
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b781.mp4' for writing
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b782.mp4' for writing
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b783.mp4' for writing
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b784.mp4' for writing
frame= 407 fps=0.0 q=15.0 size=N/A time=00:00:16.22 bitrate=N/A speed=30.5x
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b785.mp4' for writing
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b786.mp4' for writing
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b787.mp4' for writing
[q] command received. Exiting.
[hls @ 0x55cbb71f0640] Opening '/var/lib/jellyfin/transcodes/c9f9770f1fa688b1192a1a85431a8b788.mp4' for writing
frame= 636 fps=0.0 q=16.0 Lsize=N/A time=00:00:25.34 bitrate=N/A speed=31.4x
video:7818kB audio:819kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
The only link I can think of is that I have hardware acceleration on nvenc with a 1660 super and this table doesn't show mpeg4 support, however, I have unselected mpeg4 from the decoding options. Jellyfin is running v10.9.6 in a proxmox VM with the GPU using pcie passthrough. The file in question is hosted on a network share with smb, and using cifs-utils to mount the share (all my other media is stored here and they all work fine). If anyone knows any command or other logs which may help find the cause please post them.