[FFmpeg-trac] #4268(ffmpeg:new): ffmpeg exits with zero exit code for partial input file

FFmpeg trac at avcodec.org
Sat May 30 06:21:28 CEST 2015


#4268: ffmpeg exits with zero exit code for partial input file
-------------------------------------+----------------------------------
             Reporter:  herby        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------

Comment (by anacrolix):

 I have this when passing a http input.

 ffmpeg -i http://some/thing ...

 If the source URI terminates prematurely, such as by me shutting down the
 server that provides it, I get this:

 [mpeg4 @ 0x2bbbd20] illegal MB_type 4757kB time=00:01:09.46 bitrate=
 561.0kbits/s dup=1 drop=0
 [mpeg4 @ 0x2bbbd20] Error at MB: 67
 [mpeg4 @ 0x2bbbd20] concealing 1376 DC, 1376 AC, 1376 MV errors in B frame
 [mp4 @ 0x2617380] Starting second pass: moving the moov atom to the
 beginning of the file

 $ echo $?
 0

 Interesting that the second pass moov_faststart still occurs, maybe that
 contributes.

 Here's the redacted arguments:

 "ffmpeg" "-hide_banner" "-i" "http://some/path" "-vf"
 "scale='trunc(oh*a/2)*2:min(ih\\,480)'" "-profile:v" "baseline" "-level"
 "3.0" "-preset" "veryfast" "-movflags" "+faststart" "-maxrate" "170KB"
 "-bufsize" "340KB" "-y" "f2b7ba5104c1059a2c3bf7c7563d964f.mp4"

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4268#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list