[FFmpeg-trac] #4268(ffmpeg:new): ffmpeg exits with code for partial input file
FFmpeg
trac at avcodec.org
Fri Jan 16 16:17:56 CET 2015
#4268: ffmpeg exits with code for partial input file
--------------------------------+---------------------------------------
Reporter: herby | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+---------------------------------------
Summary of the bug:
How to reproduce:
{{{
% ffmpeg -i file:truncated.mp4 -f image2 %d.png
ffmpeg version N-50911-g9efcfbe Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 13 2013 21:26:48 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gn
utls --enable-libass --enable-libbluray --enable-libcaca --enable-
libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-
libopenco
re-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-
libspee
x --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-l
ibxavs --enable-libxvid --enable-zlib
}}}
Output contains
{{{
[mov,mp4,m4a,3gp,3g2,mj2 @ 00399700] stream 0, offset 0xc69c: partial file
app\ssv-hub\test\fixture\2-truncated.mp4: Invalid data found when
processing input
}}}
Nevertheless, exit code is 0. I presume it should not be.
I got this reply in irc channel:
{{{
[15:52] <c_14> hmm, utils.c appears to be ignoring AVERROR_INVALIDDATA
[15:52] <c_14> Not entirely sure why.
[15:53] <c_14> Make a bug report on trac mentioning it
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4268>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list