> On Sep 7, 2022, at 5:04 PM, James Board via ffmpeg-user 
> <ffmpeg-user@ffmpeg.org> wrote:
> 
> I'm trying to re-encode an MKV file that I originally created with makemkv 
> from the original BluRay disc.  My ffmpeg command is:
>     ffmpeg-4.1.2-amd64-static/ffmpeg -y -i 
> Twin_Peaks-_A_Limited_Event_Series_-_Disc_2_t01.mkv -c:a copy -c:v libx264  
> -preset slow -crf 20 
> Twin_Peaks-_A_Limited_Event_Series_-_Disc_2_t01_RECODE.mkv
> 
> The error is
>     Too many packets buffered for output stream 0:1.
>     Conversion failed!
> 
> I just want to re-encode these files to save disk space.  Does anyone know 
> how I can resolve the above error?  The full error message is below.
> Thanks
> 

Here’s a blind-leading-the-blind answer, hopefully you find it useful.

You’re specifying libx264, but keeping .mkv as container. Is that what you 
want? I ran this and it seemed to work, but I also have a later version of 
ffmpeg, perhaps (“.mp4" specified for output):

ffmpeg -y -i Twin_Peaks-_A_Limited_Event_Series_-_Disc_2_t01.mkv -c:a copy -c:v 
libx264  -preset slow -crf 20 
Twin_Peaks-_A_Limited_Event_Series_-_Disc_2_t01_RECODE.mp4

To change the output bit rate, I added "-b:v 2000k” (which does affect quality, 
of course):

ffmpeg -y -i Twin_Peaks-_A_Limited_Event_Series_-_Disc_2_t01.mkv -c:a copy -c:v 
libx264 -b:v 2000k -preset slow -crf 20 
Twin_Peaks-_A_Limited_Event_Series_-_Disc_2_t01_RECODE.mp4

L. Lee

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to