[BUG] premature EOF in certain combinations
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker
- Lĩnh vực
- audio-video-rtc, devops
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Dockerfile
- Star
- 209
- Fork
- 59
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
libsdl-org/SDL_mixer#904 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MemberJunction/MJ#5164 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
vorssaint/vorssaint-utils#2757 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`MediaEncoder` 3D scaler for `Video3DFormat.HalfTopAndBottom` contains an unbalanced parenthesis (`scale=(iw*2):ih)`) — the filtergraph can never be initialisedCó thể đã có người làm @cinadr đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày