linuxserver / docker-jellyfin

GNU General Public License v3.0
607 stars 91 forks source link

[BUG] Stream is transcoded when Audio codec is MP2 #187

Closed ghost closed 1 year ago

ghost commented 1 year ago

Is there an existing issue for this?

Current Behavior

When receiving live TV stream and Audio codec is not supported Jellyfin would transcode both streams.

Expected Behavior

Only Audio should be transcoded not Video.

Steps To Reproduce

Access Live TV with Audio codec MP2

Environment

- OS: Synology

CPU architecture

x86-64

Docker creation

N/A

Container logs

Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 720x404 [SAR 101:99 DAR 20:11], 25 fps, 25 tbr, 90k tbn
  Stream #0:1[0x101](pol): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264 @ 0x55a0efde6100] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0x55a0efde6100] Missing reference picture, default is 0
[h264 @ 0x55a0efde6100] decode_slice_header error
[h264 @ 0x55a0eff255c0] reference picture missing during reorder
[h264 @ 0x55a0eff255c0] Missing reference picture, default is 65596
[h264 @ 0x55a0eff14680] mmco: unref short failure
    Last message repeated 1 times
Output #0, hls, to '/config/data/transcodes/f6391100f89091bdbc24e694d531d3d9.m3u8':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #0:0: Video: h264 (High), vaapi(tv, bt709, progressive), 720x404 [SAR 101:99 DAR 20:11], q=2-31, 139616 kb/s, 25 fps, 90k tbn
    Metadata:
      encoder         : Lavc59.37.100 h264_vaapi
  Stream #0:1: Audio: aac, 48000 Hz, stereo, s16, 384 kb/s
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

j0nnymoe commented 1 year ago

I suspect you need to report this to them directly as we use their version of ffmpeg.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity