Opened 4 years ago

Closed 4 years ago

#4559 closed defect (needs_more_info)

Input picture width (608) is greater than stride (0)

Reported by: m3gab0y Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: libx264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Trying to transcode streaming video to lower bitrate and send it via multicast using latest available ffmpeg snapshot and compiled on Debian Linux using this guide:
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

How to reproduce:
/root/bin/ffmpeg -analyzeduration 2000000 -probesize 3047480 -i 'http://user:pass@127.0.0.1:8000/KIKA' -codec:v libx264 -preset veryfast -b:v 512k -maxrate 512k -bufsize 1536k -g 150 -vf "yadif=0:-1:0,hqdn3d=2:2:5:5,scale=-1:342,hue=h=0:s=0.6" -threads 0 -metadata publisher="m3gab0y" -metadata service_provider="root@m3gab0y.com" -metadata service_name="Test" -c:a libfdk_aac -profile:a aac_he -b:a 64k -f mpegts "udp://239.224.25.25:1000"
ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.7 (Debian 4.7.2-5)
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 39.100 / 56. 39.100
libavformat 56. 33.101 / 56. 33.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] decode_slice_header error
[h264 @ 0x29d3da0] no frame!
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] decode_slice_header error
[h264 @ 0x29d3da0] no frame!
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] decode_slice_header error
[h264 @ 0x29d3da0] no frame!
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] decode_slice_header error
[h264 @ 0x29d3da0] no frame!
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] decode_slice_header error
[h264 @ 0x29d3da0] no frame!
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] decode_slice_header error
[h264 @ 0x29d3da0] no frame!
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x29d3da0] non-existing PPS 0 referenced
[h264 @ 0x29d3da0] decode_slice_header error
[h264 @ 0x29d3da0] no frame!
Input #0, mpegts, from 'http://iptv:pass123456@127.0.0.1:8000/KIKA':

Duration: N/A, start: 20666.013567, bitrate: N/A
Program 1037

Metadata:

service_name : Kika HD
service_provider: ss

Stream #0:0[0x173]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x174](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s

[libx264 @ 0x29dca80] using SAR=1/1
[libx264 @ 0x29dca80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x29dca80] profile High, level 3.1
Output #0, mpegts, to 'udp://239.224.25.25:1000':

Metadata:

publisher : m3gab0y
service_provider: root@m3gab0y.com
service_name : Test
encoder : Lavf56.33.101
Stream #0:0: Video: h264 (libx264), yuv420p, 608x342 [SAR 1:1 DAR 16:9], q=-1--1, 512 kb/s, 50 fps, 90k tbn, 50 tbc
Metadata:

encoder : Lavc56.39.100 libx264

Stream #0:1(deu): Audio: aac (libfdk_aac) (HE-AAC), 48000 Hz, stereo, s16, 64 kb/s
Metadata:

encoder : Lavc56.39.100 libfdk_aac

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))

