[FFmpeg-user] FFmpeg hangs very often

Roger Pack rogerdpack2 at gmail.com
Fri Jun 19 22:43:08 CEST 2015


Does it still hang often with latest builds? What is the gdb
stacktrace when hung?

On 10/13/14, LD2K.com Litecoin Mining Pool <voipcallnet at gmail.com> wrote:
> FFmpeg hangs very often, even if i trying output to a local file output.flv
>
>  ffmpeg/ffmpeg -i http://21.12.32.23:8042/9275617894-ru-perviy-hd -preset
> fast -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 96k -vcodec
> libx264  -b:v 1900k -maxrate 2000k -bufsize 4000k -g 60 -f flv
> rtmp://wowza/live/11111
>         ffmpeg version 2.4.2-   http://johnvansickle.com/ffmpeg/
> Copyright (c) 2000-2014 the FFmpeg developers
>           built on Oct  9 2014 07:24:56 with gcc 4.8 (Debian 4.8.3-11)
>           configuration: --enable-gpl --enable-version3 --disable-shared
> --disable-debug --enable-runtime-cpudetect --enable-libmp3lame
> --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex
> --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
> --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver
> --enable-libass --enable-gnutls --cc=gcc-4.8
>           libavutil      54.  7.100 / 54.  7.100
>           libavcodec     56.  1.100 / 56.  1.100
>           libavformat    56.  4.101 / 56.  4.101
>           libavdevice    56.  0.100 / 56.  0.100
>           libavfilter     5.  1.100 /  5.  1.100
>           libswscale      3.  0.100 /  3.  0.100
>           libswresample   1.  1.100 /  1.  1.100
>           libpostproc    53.  0.100 / 53.  0.100
>         [h264 @ 0x2d9fba0] non-existing PPS 0 referenced
>             Last message repeated 1 times
>         [h264 @ 0x2d9fba0] decode_slice_header error
>         [h264 @ 0x2d9fba0] no frame!
>         [h264 @ 0x2d9fba0] non-existing PPS 0 referenced
>             Last message repeated 1 times
>         [h264 @ 0x2d9fba0] decode_slice_header error
>         [h264 @ 0x2d9fba0] no frame!
>         [h264 @ 0x2d9fba0] non-existing PPS 0 referenced
>             Last message repeated 1 times
>         [h264 @ 0x2d9fba0] decode_slice_header error
>         [h264 @ 0x2d9fba0] no frame!
>         [h264 @ 0x2d9fba0] non-existing PPS 0 referenced
>             Last message repeated 1 times
>         [h264 @ 0x2d9fba0] decode_slice_header error
>         [h264 @ 0x2d9fba0] no frame!
>         [h264 @ 0x2d9fba0] non-existing PPS 0 referenced
>             Last message repeated 1 times
>         [h264 @ 0x2d9fba0] decode_slice_header error
>         [h264 @ 0x2d9fba0] no frame!
>         [h264 @ 0x2d9fba0] non-existing PPS 0 referenced
>             Last message repeated 1 times
>         [h264 @ 0x2d9fba0] decode_slice_header error
>         [h264 @ 0x2d9fba0] no frame!
>         [h264 @ 0x2d9fba0] non-existing PPS 0 referenced
>             Last message repeated 1 times
>         [h264 @ 0x2d9fba0] decode_slice_header error
>         [h264 @ 0x2d9fba0] no frame!
>         [h264 @ 0x2d9fba0] non-existing PPS 0 referenced
>             Last message repeated 1 times
>         [h264 @ 0x2d9fba0] decode_slice_header error
>         [h264 @ 0x2d9fba0] no frame!
>         Input #0, mpegts, from '
> http://21.12.32.23:8042/9275617894-ru-perviy-hd':
>           Duration: N/A, start: 66740.830422, bitrate: 132 kb/s
>           Program 1
>             Stream #0:0[0x4a](rus): Audio: aac ([15][0][0][0] / 0x000F),
> 48000 Hz, stereo, fltp, 132 kb/s
>             Stream #0:1[0x4b]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
> yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
>         [libx264 @ 0x2dcace0] using SAR=1/1
>         [libx264 @ 0x2dcace0] using cpu capabilities: MMX2 SSE2Fast SSSE3
> SSE4.1 Cache64
>         [libx264 @ 0x2dcace0] profile High, level 4.0
>         [libx264 @ 0x2dcace0] 264 - core 142 r50 dd79a61 - H.264/MPEG-4 AVC
> codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options:
> cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1
> psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
> cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
> lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
> bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
> b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=60 keyint_min=6
> scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1 bitrate=1900
> ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=2000
> vbv_bufsize=4000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
>         Output #0, flv, to 'rtmp://wowza/live/11111':
>           Metadata:
>             encoder         : Lavf56.4.101
>             Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007),
> yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 1900 kb/s, 25 fps, 1k tbn,
> 25 tbc
>             Metadata:
>               encoder         : Lavc56.1.100 libx264
>             Stream #0:1(rus): Audio: aac ([10][0][0][0] / 0x000A), 44100
> Hz, stereo, fltp, 96 kb/s
>             Metadata:
>               encoder         : Lavc56.1.100 aac
>         Stream mapping:
>           Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
>         Stream #0:0 -> #0:1 (aac (native) -> aac (native))
>         Press [q] to stop, [?] for help
>         [mpegts @ 0x2d99aa0] PES packet size mismatchme=00:00:10.66
> bitrate=1485.6kbits/s
>         [aac @ 0x2dab320] TYPE_FIL: Input buffer exhausted before END
> element found
>         Error while decoding stream #0:0: Invalid data found when
> processing input
>         [mpegts @ 0x2d99aa0] PES packet size mismatch
>         [aac @ 0x2dab320] Number of bands (29) exceeds limit (28).
>         Error while decoding stream #0:0: Invalid data found when
> processing input
>         [h264 @ 0x3659420] corrupted macroblock 64 38
> (total_coeff=16)trate=1491.3kbits/s
>         [h264 @ 0x3659420] error while decoding MB 64 38
>         [h264 @ 0x3659420] concealing 3585 DC, 3585 AC, 3585 MV errors in I
> frame
>         [mpegts @ 0x2d99aa0] PES packet size mismatchme=00:00:30.53
> bitrate=1780.3kbits/s
>         [h264 @ 0x3531500] Cannot use next picture in error concealment
>         [h264 @ 0x3531500] concealing 3314 DC, 3314 AC, 3314 MV errors in P
> frame
>         [flv @ 0x2dcd060] Failed to update header with correct
> duration.ate=1789.2kbits/s
>         [flv @ 0x2dcd060] Failed to update header with correct filesize.
>         frame=  757 fps= 14 q=-1.0 Lsize=    7141kB time=00:00:30.70
> bitrate=1905.4kbits/s
>         video:6743kB audio:360kB subtitle:0kB other streams:0kB global
> headers:0kB muxing overhead: 0.522933%
>         [libx264 @ 0x2dcace0] frame I:18    Avg QP:27.18  size: 68232
>         [libx264 @ 0x2dcace0] frame P:413   Avg QP:30.18  size: 10996
>         [libx264 @ 0x2dcace0] frame B:326   Avg QP:30.78  size:  3482
>         [libx264 @ 0x2dcace0] consecutive B-frames: 34.3% 19.6% 15.5% 30.6%
>         [libx264 @ 0x2dcace0] mb I  I16..4: 33.4% 53.8% 12.8%
>         [libx264 @ 0x2dcace0] mb P  I16..4:  4.6%  5.8%  0.1%  P16..4:
> 33.3%  2.7%  1.6%  0.0%  0.0%    skip:51.8%
>         [libx264 @ 0x2dcace0] mb B  I16..4:  1.0%  0.4%  0.0%  B16..8:
> 14.3%  0.7%  0.0%  direct: 8.3%  skip:75.3%  L0:47.0% L1:51.2% BI: 1.8%
>         [libx264 @ 0x2dcace0] 8x8 transform intra:53.1% inter:83.3%
>         [libx264 @ 0x2dcace0] coded y,uvDC,uvAC intra: 19.8% 55.0% 7.8%
> inter: 4.0% 15.4% 0.1%
>         [libx264 @ 0x2dcace0] i16 v,h,dc,p: 46% 35%  9%  9%
>         [libx264 @ 0x2dcace0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 14% 57%
> 2%  2%  2%  2%  2%  2%
>         [libx264 @ 0x2dcace0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 25% 11%
> 5%  6%  6%  6%  6%  6%
>         [libx264 @ 0x2dcace0] i8c dc,h,v,p: 47% 23% 27%  4%
>         [libx264 @ 0x2dcace0] Weighted P-Frames: Y:1.5% UV:1.5%
>         [libx264 @ 0x2dcace0] ref P L0: 76.9% 23.1%
>         [libx264 @ 0x2dcace0] ref B L0: 82.8% 17.2%
>         [libx264 @ 0x2dcace0] ref B L1: 93.8%  6.2%
>         [libx264 @ 0x2dcace0] kb/s:1819.37
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list