[FFmpeg-user] ffmpeg streaming error

Remo Rayamajhi kshatriya.remo at gmail.com
Fri Sep 21 14:29:42 EEST 2018


Hello I m trying to use ffmpeg to stream udp input  into rtmp out with
lib264 codec and acc codec . i m getting these error

ffmpeg -timeout 2000 -y -i 'udp://@
239.1.20.1:8002?fifo_size=1000000\&overrun_nonfatal' -c:a aac -strict
experimental -b:a 64000 -ar 44100 -ac 2 -ab 128k -s 640x360 -vcodec libx264
-pix_fmt yuv420p -vb 900k -profile:v main -r 25  -f  flv 'rtmp://
admin:admin at 192.168.2.200:1935/live/wtvDDBihar.stream'
ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
  configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro '
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libvo-amrwbenc --enable-version3 --enable-bzlib
--disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass
--enable-libcdio --enable-libdc1394 --disable-indev=jack
--enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264
--enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter
--enable-avresample --enable-postproc --enable-pthreads --disable-static
--enable-shared --enable-gpl --disable-debug --disable-stripping
--shlibdir=/usr/lib64 --enable-runtime-cpudetect
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[mp3 @ 0x1bcafc0] Header missing
[mp3 @ 0x1bca420] Header missing
[mpeg2video @ 0x1bc9880] Invalid frame dimensions 0x0.
    Last message repeated 12 times
[mpegts @ 0x1bb4e00] PES packet size mismatch
    Last message repeated 2 times
Input #0, mpegts, from 'udp://@
239.1.20.1:8002?fifo_size=1000000\&overrun_nonfatal':
  Duration: N/A, start: 9697.701489, bitrate: 3384 kb/s
  Program 100
    Metadata:
      service_name    : DD BIHAR
      service_provider:
    Stream #0:0[0x67]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv), 704x576 [SAR 12:11 DAR 4:3], 3000 kb/s, 25 fps, 25 tbr, 90k
tbn, 50 tbc
    Stream #0:1[0x68](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
stereo, s16p, 128 kb/s
    Stream #0:2[0x69](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
stereo, s16p, 256 kb/s
[rtmp @ 0x1bcb500] Ignoring unsupported var reason
[libx264 @ 0x1bf7e40] using SAR=3/4
[libx264 @ 0x1bf7e40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x1bf7e40] profile Main, level 3.0
[libx264 @ 0x1bf7e40] 264 - core 142 r2495 6a301b6 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1
ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=-2 threads=48 lookahead_threads=2
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=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=900 ratetol=1.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'rtmp://
admin:admin at 192.168.2.200:1935/live/wtvDDBihar.stream':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p,
640x360 [SAR 3:4 DAR 4:3], q=-1--1, 900 kb/s, 25 fps, 1k tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 libx264
    Stream #0:1(eng): Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz,
stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc56.60.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[mp2 @ 0x1be3180] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 8 DC, 8 AC, 8 MV errors in P frame
[mpeg2video @ 0x1dd80a0] ac-tex damaged at 37 32
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in P frame
[mpeg2video @ 0x1dd80a0] ac-tex damaged at 2 18
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in P frame
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 25 DC, 25 AC, 25 MV errors in P frame
[mpeg2video @ 0x1dd80a0] invalid cbp -1 at 31 9
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 44 DC, 44 AC, 44 MV errors in P frame
[mpeg2video @ 0x1dd80a0] mb incr damaged
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 132 DC, 132 AC, 132 MV errors in B frame
[mpeg2video @ 0x1dd80a0] mb incr damaged
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in B frame
[mpeg2video @ 0x1dd80a0] 00 motion_type at 26 12
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 44 DC, 44 AC, 44 MV errors in B frame
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 69 DC, 69 AC, 69 MV errors in P frame
[mpeg2video @ 0x1dd80a0] 00 motion_type at 43 16
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in P frame
[aac @ 0x1bfab40] Queue input is backward in time
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 0 DC, 0 AC, 0 MV errors in P frame
[mpeg2video @ 0x1dd80a0] ac-tex damaged at 14 1900:00:04.69 bitrate=
117.8kbits/s
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 45 DC, 45 AC, 45 MV errors in I frame
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 2 DC, 2 AC, 2 MV errors in I frame
[mpeg2video @ 0x1dd80a0] slice mismatch
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 102 DC, 102 AC, 102 MV errors in P frame
[mpeg2video @ 0x1dd80a0] 00 motion_type at 14 9=00:00:06.10 bitrate=
335.0kbits/s
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 44 DC, 44 AC, 44 MV errors in P frame
[mpeg2video @ 0x1dd80a0] 00 motion_type at 6 20
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in B frame
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 13 DC, 13 AC, 13 MV errors in P frame
[mpeg2video @ 0x1dd80a0] mb incr damaged
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 44 DC, 44 AC, 44 MV errors in P frame
[mpeg2video @ 0x1dd80a0] ac-tex damaged at 25 1500:00:06.68 bitrate=
357.7kbits/s
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 44 DC, 44 AC, 44 MV errors in I frame
[mpeg2video @ 0x1dd80a0] 00 motion_type at 41 12
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in P frame
[mpeg2video @ 0x1dd80a0] invalid mb type in P Frame at 14 21bitrate=
460.2kbits/s
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 44 DC, 44 AC, 44 MV errors in P frame
[mpeg2video @ 0x1dd80a0] Warning MVs not available:00:07.68 bitrate=
517.5kbits/s
[mpeg2video @ 0x1dd80a0] concealing 4 DC, 4 AC, 4 MV errors in I frame
[mpeg2video @ 0x1dd80a0] slice mismatch6kB time=00:00:08.22 bitrate=
573.5kbits/s
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 44 DC, 44 AC, 44 MV errors in B frame
[mpeg2video @ 0x1dd80a0] ac-tex damaged at 42 2900:00:08.75 bitrate=
627.8kbits/s
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in I frame
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 33 DC, 33 AC, 33 MV errors in P frame
[mpeg2video @ 0x1dd80a0] 00 motion_type at 39 15
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in P frame
[mpeg2video @ 0x1dd80a0] Warning MVs not available:00:09.33 bitrate=
669.8kbits/s
[mpeg2video @ 0x1dd80a0] concealing 42 DC, 42 AC, 42 MV errors in B frame
[mpeg2video @ 0x1dd80a0] ac-tex damaged at 42 9
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 44 DC, 44 AC, 44 MV errors in P frame
[mpeg2video @ 0x1dd80a0] Warning MVs not available:00:09.84 bitrate=
655.5kbits/s
[mpeg2video @ 0x1dd80a0] concealing 20 DC, 20 AC, 20 MV errors in P frame
[mpeg2video @ 0x1dd80a0] skipped MB in I frame at 23 330.89 bitrate=
636.2kbits/s
[mpeg2video @ 0x1dd80a0] skipped MB in I frame at 21 31
[mpeg2video @ 0x1dd80a0] Warning MVs not available
[mpeg2video @ 0x1dd80a0] concealing 88 DC, 88 AC, 88 MV errors in I frame
[mp2 @ 0x1be3180] Header missing     943kB time=00:00:11.47 bitrate=
673.6kbits/s
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x1bfab40] Queue input is backward in time0:00:11.98 bitrate=
665.0kbits/s


More information about the ffmpeg-user mailing list