#394 closed defect (fixed)
[au @ 003BD320] Invalid negative data size '-1' found, Invalid data found when processing input
Reported by: | David Aaron | Owned by: | Michael Niedermayer |
---|---|---|---|
Priority: | important | Component: | avformat |
Version: | unspecified | Keywords: | sunau http regression |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
command line:
ffmpeg32.exe -re -analyzeduration 0 -async 1 -f au -i http://localhost:53514/output.au -loop_input -r 10 -f image2 -i http://localhost:53514/test.jpg -qscale 3 -r 10 -vcodec mpeg4 -acodec ac3 -ac 1 -ab 192k -sample_fmt flt -y C:\Users\admin\AppData\Local\Temp\camrecord3503637130818688231.avi
ERROR VERSION:
ffmpeg version N-31774-g6c4e9ca, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 6 2011 22:22:11 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 11. 1 / 51. 11. 1
libavcodec 53. 9. 1 / 53. 9. 1
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 28. 0 / 2. 28. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[au @ 003BD320] Invalid negative data size '-1' found
http://localhost:53482/output.au: Invalid data found when processing input
WORKING VERSION:
FFmpeg version git-N-28799-gf354396, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 2 2011 21:57:21 with gcc 4.5.2
configuration: --enable-gpl --enable-version3 --enable-memalign-hack --arch=i686 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --extra-cflags=-I/home/kyle/software/ffmpeg/external-libs/32-bit/include --extra-ldflags=-L/home/kyle/software/ffmpeg/external-libs/32-bit/lib --pkg-config=pkg-config
libavutil 50. 40. 0 / 50. 40. 0
libavcodec 52.117. 0 / 52.117. 0
libavformat 52.104. 0 / 52.104. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 13. 0 / 0. 13. 0
[au @ 01978340] max_analyze_duration reached
[au @ 01978340] Estimating duration from bitrate, this may be inaccurate
Input #0, au, from 'http://localhost:53486/output.au':
Duration: N/A, bitrate: N/A
Stream #0.0: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
[image2 @ 0197D2E0] max_analyze_duration reached
Input #1, image2, from 'http://localhost:53486/test.jpg':
Duration: 00:00:00.10, start: 0.000000, bitrate: N/A
Stream #1.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], 10 tbr, 10 tbn, 10 tbc
Incompatible pixel format 'yuvj420p' for codec 'mpeg4', auto-selecting format 'yuv420p'
[buffer @ 027833B0] w:640 h:480 pixfmt:yuvj420p
[ffsink @ 02783480] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 026FAD30] w:640 h:480 fmt:yuvj420p -> w:640 h:480 fmt:yuv420p flags:0xa0000004
[ac3 @ 027AFAF0] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
Output #0, avi, to 'C:\Users\bobjob\AppData\Local\Temp\camrecord8785425677480629297.avi':
Metadata:
ISFT : Lavf52.104.0
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 10 tbn, 10 tbc
Stream #0.1: Audio: ac3, 44100 Hz, mono, flt, 192 kb/s
Stream mapping:
Press [q] to stop encoding
Change History (4)
comment:1 by , 13 years ago
Status: | new → open |
---|
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Component: | FFmpeg → avformat |
---|---|
Keywords: | regression added; loop_input invalid data size -1 removed |
Priority: | normal → important |
Resolution: | → fixed |
Status: | open → closed |
This should be fixed in current git head, please re-open if it still does not work for you.
comment:4 by , 12 years ago
Keywords: | sunau added; sun au removed |
---|
The demuxer current aborts if the .au data size is set to "unknown".
Sent patch to ffmpeg-devel.