[FFmpeg-user] Error SEI truncated in H264

Đặng Đức Hưng ddhung at vasc.com.vn
Mon Aug 19 11:34:52 CEST 2013


Hi All.

How can I fix this error “SEI truncated” in ffmpeg? The below is all text code which I am using to trascode.

Thank a lot!

 

[root at localhost Running_files]# ffmpeg -isync -i udp://233.19.204.85:5501 -filter:v yadif=0:-1:1,fps=25 -vcodec libx264 -vprofile main -level 30 -preset slower -pass 1 -b:v 1000k -maxrate 1000k -bufsize 2000k -s:v 720x576 -r:v 25 -g 64 -crf 24 -threads 0 -ac 2 -ar 48000 -b:a 128k -filter:a volume=2 -f mpegts -muxrate 1400k udp://233.19.200.74:5501?pkt_size=1316ffmpeg version N-55519-g7ec7d62 Copyright (c) 2000-2013 the FFmpeg developers

  built on Aug 14 2013 16:00:20 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)

  configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC

  libavutil      52. 42.100 / 52. 42.100

  libavcodec     55. 27.100 / 55. 27.100

  libavformat    55. 13.102 / 55. 13.102

  libavdevice    55.  3.100 / 55.  3.100

  libavfilter     3. 82.100 /  3. 82.100

  libswscale      2.  4.100 /  2.  4.100

  libswresample   0. 17.103 /  0. 17.103

  libpostproc    52.  3.100 / 52.  3.100

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] non-existing PPS referenced

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] non-existing PPS 0 referenced

[h264 @ 0x3694720] decode_slice_header error

[h264 @ 0x3694720] no frame!

[h264 @ 0x3694720] SEI truncated

[h264 @ 0x3694720] mmco: unref short failure

    Last message repeated 1 times

[h264 @ 0x3694720] SEI truncated

    Last message repeated 1 times

[h264 @ 0x3694720] mmco: unref short failure

    Last message repeated 1 times

[h264 @ 0x3694720] SEI truncated

    Last message repeated 5 times

[h264 @ 0x3694720] mmco: unref short failure

    Last message repeated 1 times

[h264 @ 0x3694720] SEI truncated

   Last message repeated 14 times

Input #0, mpegts, from 'udp://233.19.204.85:5501':

  Duration: N/A, start: 5284.301678, bitrate: 224 kb/s

  Program 1 

    Stream #0:0[0x21]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 12:11 DAR 15:11], 25 fps, 50 tbr, 90k tbn, 50 tbc

    Stream #0:1[0x22](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s

[libx264 @ 0x3890060] using SAR=12/11

[libx264 @ 0x3890060] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2

[libx264 @ 0x3890060] profile Main, level 3.0

Output #0, mpegts, to 'udp://233.19.200.74:5501?pkt_size=1316':

  Metadata:

    encoder         : Lavf55.13.102

    Stream #0:0: Video: h264 (libx264), yuv420p, 720x576 [SAR 12:11 DAR 15:11], q=-1--1, pass 1, 1000 kb/s, 90k tbn, 25 tbc

    Stream #0:1(eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s

Stream mapping:

  Stream #0:0 -> #0:0 (h264 -> libx264)

  Stream #0:1 -> #0:1 (mp2 -> mp2)

Press [q] to stop, [?] for help

[h264 @ 0x62509c0] SEI truncated

[h264 @ 0x62509c0] Missing reference picture, default is 0

[h264 @ 0x62509c0] decode_slice_header error

[h264 @ 0x6295640] SEI truncated

[h264 @ 0x6295640] Missing reference picture, default is 65492

    Last message repeated 1 times

[h264 @ 0x6303fe0] SEI truncated

[h264 @ 0x63729a0] SEI truncated

[h264 @ 0x63e1360] SEI truncated

[h264 @ 0x644fd20] SEI truncated

[h264 @ 0x64be6e0] SEI truncated

[h264 @ 0x64be6e0] reference picture missing during reorder

    Last message repeated 1 times

[h264 @ 0x64be6e0] Missing reference picture, default is 65492

    Last message repeated 1 times

[h264 @ 0x652d0a0] mmco: unref short failure

    Last message repeated 1 times

[h264 @ 0x652d0a0] SEI truncated

[h264 @ 0x652d0a0] reference picture missing during reorder

[h264 @ 0x652d0a0] Missing reference picture, default is 65493

[h264 @ 0x659ba60] SEI truncated

[h264 @ 0x660a420] SEI truncated

[h264 @ 0x6678de0] SEI truncated

[h264 @ 0x66e77a0] SEI truncated

[h264 @ 0x6756160] SEI truncated

[h264 @ 0x67c4b20] SEI truncated

[h264 @ 0x68334e0] SEI truncated

[h264 @ 0x68a1ea0] mmco: unref short failure

    Last message repeated 1 times

[h264 @ 0x68a1ea0] SEI truncated

[h264 @ 0x62509c0] SEI truncated

[h264 @ 0x6295640] SEI truncated

[h264 @ 0x6303fe0] SEI truncated

[h264 @ 0x63729a0] SEI truncated

[h264 @ 0x63e1360] SEI truncated

[h264 @ 0x644fd20] SEI truncated

[h264 @ 0x64be6e0] SEI truncated

[h264 @ 0x652d0a0] SEI truncated

[h264 @ 0x659ba60] SEI truncated

[h264 @ 0x660a420] SEI truncated

[h264 @ 0x6678de0] SEI truncated

[h264 @ 0x66e77a0] SEI truncated

[h264 @ 0x6756160] SEI truncated

[h264 @ 0x67c4b20] SEI truncated

[h264 @ 0x68334e0] SEI truncated

[h264 @ 0x68a1ea0] SEI truncated

[h264 @ 0x62509c0] SEI truncated

[h264 @ 0x6295640] SEI truncated

[h264 @ 0x6303fe0] SEI truncated

[h264 @ 0x63729a0] SEI truncated

[h264 @ 0x63e1360] SEI truncated

[h264 @ 0x644fd20] SEI truncated

[h264 @ 0x64be6e0] SEI truncated

[h264 @ 0x652d0a0] SEI truncated

[h264 @ 0x659ba60] SEI truncated

[h264 @ 0x660a420] SEI truncated

[h264 @ 0x6678de0] SEI truncated

[h264 @ 0x66e77a0] SEI truncated

[h264 @ 0x6756160] SEI truncated

[h264 @ 0x67c4b20] SEI truncated

[h264 @ 0x68334e0] SEI truncated

[h264 @ 0x68a1ea0] SEI truncated

[h264 @ 0x62509c0] SEI truncated

[h264 @ 0x6295640] SEI truncated

[h264 @ 0x6303fe0] SEI truncated

[h264 @ 0x63729a0] SEI truncated

[h264 @ 0x63e1360] SEI truncated

[h264 @ 0x644fd20] SEI truncated

[h264 @ 0x64be6e0] SEI truncated

[h264 @ 0x652d0a0] SEI truncated

[h264 @ 0x659ba60] SEI truncated

[h264 @ 0x660a420] SEI truncated

[h264 @ 0x6678de0] SEI truncated

[h264 @ 0x66e77a0] SEI truncated

[h264 @ 0x6756160] SEI truncated

[h264 @ 0x67c4b20] SEI truncated

[h264 @ 0x68334e0] SEI truncated

[h264 @ 0x68a1ea0] SEI truncated

[h264 @ 0x62509c0] SEI truncated

[h264 @ 0x6295640] SEI truncated

[h264 @ 0x6303fe0] SEI truncated

[h264 @ 0x63729a0] SEI truncated

[h264 @ 0x63e1360] SEI truncated

[h264 @ 0x644fd20] SEI truncated

[h264 @ 0x64be6e0] SEI truncated

[h264 @ 0x652d0a0] SEI truncated

[h264 @ 0x659ba60] SEI truncated

[h264 @ 0x660a420] SEI truncated

[h264 @ 0x6678de0] SEI truncated

[h264 @ 0x66e77a0] SEI truncated

[h264 @ 0x6756160] SEI truncated

[h264 @ 0x67c4b20] SEI truncated      0kB time=00:00:01.42 bitrate=   0.0kbits/s dup=49 drop=0    

[h264 @ 0x68334e0] SEI truncated

[h264 @ 0x68a1ea0] SEI truncated

[h264 @ 0x62509c0] SEI truncated

[h264 @ 0x6295640] SEI truncated

[h264 @ 0x6303fe0] SEI truncated

[h264 @ 0x63729a0] SEI truncated

[h264 @ 0x63e1360] SEI truncated

[h264 @ 0x644fd20] SEI truncated

[h264 @ 0x64be6e0] SEI truncated

[h264 @ 0x652d0a0] SEI truncated

[h264 @ 0x659ba60] SEI truncated

[h264 @ 0x660a420] SEI truncated

[h264 @ 0x6678de0] SEI truncated

[h264 @ 0x66e77a0] SEI truncated

[h264 @ 0x6756160] SEI truncated

[h264 @ 0x67c4b20] SEI truncated

[h264 @ 0x68334e0] SEI truncated

[h264 @ 0x68a1ea0] SEI truncated

[h264 @ 0x62509c0] SEI truncated

[h264 @ 0x6295640] SEI truncated

[h264 @ 0x6303fe0] SEI truncated

[h264 @ 0x63729a0] SEI truncated

[h264 @ 0x63e1360] SEI truncated

frame=   66 fps=0.0 q=-1.0 Lsize=     467kB time=00:00:02.56 bitrate=1494.6kbits/s dup=49 drop=0    

video:91kB audio:30kB subtitle:0 global headers:0kB muxing overhead 286.776218%

[libx264 @ 0x3890060] frame I:2     Avg QP:19.65  size: 38948

[libx264 @ 0x3890060] frame P:18    Avg QP:19.85  size:   632

[libx264 @ 0x3890060] frame B:46    Avg QP:26.93  size:    80

[libx264 @ 0x3890060] consecutive B-frames:  6.1%  3.0%  0.0% 90.9%

[libx264 @ 0x3890060] mb I  I16..4: 29.8%  0.0% 70.2%

[libx264 @ 0x3890060] mb P  I16..4:  0.2%  0.0%  0.0%  P16..4:  6.6%  0.0%  0.0%  0.0%  0.0%    skip:93.2%

[libx264 @ 0x3890060] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.3%  0.0%  0.0%  direct: 0.6%  skip:99.1%  L0:26.4% L1:52.3% BI:21.3%

[libx264 @ 0x3890060] direct mvs  spatial:43.5% temporal:56.5%

[libx264 @ 0x3890060] coded y,uvDC,uvAC intra: 88.5% 90.3% 60.2% inter: 0.4% 1.6% 0.0%

[libx264 @ 0x3890060] i16 v,h,dc,p: 49% 20% 19% 11%

[libx264 @ 0x3890060] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 21% 12%  5%  5%  6%  3%  6%  4%

[libx264 @ 0x3890060] i8c dc,h,v,p: 35% 27% 29%  8%

[libx264 @ 0x3890060] Weighted P-Frames: Y:0.0% UV:0.0%

[libx264 @ 0x3890060] kb/s:281.62

 

 

 

 

Best Regards

Đặng Đức Hưng

| Broadcast Technical Department | IPTV Center | VASC Software and Media Company |

| 97 Nguyễn Chí Thanh | Đống Đa District | Hanoi | Vietnam|

| Tel (+84) 37722728 ext 681/684 | Mobile (+84) 915 070 921| 

|  <mailto:ddhung at vasc.com.vn> ddhung at vasc.com.vn |  <http://www.mytv.com.vn/> www.mytv.com.vn |

 



More information about the ffmpeg-user mailing list