Press [q] to stop, ? for help
[mpegts @ 0x29ce560] PES packet size mismatchime=00:58:23.55 bitrate= 674.4kbits/s dup=35 drop=0
[h264 @ 0x39a7fe0] error while decoding MB 12 20, bytestream -5
[h264 @ 0x39a7fe0] concealing 2037 DC, 2037 AC, 2037 MV errors in P frame
[ac3 @ 0x29dfda0] incomplete frame
[libx264 @ 0x29dca80] AVFrame.format is not set
[libx264 @ 0x29dca80] AVFrame.width or height is not set
[libx264 @ 0x29dca80] Input picture width (608) is greater than stride (0)
Video encoding failed
[libx264 @ 0x29dca80] frame I:1607 Avg QP:18.84 size: 24672
[libx264 @ 0x29dca80] frame P:58513 Avg QP:24.71 size: 2341
[libx264 @ 0x29dca80] frame B:115076 Avg QP:26.15 size: 412
[libx264 @ 0x29dca80] consecutive B-frames: 5.4% 17.9% 9.0% 67.6%
[libx264 @ 0x29dca80] mb I I16..4: 22.4% 18.9% 58.7%
[libx264 @ 0x29dca80] mb P I16..4: 3.4% 1.5% 0.6% P16..4: 18.7% 7.7% 5.1% 0.0% 0.0% skip:62.9%
[libx264 @ 0x29dca80] mb B I16..4: 1.3% 0.4% 0.2% B16..8: 5.5% 1.6% 0.2% direct: 2.7% skip:88.2% L0:43.9% L1:41.7% BI:14.4%
[libx264 @ 0x29dca80] 8x8 transform intra:23.2% inter:22.2%
[libx264 @ 0x29dca80] coded y,uvDC,uvAC intra: 38.0% 35.7% 18.5% inter: 4.7% 3.2% 0.4%
[libx264 @ 0x29dca80] i16 v,h,dc,p: 31% 51% 15% 2%
[libx264 @ 0x29dca80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 30% 29% 3% 3% 3% 3% 3% 4%
[libx264 @ 0x29dca80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 27% 13% 5% 6% 6% 7% 5% 6%
[libx264 @ 0x29dca80] i8c dc,h,v,p: 67% 19% 12% 2%
[libx264 @ 0x29dca80] Weighted P-Frames: Y:2.7% UV:1.3%
[libx264 @ 0x29dca80] kb/s:511.66
[libfdk_aac @ 0x2a5fd00] 4 frames left in the queue on closing
Conversion failed!

Change History (12)

comment:1 Changed 4 years ago by m3gab0y

OS and env. info:
root@de1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.6 (wheezy)
Release: 7.6
Codename: wheezy
root@de1:~# uname -a
Linux de1 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u1 x86_64 GNU/Linux

Using default apt-repositories

comment:2 Changed 4 years ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords libx264 added
  • Priority changed from important to normal

Which version of FFmpeg and x264 are you testing? (Do you know why your FFmpeg version is not shown?)
Does the problem also happen with file output and if you use -an? Does it also happen if you remove some or all filters from your command line?
Does it happen every time?

Last edited 4 years ago by cehoyos (previous) (diff)

comment:3 Changed 4 years ago by m3gab0y

X264 version:
x264-snapshot-20141218-2245
Yes it happens everytime no matter if I save to file or stream output via multicast
It happens everytime although in different timeframe (anywhere from 5min to few hours)
Input stream is error-free

comment:4 Changed 4 years ago by cehoyos

What happens if you save the input stream to a file and use that file as input?

comment:5 Changed 4 years ago by cehoyos

Please also try to answer my other questions.

comment:6 Changed 4 years ago by m3gab0y

#### Transcoded:
root@de1:/cnc# /root/bin/ffmpeg -analyzeduration 2000000 -probesize 3047480 -i '/cnc/KIKA.ts' -codec:v libx264 -preset veryfast -b:v 512k -maxrate 512k -bufsize 1536k -g 150 -threads 0 -metadata publisher="m3gab0y" -metadata service_provider="root@m3gab0y.com" -metadata service_name="Test" -c:a libfdk_aac -profile:a aac_he -b:a 64k /cnc/kika_transcoded.ts
ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.7 (Debian 4.7.2-5)
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 39.100 / 56. 39.100
libavformat 56. 33.101 / 56. 33.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] decode_slice_header error
[h264 @ 0x3aa0420] no frame!
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] decode_slice_header error
[h264 @ 0x3aa0420] no frame!
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] decode_slice_header error
[h264 @ 0x3aa0420] no frame!
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] decode_slice_header error
[h264 @ 0x3aa0420] no frame!
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] decode_slice_header error
[h264 @ 0x3aa0420] no frame!
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3aa0420] non-existing PPS 0 referenced
[h264 @ 0x3aa0420] decode_slice_header error
[h264 @ 0x3aa0420] no frame!
Input #0, mpegts, from '/cnc/KIKA.ts':

Duration: 00:52:35.81, start: 36879.133567, bitrate: 12741 kb/s
Program 1037

Metadata:

service_name : Kika HD
service_provider: ss

Stream #0:0[0x173]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x174](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s

[libx264 @ 0x3b6aae0] using SAR=1/1
[libx264 @ 0x3b6aae0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x3b6aae0] profile High, level 3.2
Output #0, mpegts, to '/cnc/kika_transcoded.ts':

Metadata:

publisher : m3gab0y
service_provider: root@m3gab0y.com
service_name : Test
encoder : Lavf56.33.101
Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 512 kb/s, 50 fps, 90k tbn, 50 tbc
Metadata:

encoder : Lavc56.39.100 libx264

Stream #0:1(deu): Audio: aac (libfdk_aac) (HE-AAC), 48000 Hz, stereo, s16, 64 kb/s
Metadata:

encoder : Lavc56.39.100 libfdk_aac

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))

Press [q] to stop, ? for help
[mpegts @ 0x3a9c660] PES packet size mismatchime=00:52:34.48 bitrate= 657.6kbits/s dup=29 drop=0
[h264 @ 0x435a440] error while decoding MB 33 1, bytestream -5
[h264 @ 0x435a440] concealing 3536 DC, 3536 AC, 3536 MV errors in B frame
[ac3 @ 0x3b698a0] incomplete frame
frame=157791 fps=108 q=-1.0 Lsize= 253358kB time=00:52:35.78 bitrate= 657.7kbits/s dup=29 drop=0
video:191050kB audio:24651kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 17.457729%
[libx264 @ 0x3b6aae0] frame I:2245 Avg QP:34.42 size: 16994
[libx264 @ 0x3b6aae0] frame P:84892 Avg QP:37.25 size: 1662
[libx264 @ 0x3b6aae0] frame B:70654 Avg QP:33.67 size: 232
[libx264 @ 0x3b6aae0] consecutive B-frames: 34.7% 13.6% 10.0% 41.8%
[libx264 @ 0x3b6aae0] mb I I16..4: 43.7% 47.9% 8.4%
[libx264 @ 0x3b6aae0] mb P I16..4: 2.9% 2.8% 0.0% P16..4: 7.2% 2.0% 0.6% 0.0% 0.0% skip:84.5%
[libx264 @ 0x3b6aae0] mb B I16..4: 0.2% 0.1% 0.0% B16..8: 2.4% 0.2% 0.0% direct: 0.3% skip:96.9% L0:46.0% L1:51.4% BI: 2.6%
[libx264 @ 0x3b6aae0] 8x8 transform intra:47.6% inter:41.5%
[libx264 @ 0x3b6aae0] coded y,uvDC,uvAC intra: 20.0% 24.5% 4.1% inter: 0.6% 0.9% 0.0%
[libx264 @ 0x3b6aae0] i16 v,h,dc,p: 53% 29% 12% 6%
[libx264 @ 0x3b6aae0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 18% 47% 3% 3% 3% 3% 3% 3%
[libx264 @ 0x3b6aae0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 22% 14% 6% 7% 7% 7% 6% 6%
[libx264 @ 0x3b6aae0] i8c dc,h,v,p: 77% 11% 11% 1%
[libx264 @ 0x3b6aae0] Weighted P-Frames: Y:1.1% UV:0.7%
[libx264 @ 0x3b6aae0] kb/s:495.94

### Transcoded with -an
root@de1:/cnc# /root/bin/ffmpeg -analyzeduration 2000000 -probesize 3047480 -i '/cnc/KIKA.ts' -codec:v libx264 -preset veryfast -b:v 512k -maxrate 512k -bufsize 1536k -g 150 -threads 0 -metadata publisher="m3gab0y" -metadata service_provider="root@m3gab0y.com" -metadata service_name="Test" -an /cnc/kika_transcoded_noaudio.ts
ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.7 (Debian 4.7.2-5)
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 39.100 / 56. 39.100
libavformat 56. 33.101 / 56. 33.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] decode_slice_header error
[h264 @ 0x424b4c0] no frame!
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] decode_slice_header error
[h264 @ 0x424b4c0] no frame!
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] decode_slice_header error
[h264 @ 0x424b4c0] no frame!
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] decode_slice_header error
[h264 @ 0x424b4c0] no frame!
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] decode_slice_header error
[h264 @ 0x424b4c0] no frame!
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x424b4c0] non-existing PPS 0 referenced
[h264 @ 0x424b4c0] decode_slice_header error
[h264 @ 0x424b4c0] no frame!
Input #0, mpegts, from '/cnc/KIKA.ts':

