ffmpeg -y -f mpegts -i rtp://@239.2.2.22:5530 -threads 0 -acodec libfdk_aac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline -vlevel 1.3 -x264opts fps=25:keyint=100:bitrate=200 -s 320x240 -f mpegts udp://224.10.2.3:5004?pkt_size=1316 [h264 @ 0x29eb420] non-existing PPS referenced [h264 @ 0x29eb420] non-existing PPS 0 referenced [h264 @ 0x29eb420] decode_slice_header error [h264 @ 0x29eb420] no frame! [h264 @ 0x29eb420] non-existing PPS referenced [h264 @ 0x29eb420] non-existing PPS 0 referenced [h264 @ 0x29eb420] decode_slice_header error [h264 @ 0x29eb420] no frame! [h264 @ 0x29eb420] non-existing PPS referenced [h264 @ 0x29eb420] non-existing PPS 0 referenced [h264 @ 0x29eb420] decode_slice_header error [h264 @ 0x29eb420] no frame! [h264 @ 0x29eb420] mmco: unref short failure Last message repeated 1 times [h264 @ 0x29eb420] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one Input #0, mpegts, from 'rtp://@239.2.2.22:5530': Duration: N/A, start: 70660.816500, bitrate: 128 kb/s Program 1 Stream #0:0[0x15f5]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 720x576 [SAR 12:11 DAR 15:11], 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x15f6](mac): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s [libx264 @ 0x2a71aa0] using SAR=45/44 [libx264 @ 0x2a71aa0] MB rate (15000) > level limit (11880) [libx264 @ 0x2a71aa0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x2a71aa0] profile Constrained Baseline, level 1.3 Output #0, mpegts, to 'udp://224.10.2.3:5004?pkt_size=1316': Metadata: encoder : Lavf55.26.100 Stream #0:0: Video: h264 (libx264), yuv420p, 320x240 [SAR 45:44 DAR 15:11], q=-1--1, 200 kb/s, 90k tbn, 50 tbc Stream #0:1(mac): Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (mp2 -> libfdk_aac) Press [q] to stop, [?] for help [h264 @ 0x3423ca0] Reference 3 >= 2 [h264 @ 0x3423ca0] error while decoding MB 20 8, bytestream (5861) [h264 @ 0x3468e20] Reference 5 >= 2 [h264 @ 0x3468e20] error while decoding MB 19 19, bytestream (628) [h264 @ 0x34d7840] Reference 3 >= 2 [h264 @ 0x34d7840] error while decoding MB 2 10, bytestream (1337) [h264 @ 0x3546280] Reference 2 >= 2 [h264 @ 0x3546280] error while decoding MB 15 15, bytestream (1614) [h264 @ 0x35b4cc0] Reference 4 >= 2 [h264 @ 0x35b4cc0] error while decoding MB 29 12, bytestream (1128) [h264 @ 0x3623700] Reference 2 >= 2 [h264 @ 0x3623700] error while decoding MB 20 5, bytestream (1439) [h264 @ 0x3692140] reference picture missing during reorder [h264 @ 0x3692140] Missing reference picture, default is 65292 [h264 @ 0x3692140] left block unavailable for requested intra mode at 0 8 [h264 @ 0x3692140] error while decoding MB 0 8, bytestream (9817) [h264 @ 0x3700b80] reference picture missing during reorder [h264 @ 0x3700b80] Missing reference picture, default is 65293 [h264 @ 0x3700b80] Reference 2 >= 2 [h264 @ 0x3700b80] error while decoding MB 2 17, bytestream (1477) [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x35b4cc0] cabac decode of qscale diff failed at 27 26 [h264 @ 0x35b4cc0] error while decoding MB 27 26, bytestream (568) [h264 @ 0x3692140] Reference 2 >= 2 [h264 @ 0x3692140] error while decoding MB 36 28, bytestream (631) [h264 @ 0x3700b80] error while decoding MB 8 29, bytestream (-7) [mpegts @ 0x29c6c40] PES packet size mismatch [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x38bb480] Found reference and non-reference fields in the same frame, which is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 0x38bb480] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. [h264 @ 0x38bb480] decode_slice_header error [h264 @ 0x3929ec0] reference picture missing during reorder [h264 @ 0x3929ec0] Missing reference picture, default is 2147483647 [h264 @ 0x3a07340] mmco: unref short failure [h264 @ 0x3546280] reference picture missing during reorder [h264 @ 0x3546280] Missing reference picture, default is 65364 [h264 @ 0x35b4cc0] mmco: unref short failure [h264 @ 0x3929ec0] mmco: unref short failureme=00:00:01.26 bitrate= 0.0kbits/s [mpegts @ 0x29c6c40] PES packet size mismatch [h264 @ 0x3a75d80] Reference 4 >= 2 [h264 @ 0x3a75d80] error while decoding MB 21 26, bytestream (369) [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x3546280] Reference 2 >= 2 [h264 @ 0x3546280] error while decoding MB 26 24, bytestream (477) [h264 @ 0x3468e20] Reference 2 >= 2 43kB time=00:00:02.35 bitrate= 148.5kbits/s dup=147 drop=0 [h264 @ 0x3468e20] error while decoding MB 37 4, bytestream (11097) [h264 @ 0x3546280] Reference 2 >= 2 278kB time=00:00:05.47 bitrate= 416.5kbits/s dup=223 drop=0 [h264 @ 0x3546280] error while decoding MB 13 28, bytestream (1236) [h264 @ 0x3468e20] Reference 5 >= 2 [h264 @ 0x3468e20] error while decoding MB 36 8, bytestream (5968) [h264 @ 0x3692140] Reference 3 >= 2 313kB time=00:00:06.49 bitrate= 395.2kbits/s dup=249 drop=0 [h264 @ 0x3692140] error while decoding MB 32 7, bytestream (1820) [h264 @ 0x3700b80] Reference 2 >= 2 334kB time=00:00:07.02 bitrate= 389.8kbits/s dup=258 drop=0 [h264 @ 0x3700b80] error while decoding MB 22 20, bytestream (1166) [h264 @ 0x3a75d80] Reference 2 >= 2 401kB time=00:00:08.58 bitrate= 382.6kbits/s dup=293 drop=0 [h264 @ 0x3a75d80] error while decoding MB 20 20, bytestream (187) [h264 @ 0x3692140] Reference 4 >= 2 478kB time=00:00:09.55 bitrate= 409.5kbits/s dup=333 drop=0 [h264 @ 0x3692140] error while decoding MB 42 11, bytestream (3874) [h264 @ 0x376f5c0] Reference 3 >= 2 [h264 @ 0x376f5c0] error while decoding MB 38 7, bytestream (6281) [h264 @ 0x3623700] Reference 2 >= 2 484kB time=00:00:10.13 bitrate= 390.8kbits/s dup=340 drop=0 [h264 @ 0x3623700] error while decoding MB 39 26, bytestream (3468) [h264 @ 0x35b4cc0] Reference 4 >= 2 487kB time=00:00:10.62 bitrate= 375.5kbits/s dup=348 drop=0 [h264 @ 0x35b4cc0] error while decoding MB 28 17, bytestream (1795) [h264 @ 0x376f5c0] reference picture missing during reorder bitrate= 369.3kbits/s dup=364 drop=0 [h264 @ 0x376f5c0] Missing reference picture, default is 65884 [h264 @ 0x37de000] reference picture missing during reorder [h264 @ 0x37de000] Missing reference picture, default is 65885 [h264 @ 0x3929ec0] cabac decode of qscale diff failed at 9 24 [h264 @ 0x3929ec0] error while decoding MB 9 24, bytestream (304) [h264 @ 0x38bb480] error while decoding MB 44 19, bytestream (-15)e= 372.2kbits/s dup=417 drop=0 [h264 @ 0x3468e20] Reference 3 >= 2 582kB time=00:00:13.13 bitrate= 363.1kbits/s dup=426 drop=0 [h264 @ 0x3468e20] error while decoding MB 20 15, bytestream (4875) [h264 @ 0x34d7840] Reference 2 >= 2 [h264 @ 0x34d7840] error while decoding MB 31 8, bytestream (841) [h264 @ 0x3546280] Reference 2 >= 2 [h264 @ 0x3546280] error while decoding MB 32 5, bytestream (1615) [h264 @ 0x3692140] Reference 2 >= 2 [h264 @ 0x3692140] error while decoding MB 8 6, bytestream (4871) [h264 @ 0x3700b80] mmco: unref short failure Last message repeated 1 times [h264 @ 0x3700b80] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one [mpegts @ 0x29c6c40] PES packet size mismatch [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x3929ec0] Reference 2 >= 2 [h264 @ 0x3929ec0] error while decoding MB 33 17, bytestream (1707) [h264 @ 0x3998900] Reference 2 >= 2 [h264 @ 0x3998900] error while decoding MB 15 24, bytestream (1586) [h264 @ 0x3a07340] Reference 4 >= 2 [h264 @ 0x3a07340] error while decoding MB 2 14, bytestream (2219) [mpegts @ 0x29c6c40] PES packet size mismatch [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x3a75d80] Reference 3 >= 2 [h264 @ 0x3a75d80] error while decoding MB 5 7, bytestream (2512) [h264 @ 0x3423ca0] error while decoding MB 36 28, bytestream (-27) [h264 @ 0x34d7840] Reference 3 >= 2 [h264 @ 0x34d7840] error while decoding MB 10 18, bytestream (342) [h264 @ 0x35b4cc0] reference picture missing during reorder [h264 @ 0x35b4cc0] Missing reference picture, default is 65996 [h264 @ 0x35b4cc0] Reference 3 >= 2 [h264 @ 0x35b4cc0] error while decoding MB 5 6, bytestream (5889) [h264 @ 0x3623700] reference picture missing during reorder bitrate= 363.2kbits/s dup=439 drop=0 [h264 @ 0x3623700] Missing reference picture, default is 65997 [mpegts @ 0x29c6c40] PES packet size mismatch [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x38bb480] Found reference and non-reference fields in the same frame, which is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 0x38bb480] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. [h264 @ 0x38bb480] decode_slice_header error [h264 @ 0x3929ec0] reference picture missing during reorder [h264 @ 0x3929ec0] Missing reference picture, default is 66085 [h264 @ 0x3546280] reference picture missing during reorder [h264 @ 0x3546280] Missing reference picture, default is 66092 [h264 @ 0x3692140] Reference 2 >= 2 [h264 @ 0x3692140] error while decoding MB 38 15, bytestream (2771) [h264 @ 0x3929ec0] mmco: unref short failureime=00:00:15.71 bitrate= 338.4kbits/s dup=494 drop=0 [h264 @ 0x3546280] left block unavailable for requested intra mode at 0 16kbits/s dup=521 drop=0 [h264 @ 0x3546280] error while decoding MB 0 16, bytestream (4465) [h264 @ 0x3700b80] Reference 2 >= 2 690kB time=00:00:17.27 bitrate= 327.3kbits/s dup=533 drop=0 [h264 @ 0x3700b80] error while decoding MB 17 12, bytestream (2893) [h264 @ 0x3546280] error while decoding MB 10 30, bytestream (-34)e= 324.9kbits/s dup=562 drop=0 [mpegts @ 0x29c6c40] PES packet size mismatchme=00:00:18.78 bitrate= 323.2kbits/s dup=575 drop=0 [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x3546280] Reference 2 >= 2 803kB time=00:00:20.36 bitrate= 323.2kbits/s dup=617 drop=0 [h264 @ 0x3546280] error while decoding MB 36 24, bytestream (443) [h264 @ 0x3546280] error while decoding MB 18 28, bytestream (-8)te= 322.2kbits/s dup=628 drop=0 [h264 @ 0x3a07340] Reference 11 >= 2 835kB time=00:00:21.43 bitrate= 319.2kbits/s dup=638 drop=0 [h264 @ 0x3a07340] error while decoding MB 35 21, bytestream (580) [h264 @ 0x3423ca0] Reference 5 >= 2 878kB time=00:00:22.66 bitrate= 317.3kbits/s dup=675 drop=0 [h264 @ 0x3423ca0] error while decoding MB 40 13, bytestream (1917) [h264 @ 0x35b4cc0] error while decoding MB 19 28, bytestream (-12)e= 319.2kbits/s dup=762 drop=0 [h264 @ 0x35b4cc0] Reference 4 >= 2 1090kB time=00:00:27.78 bitrate= 321.3kbits/s dup=804 drop=0 [h264 @ 0x35b4cc0] error while decoding MB 21 16, bytestream (997) [h264 @ 0x3a75d80] Reference 2 >= 2 1108kB time=00:00:29.14 bitrate= 311.6kbits/s dup=824 drop=0 [h264 @ 0x3a75d80] error while decoding MB 41 15, bytestream (4439) [h264 @ 0x3a07340] Reference 6 >= 2 1111kB time=00:00:29.69 bitrate= 306.6kbits/s dup=831 drop=0 [h264 @ 0x3a07340] error while decoding MB 22 8, bytestream (6338) [mpegts @ 0x29c6c40] PES packet size mismatch [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x384ca40] error while decoding MB 38 26, bytestream (-9)te= 308.7kbits/s dup=855 drop=0 [h264 @ 0x38bb480] Reference 2 >= 2 1269kB time=00:00:31.18 bitrate= 333.4kbits/s dup=872 drop=0 [h264 @ 0x38bb480] error while decoding MB 11 21, bytestream (2945) [h264 @ 0x3929ec0] Reference 2 >= 2 1409kB time=00:00:32.23 bitrate= 358.1kbits/s dup=899 drop=0 [h264 @ 0x3929ec0] error while decoding MB 1 24, bytestream (659) [h264 @ 0x37de000] Found reference and non-reference fields in the same frame, which is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 0x37de000] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. [h264 @ 0x37de000] decode_slice_header error [h264 @ 0x384ca40] reference picture missing during reorder [h264 @ 0x384ca40] Missing reference picture, default is 66949 [h264 @ 0x3468e20] reference picture missing during reorder [h264 @ 0x3468e20] Missing reference picture, default is 66956 [h264 @ 0x37de000] left block unavailable for requested intra mode at 0 28kbits/s dup=929 drop=0 [h264 @ 0x37de000] error while decoding MB 0 28, bytestream (3857) [h264 @ 0x384ca40] mmco: unref short failure [h264 @ 0x384ca40] Reference 3 >= 2 [h264 @ 0x384ca40] error while decoding MB 24 7, bytestream (6260) [h264 @ 0x38bb480] Reference 3 >= 2 [h264 @ 0x38bb480] error while decoding MB 38 16, bytestream (1520) [h264 @ 0x37de000] left block unavailable for requested intra4x4 mode -1 at 0 28s dup=945 drop=0 [h264 @ 0x37de000] error while decoding MB 0 28, bytestream (1330) [mpegts @ 0x29c6c40] PES packet size mismatch [mp2 @ 0x29ebe80] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x3468e20] left block unavailable for requested intra4x4 mode -1 at 0 26s dup=964 drop=0 [h264 @ 0x3468e20] error while decoding MB 0 26, bytestream (4267) [h264 @ 0x3700b80] error while decoding MB 33 30, bytestream (-10)e= 356.6kbits/s dup=971 drop=0 [h264 @ 0x384ca40] Reference 2 >= 2 [h264 @ 0x384ca40] error while decoding MB 4 15, bytestream (3351) [h264 @ 0x3692140] Reference 3 >= 2 [h264 @ 0x3692140] error while decoding MB 34 27, bytestream (1275) [h264 @ 0x34d7840] cabac decode of qscale diff failed at 3 17itrate= 354.4kbits/s dup=980 drop=0 [h264 @ 0x34d7840] error while decoding MB 3 17, bytestream (3715) [h264 @ 0x3468e20] error while decoding MB 38 30, bytestream (-25)e= 359.6kbits/s dup=995 drop=0 [h264 @ 0x37de000] cabac decode of qscale diff failed at 20 28trate= 374.0kbits/s dup=1029 drop=0 [h264 @ 0x37de000] error while decoding MB 20 28, bytestream (4227) [h264 @ 0x3468e20] Reference 3 >= 2 [h264 @ 0x3468e20] error while decoding MB 36 4, bytestream (8594) [h264 @ 0x3998900] cabac decode of qscale diff failed at 29 20trate= 378.3kbits/s dup=1044 drop=0 [h264 @ 0x3998900] error while decoding MB 29 20, bytestream (625) frame= 1950 fps= 52 q=-1.0 Lsize= 1806kB time=00:00:39.00 bitrate= 379.3kbits/s dup=1048 drop=0 video:1114kB audio:293kB subtitle:0 global headers:0kB muxing overhead 28.330540% [libx264 @ 0x2a71aa0] frame I:32 Avg QP:24.47 size: 5445 [libx264 @ 0x2a71aa0] frame P:1918 Avg QP:23.38 size: 504 [libx264 @ 0x2a71aa0] mb I I16..4: 48.5% 0.0% 51.5% [libx264 @ 0x2a71aa0] mb P I16..4: 1.6% 0.0% 2.2% P16..4: 9.0% 2.6% 1.1% 0.0% 0.0% skip:83.6% [libx264 @ 0x2a71aa0] final ratefactor: 25.58 [libx264 @ 0x2a71aa0] coded y,uvDC,uvAC intra: 47.5% 59.3% 30.5% inter: 3.8% 4.2% 0.9% [libx264 @ 0x2a71aa0] i16 v,h,dc,p: 28% 34% 11% 27% [libx264 @ 0x2a71aa0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 27% 18% 5% 5% 6% 5% 4% 5% [libx264 @ 0x2a71aa0] i8c dc,h,v,p: 56% 22% 14% 8% [libx264 @ 0x2a71aa0] ref P L0: 82.2% 4.9% 12.8% [libx264 @ 0x2a71aa0] kb/s:234.01 Received signal 2: terminating.