-
Notifications
You must be signed in to change notification settings - Fork 81
FFmpeg Convert Error Too many packets buffered for output stream 0:1. #130
Comments
Are you guys using the latest version of ffmpeg? What does |
@FallingSnow when I wrote the patch a few months back I was using the latest ffmpeg available in arch repos at that time. For reference: #91 (comment) I haven't tried h265ize without my patch since then. If it's been fixed in upstream ffmpeg, I wouldn't know. |
My first preliminary search lead to results that this bug had been fixed long ago. Please ensure your ffmpeg versions are up to date. |
ffmpeg version 4.1.3-0ubuntu1 Copyright (c) 2000-2019 the FFmpeg developers |
I have a similar issue. I am not sure if the root cause is related, but the error message was very similar, so I will put it in here for reference. I originally noticed the issue today with ffmpeg 4.1, but just to be safe, I grabbed zeranoe's static win-x64 build for 4.2.
(Note: the pasted stdout stuff below is still from 4.1, but I have verified that they are essentially equal when running with 4.2). I was trying to h265ize a timelapse recording from my GoPro Hero7. In my case, the problem seems to be revolving around data streams that GoPro has injected.
For the sake of completeness, here is what ffprobe has to say about the source file:
However, I was able to work around this issue by first just running ffmpeg myself with a simple This is probably a weird edge case that might not even be h265ize's fault, stemming from either the mp4 container or the data streams that ffmpeg is not very pleased about. I personally assume it is the latter, but I have not done extensive trials. In that case, it might be worthwhile to add cli options to whitelist/blacklist certain streams? |
Got the same issue fixed by setting -max_muxing_queue_size 1024 after file name |
I just simply convert one file to other and i got error from ffmpeg "Too many packets buffered for output stream 0:1."
here is the command i use.
-y -i /storage/emulated/0/videos/video6.mp4 -preset ultrafast -strict -2 -c:v libx264 -c:a aac -pix_fmt yuv420p /storage/emulated/0/DCIM/VideoEditorVideo/video6.mp4
i am able to convert other file with same command only for some video i got error.
Please help to resolve this.
The text was updated successfully, but these errors were encountered: