Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Too may packets buffered on OS X

Discussions about problems encountered using ffmpeg.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

Too may packets buffered on OS X

Postby JeremyLaurenson » Thu Apr 06, 2017 6:01 pm

I am using ffmpeg to convert various musif cile formats to mp3, and I am getting a
Too many packets buffered for output stream 0:1.
error:

Code: Select all
jeremylaurenson$ ./ffmpeg -i "/Users/jeremylaurenson/Music/DAP/iTunes Media/AC-DC/Back in Black/01 Hells Bells.m4a" -acodec libmp3lame -ab 256k  "/Volumes/X3/Ac-Dc/Back In Black/01 Hells Bells.mp3"
ffmpeg version N-85102-g4db2bfa-tessus Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --disable-ffplay --disable-indev=qtkit
  libavutil      55. 59.100 / 55. 59.100
  libavcodec     57. 90.100 / 57. 90.100
  libavformat    57. 72.100 / 57. 72.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 83.100 /  6. 83.100
  libswscale      4.  7.100 /  4.  7.100
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd49d800000] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/jeremylaurenson/Music/DAP/iTunes Media/AC-DC/Back in Black/01 Hells Bells.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2016-12-10T14:50:53.000000Z
    iTunNORM        :  000019CF 000019CF 00004085 00004085 00000000 00000000 00000000 00000000 00000000 00000000
    iTunSMPB        :  00000000 00000000 00000880 0000000000D23780 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    album_artist    : AC-DC
    track           : 1
    artist          : AC-DC
    album           : Back in Black
    title           : Hells Bells
    encoder         : Max 0.9.1
    comment         : Adjusted by iVolume 11/18/2016 10:09:48
                    :
    grouping        : <Condensed>
  Duration: 00:05:12.40, start: 0.000000, bitrate: 979 kb/s
    Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 977 kb/s (default)
    Metadata:
      creation_time   : 2016-12-10T14:50:53.000000Z
    Stream #0:1: Video: png, rgb24(pc), 512x512 [SAR 2835:2835 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
File '/Volumes/X3/Ac-Dc/Back In Black/01 Hells Bells.mp3' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:1 -> #0:0 (png (native) -> png (native))
  Stream #0:0 -> #0:1 (alac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Too many packets buffered for output stream 0:1.
[libmp3lame @ 0x7fd49d00ea00] 3 frames left in the queue on closing
Conversion failed!


if I just add -map 0:0 it ignore the image, but here Im not sure how I know for sure stream 0 is audio.... and I need the image album art in there

Any pointers?
JeremyLaurenson
 
Posts: 3
Joined: Thu Apr 06, 2017 5:58 pm

Re: Too may packets buffered on OS X

Postby mulvya » Thu Apr 06, 2017 6:54 pm

Try with

Code: Select all
ffmpeg -i "/Users/jeremylaurenson/Music/DAP/iTunes Media/AC-DC/Back in Black/01 Hells Bells.m4a" -acodec libmp3lame -ab 256k -vsync 0   "/Volumes/X3/Ac-Dc/Back In Black/01 Hells Bells.mp3
mulvya
 
Posts: 570
Joined: Mon Oct 26, 2015 6:58 am

Re: Too may packets buffered on OS X

Postby JeremyLaurenson » Fri Apr 07, 2017 2:14 pm

Same deal
Code: Select all
Stream mapping:
  Stream #0:1 -> #0:0 (png (native) -> png (native))
  Stream #0:0 -> #0:1 (alac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Too many packets buffered for output stream 0:1.
[libmp3lame @ 0x7fe84d80be00] 3 frames left in the queue on closing
Conversion failed!
JeremyLaurenson
 
Posts: 3
Joined: Thu Apr 06, 2017 5:58 pm

Re: Too may packets buffered on OS X

Postby mulvya » Fri Apr 07, 2017 3:54 pm

Code: Select all
ffmpeg -i "/Users/jeremylaurenson/Music/DAP/iTunes Media/AC-DC/Back in Black/01 Hells Bells.m4a" -acodec libmp3lame -ab 256k -c:v copy   "/Volumes/X3/Ac-Dc/Back In Black/01 Hells Bells.mp3
mulvya
 
Posts: 570
Joined: Mon Oct 26, 2015 6:58 am

Re: Too may packets buffered on OS X

Postby JeremyLaurenson » Fri Apr 07, 2017 9:44 pm

I think that did it!
JeremyLaurenson
 
Posts: 3
Joined: Thu Apr 06, 2017 5:58 pm


Return to ffmpeg

Who is online

Users browsing this forum: No registered users and 3 guests