FFMPEG: Transcoding fail if audio as too much delay at start of the movie. #1674

Closed
opened 2026-02-06 21:14:38 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Ashyni on GitHub (May 10, 2020).

When the client need audio transcoding.
FFMPEG error:
Too many packets buffered for output stream 0:0.32:22.77 bitrate=N/A speed=N/A
The other audio track doesn't have this issue, a slight timing difference between the two.
Delay relative to video : 24s 0 ms

Media Info of the file
https://pastebin.com/hGdTQvay

Server Logs
https://pastebin.com/8AnMhjKS

FFmpeg Logs
Failed Log:
https://pastebin.com/aibGDnFD

Workaround with -max_muxing_queue_size 1024 512 failed
https://pastebin.com/x9Qv4A0k

Starting later -ss 00:00:21.000 works too.

Server System (please complete the following information):

  • OS: [Docker on Linux]
  • Jellyfin Version: [10.5.5]
  • Hardware settings & device: [NVENC on GT710]
  • Reverse proxy: [Traefik]
  • Other hardware notes: [Media mounted from Google Drive]

Client System (please complete the following information):

  • OS: [Android, Windows]
  • Client: [Web/Browser]
  • Browser (if Web client): [Firefox, Chrome]
  • Client and Browser Version: [10.5.5 and 76.0]
Originally created by @Ashyni on GitHub (May 10, 2020). When the client need audio transcoding. FFMPEG error: `Too many packets buffered for output stream 0:0.32:22.77 bitrate=N/A speed=N/A` The other audio track doesn't have this issue, a slight timing difference between the two. `Delay relative to video : 24s 0 ms` **Media Info of the file** https://pastebin.com/hGdTQvay **Server Logs** https://pastebin.com/8AnMhjKS **FFmpeg Logs** Failed Log: https://pastebin.com/aibGDnFD Workaround with `-max_muxing_queue_size 1024` `512 failed` https://pastebin.com/x9Qv4A0k Starting later `-ss 00:00:21.000` works too. **Server System (please complete the following information):** - OS: [Docker on Linux] - Jellyfin Version: [10.5.5] - Hardware settings & device: [NVENC on GT710] - Reverse proxy: [Traefik] - Other hardware notes: [Media mounted from Google Drive] **Client System (please complete the following information):** - OS: [Android, Windows] - Client: [Web/Browser] - Browser (if Web client): [Firefox, Chrome] - Client and Browser Version: [10.5.5 and 76.0]
OVERLORD added the stale label 2026-02-06 21:14:38 +03:00
Author
Owner

@64br137 commented on GitHub (Jul 23, 2020):

Override this issue by adding silence to the audio stream of the MKV. When the ffmpeg try to transcode the file and the stream has some delay to start (audio stream) got this error.

@64br137 commented on GitHub (Jul 23, 2020): Override this issue by adding silence to the audio stream of the MKV. When the ffmpeg try to transcode the file and the stream has some delay to start (audio stream) got this error.
Author
Owner

@stale[bot] commented on GitHub (Nov 21, 2020):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Nov 21, 2020): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#1674