Duration: 00:52:35.81, start: 36879.133567, bitrate: 12741 kb/s
Program 1037

Metadata:

service_name : Kika HD
service_provider: ss

Stream #0:0[0x173]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x174](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s

[libx264 @ 0x4315b40] using SAR=1/1
[libx264 @ 0x4315b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x4315b40] profile High, level 3.2
Output #0, mpegts, to '/cnc/kika_transcoded_noaudio.ts':

Metadata:

publisher : m3gab0y
service_provider: root@m3gab0y.com
service_name : Test
encoder : Lavf56.33.101
Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 512 kb/s, 50 fps, 90k tbn, 50 tbc
Metadata:

encoder : Lavc56.39.100 libx264

Stream mapping:

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

Press [q] to stop, ? for help
[h264 @ 0x4ab77a0] error while decoding MB 33 1, bytestream -5itrate= 586.0kbits/s dup=8 drop=0
[h264 @ 0x4ab77a0] concealing 3536 DC, 3536 AC, 3536 MV errors in B frame
frame=157770 fps=143 q=-1.0 Lsize= 225754kB time=00:52:35.36 bitrate= 586.1kbits/s dup=8 drop=0
video:190989kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 18.202574%
[libx264 @ 0x4315b40] frame I:2245 Avg QP:34.40 size: 16994
[libx264 @ 0x4315b40] frame P:84887 Avg QP:37.25 size: 1661
[libx264 @ 0x4315b40] frame B:70638 Avg QP:33.68 size: 232
[libx264 @ 0x4315b40] consecutive B-frames: 34.7% 13.6% 10.0% 41.8%
[libx264 @ 0x4315b40] mb I I16..4: 43.7% 47.9% 8.4%
[libx264 @ 0x4315b40] mb P I16..4: 2.9% 2.8% 0.0% P16..4: 7.2% 2.0% 0.6% 0.0% 0.0% skip:84.5%
[libx264 @ 0x4315b40] mb B I16..4: 0.2% 0.1% 0.0% B16..8: 2.4% 0.2% 0.0% direct: 0.3% skip:96.9% L0:46.0% L1:51.4% BI: 2.6%
[libx264 @ 0x4315b40] 8x8 transform intra:47.6% inter:41.5%
[libx264 @ 0x4315b40] coded y,uvDC,uvAC intra: 20.0% 24.5% 4.1% inter: 0.6% 0.9% 0.0%
[libx264 @ 0x4315b40] i16 v,h,dc,p: 53% 29% 12% 6%
[libx264 @ 0x4315b40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 18% 47% 3% 3% 3% 3% 3% 3%
[libx264 @ 0x4315b40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 22% 14% 6% 7% 7% 7% 6% 6%
[libx264 @ 0x4315b40] i8c dc,h,v,p: 77% 11% 11% 1%
[libx264 @ 0x4315b40] Weighted P-Frames: Y:1.1% UV:0.7%
[libx264 @ 0x4315b40] kb/s:495.84

##### Sources
ORIGINAL Source:
http://r-de1.m3gab0y.com/KIKA.ts
Transcoded:
http://r-de1.m3gab0y.com/kika_transcoded.ts
Transcoded with -an:
http://r-de1.m3gab0y.com/kika_transcoded_noaudio.ts

comment:7 Changed 4 years ago by m3gab0y

Same happens with no video filters in place and even without filters and audio, please investigate further

comment:8 Changed 4 years ago by cehoyos

Sorry, I am not sure if I understand: Is the issue reproducible with the input file you provided (as ORIGINAL Source) or is it not reproducible if this file is used as input?

comment:9 Changed 4 years ago by m3gab0y

Yes, *IT IS* reproducabke with the jnput file I've provided.

comment:10 Changed 4 years ago by cehoyos

The file KIKA.ts has an approximate length of 52:35 and I am able to encode the file and the output file is 52:35. How can I reproduce the issue?

$ ffmpeg -i KIKA.ts -codec:v libx264 -preset veryfast -b:v 512k -maxrate 512k -bufsize 1536k -g 150 out.ts
ffmpeg version N-72164-g3a91a07 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --enable-libx264
  libavutil      54. 23.101 / 54. 23.101
  libavcodec     56. 39.100 / 56. 39.100
  libavformat    56. 33.101 / 56. 33.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] decode_slice_header error
[h264 @ 0x1ca7360] no frame!
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] decode_slice_header error
[h264 @ 0x1ca7360] no frame!
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] decode_slice_header error
[h264 @ 0x1ca7360] no frame!
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] decode_slice_header error
[h264 @ 0x1ca7360] no frame!
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] decode_slice_header error
[h264 @ 0x1ca7360] no frame!
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1ca7360] non-existing PPS 0 referenced
[h264 @ 0x1ca7360] decode_slice_header error
[h264 @ 0x1ca7360] no frame!
Input #0, mpegts, from 'KIKA.ts':
  Duration: 00:52:35.81, start: 36879.133567, bitrate: 12741 kb/s
  Program 1037
    Metadata:
      service_name    : Kika HD
      service_provider: ss
    Stream #0:0[0x173]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x174](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
