[BUG] premature EOF in certain combinations
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker
調査の方向性
Start by comparing the working 8.1.2-cli-ls75/ls76 and broken 9.0-cli-ls77 images, including their FFmpeg versions and Dockerfile changes. Run the provided Podman command with the listed stream combinations and inspect when output stops. Done means the 9.0 image transcodes the full input while copying PGS subtitles with trueHD audio selected.
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I'm trying to transcode audio while copying subtitles and I get EOF after the intro ends, skipping the entire rest of the video. Up until 8.1.2 this worked, but the very next release, 9.0, doesn't.
Input file has
- trueHD audio
- ac3 audio
- pgsub subtitles
Selecting just ac3 and copying subtitles works, but as soon as I use trueHD in the inputs the bug appears. Someone else seems to have a similar issue at https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/24336
I have tried and failed to reproduce it with system packages. I can run ffmpeg 9 there and everything works.
I have also tried basing off commit d2c4df5 and just updating the ffmpeg version in the dockerfile, which also didn't work though I may have done something wrong.
Expected Behavior
New versions should handle it as well.
Steps To Reproduce
Transcode a video file with truehd/DTS-HD MA audio and pgsub subtitles. My test command was
podman run --rm -it -v ./:/work lscr.io/linuxserver/ffmpeg:9.0-cli-ls77 \
-i /work/input.mkv -map 0:3 -c:a:0 libopus -b:a:0 256k -map 0:s? -c:s copy /work/test.mkv -y
with the source file looking like this
● Video --vid=1 --vlang=eng (h264 1920x1080 23.976 fps)
● Audio --aid=1 --alang=eng 'Surround 5.1' (truehd 6ch 48000 Hz) [default]
○ Audio --aid=2 --alang=eng 'Surround 5.1' (ac3 6ch 48000 Hz)
○ Audio --aid=3 --alang=jpn 'Stereo' (truehd 2ch 48000 Hz)
○ Audio --aid=4 --alang=jpn 'Stereo' (ac3 2ch 48000 Hz)
○ Subs --sid=1 --slang=eng (hdmv_pgs_subtitle)
○ Subs --sid=2 --slang=eng (hdmv_pgs_subtitle)
Environment
- OS: Gentoo/Debian
- How podman/docker service was installed: System packages
Docker creation
Working:
podman run --rm -it -v ./:/work lscr.io/linuxserver/ffmpeg:8.1.2-cli-ls75 \
-i /work/input.mkv -map 0:3 -c:a:0 libopus -b:a:0 256k -map 0:s? -c:s copy /work/test.mkv -y
podman run --rm -it -v ./:/work lscr.io/linuxserver/ffmpeg:8.1.2-cli-ls76 \
-i /work/input.mkv -map 0:3 -c:a:0 libopus -b:a:0 256k -map 0:s? -c:s copy /work/test.mkv -y
Broken:
podman run --rm -it -v ./:/work lscr.io/linuxserver/ffmpeg:9.0-cli-ls77 \
-i /work/input.mkv -map 0:3 -c:a:0 libopus -b:a:0 256k -map 0:s? -c:s copy /work/test.mkv -y
Container logs
Good:
[out#0/matroska @ 0x560255d93d80] video:0KiB audio:45161KiB subtitle:7113KiB other streams:0KiB global headers:0KiB muxing overhead: 1.009287%
size= 52802KiB time=00:23:34.22 bitrate= 305.9kbits/s speed= 137x elapsed=0:00:10.32
Bad:
[out#0/matroska @ 0x55ae26c3ad00] video:0KiB audio:2806KiB subtitle:7113KiB other streams:0KiB global headers:0KiB muxing overhead: 0.611322%
size= 9979KiB time=00:23:50.03 bitrate= 57.2kbits/s speed= 896x elapsed=0:00:01.59
- 主要言語
- Dockerfile
- スター
- 208
- フォーク
- 59
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
sugarlabs/musicblocks#8847 ·
-
bug tech-debt
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
anchapin/planar-nexus#2052 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
QwenLM/Qwen-MM-Plugins#70 ·
-
area: tools priority: p3 status: needs review type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
use-agent-os/agent-os#3162 · コメント 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
home-assistant/core#182762 · コメント 1 件 ·