Opened 10 years ago

Closed 9 years ago

#4019 closed defect (wontfix)

[warning][spam] Multiple frames in a packet from stream

Reported by: Andrey Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: aac mov
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Version N-66742-gf6777ce win32 shared

convert from aac to mp3

source encoder problem? Not ffmpeg?

input file:
https://drive.google.com/file/d/0Bw4aUkFXvXqXY21FcUpFRE9NOUk/view?usp=sharing

4000 "Multiple frames in a packet from stream" supressed.

ffmpeg started on 2014-10-10 at 00:22:00
Report written to "ffmpeg-20141010-002200.log"
Command line:
"..
bin
ffmpeg" -report -loglevel 99 -i 1.3gpp -y -vn -ar 44100 -codec:a libmp3lame -qscale:a 1 1.mp3
ffmpeg version N-66742-gf6777ce Copyright (c) 2000-2014 the FFmpeg developers

built on Oct 8 2014 22:05:56 with gcc 4.9.1 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 54. 10.100 / 54. 10.100
libavcodec 56. 4.101 / 56. 4.101
libavformat 56. 9.100 / 56. 9.100
libavdevice 56. 1.100 / 56. 1.100
libavfilter 5. 1.103 / 5. 1.103
libswscale 3. 1.100 / 3. 1.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 1.100 / 53. 1.100

Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument '1.3gpp'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-vn' ... matched as option 'vn' (disable video) with argument '1'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'.
Reading option '-codec:a' ... matched as option 'codec' (codec name) with argument 'libmp3lame'.
Reading option '-qscale:a' ... matched as option 'qscale' (use fixed quality scale (VBR)) with argument '1'.
Reading option '1.mp3' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option loglevel (set logging level) with argument 99.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file 1.3gpp.
Successfully parsed a group of options.
Opening an input file: 1.3gpp.
[mov,mp4,m4a,3gp,3g2,mj2 @ 00636520] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00636520] ISO: File Type Major Brand: 3gp4
[mov,mp4,m4a,3gp,3g2,mj2 @ 00636520] Before avformat_find_stream_info() pos: 519193 bytes read:105099 seeks:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00636520] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 00636520] After avformat_find_stream_info() pos: 114 bytes read:137867 seeks:2 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.3gpp':

Metadata:

major_brand : 3gp4
minor_version : 0
compatible_brands: isom3gp4
creation_time : 2014-04-16 09:05:35

Duration: 00:04:52.52, start: 0.000000, bitrate: 14 kb/s

Stream #0:0(eng), 1, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 12 kb/s (default)
Metadata:

creation_time : 2014-04-16 09:05:35
handler_name : SoundHandle

Successfully opened the file.
Parsing a group of options: output file 1.mp3.
Applying option vn (disable video) with argument 1.
Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
Applying option codec:a (codec name) with argument libmp3lame.
Applying option qscale:a (use fixed quality scale (VBR)) with argument 1.
Successfully parsed a group of options.
Opening an output file: 1.mp3.
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 006304e0] Setting 'time_base' to value '1/44100'
[graph 0 input from stream 0:0 @ 006304e0] Setting 'sample_rate' to value '44100'
[graph 0 input from stream 0:0 @ 006304e0] Setting 'sample_fmt' to value 'fltp'
[graph 0 input from stream 0:0 @ 006304e0] Setting 'channel_layout' to value '0x4'
[graph 0 input from stream 0:0 @ 006304e0] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x4
[audio format for output stream 0:0 @ 00630940] Setting 'sample_fmts' to value 's32p|fltp|s16p'
[audio format for output stream 0:0 @ 00630940] Setting 'sample_rates' to value '44100'
[audio format for output stream 0:0 @ 00630940] Setting 'channel_layouts' to value '0x4|0x3'
[AVFilterGraph @ 00698f60] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
Output #0, mp3, to '1.mp3':

Metadata:

major_brand : 3gp4
minor_version : 0
compatible_brands: isom3gp4
TSSE : Lavf56.9.100
Stream #0:0(eng), 0, 1/44100: Audio: mp3 (libmp3lame), 44100 Hz, mono, fltp (default)
Metadata:

creation_time : 2014-04-16 09:05:35
handler_name : SoundHandle
encoder : Lavc56.4.101 libmp3lame

Stream mapping:

Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))

Press [q] to stop, ? for help
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
...

size= 1379kB time=00:04:06.74 bitrate= 45.8kbits/s
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0

...

Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
size= 1632kB time=00:04:51.65 bitrate= 45.8kbits/s
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
Multiple frames in a packet from stream 0
[output stream 0:0 @ 00630740] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
[libmp3lame @ 006470a0] Trying to remove 943 more samples than there are in the queue
size= 1637kB time=00:04:52.53 bitrate= 45.8kbits/s

video:0kB audio:1637kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.019034%
Input file #0 (1.3gpp):

Input stream #0:0 (audio): 8382 packets read (446830 bytes); 12598 frames decoded (12900352 samples);
Total: 8382 packets (446830 bytes) demuxed

Output file #0 (1.mp3):

Output stream #0:0 (audio): 11199 frames encoded (12900352 samples); 11200 packets muxed (1675910 bytes);
Total: 11200 packets (1675910 bytes) muxed

12598 frames successfully decoded, 0 decoding errors
[AVIOContext @ 006474c0] Statistics: 1 seeks, 11202 writeouts
[AVIOContext @ 00636b20] Statistics: 563851 bytes read, 2 seeks

Attachments (1)

1.3gpp (507.0 KB ) - added by Andrey 10 years ago.
input file

Download all attachments as: .zip

Change History (2)

by Andrey, 10 years ago

Attachment: 1.3gpp added

input file

comment:1 by Carl Eugen Hoyos, 9 years ago

Keywords: aac mov added
Reproduced by developer: set
Resolution: wontfix
Status: newclosed
Type: enhancementdefect
Version: unspecifiedgit-master

Afaict if you specify -loglevel 99 you request to be spammed with debug messages.
The following command line shows the warning once:

$ ffmpeg -i 1.3gp -f null -

If you specify a sufficiently high loglevel, the message is shown for every input packet that produces more than one frame.

Note: See TracTickets for help on using tickets.