[libx264 @ 0x1d71980] using SAR=1/1
[libx264 @ 0x1d71980] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1d71980] profile High, level 3.2
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf56.33.101
    Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 512 kb/s, 50 fps, 90k tbn, 50 tbc
    Metadata:
      encoder         : Lavc56.39.100 libx264
    Stream #0:1(deu): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
    Metadata:
      encoder         : Lavc56.39.100 mp2
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (ac3 (native) -> mp2 (native))
Press [q] to stop, [?] for help
[mpegts @ 0x1ca3480] PES packet size mismatchime=00:52:33.50 bitrate=1013.3kbits/s dup=29 drop=0
[h264 @ 0x35b3ee0] error while decoding MB 33 1, bytestream -5
[h264 @ 0x35b3ee0] concealing 3536 DC, 3536 AC, 3536 MV errors in B frame
[ac3 @ 0x1d70740] incomplete frame
frame=157791 fps=247 q=-1.0 Lsize=  390365kB time=00:52:35.78 bitrate=1013.3kbits/s dup=29 drop=0
video:190152kB audio:147900kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 15.474797%
[libx264 @ 0x1d71980] frame I:2245  Avg QP:34.38  size: 17027
[libx264 @ 0x1d71980] frame P:84892 Avg QP:37.27  size:  1651
[libx264 @ 0x1d71980] frame B:70654 Avg QP:33.68  size:   231
[libx264 @ 0x1d71980] consecutive B-frames: 34.7% 13.6% 10.0% 41.8%
[libx264 @ 0x1d71980] mb I  I16..4: 43.5% 48.1%  8.4%
[libx264 @ 0x1d71980] mb P  I16..4:  2.9%  2.7%  0.0%  P16..4:  7.1%  2.0%  0.6%  0.0%  0.0%    skip:84.6%
[libx264 @ 0x1d71980] mb B  I16..4:  0.2%  0.1%  0.0%  B16..8:  2.4%  0.2%  0.0%  direct: 0.3%  skip:96.9%  L0:46.1% L1:51.4% BI: 2.6%
[libx264 @ 0x1d71980] 8x8 transform intra:47.7% inter:41.5%
[libx264 @ 0x1d71980] coded y,uvDC,uvAC intra: 20.0% 24.5% 4.1% inter: 0.6% 0.9% 0.0%
[libx264 @ 0x1d71980] i16 v,h,dc,p: 53% 29% 12%  6%
[libx264 @ 0x1d71980] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 18% 47%  3%  3%  3%  3%  3%  3%
[libx264 @ 0x1d71980] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 22% 13%  6%  7%  7%  7%  6%  6%
[libx264 @ 0x1d71980] i8c dc,h,v,p: 77% 11% 11%  1%
[libx264 @ 0x1d71980] Weighted P-Frames: Y:1.1% UV:0.7%
[libx264 @ 0x1d71980] kb/s:493.60

comment:11 Changed 4 years ago by m3gab0y

Indeed!
Will generate a longer file and update the ticket once I reproduce it with a local file.

comment:12 Changed 4 years ago by cehoyos

  • Resolution set to needs_more_info
  • Status changed from new to closed

Please reopen the ticket if you can explain how to reproduce.

Note: See TracTickets for help on using tickets.