[FFmpeg-user] I was asked to upload a sample

Mikhail Berezovskiy berezovsky.m at gmail.com
Wed Oct 2 03:19:59 EEST 2019

Dear FFMPEG team,

I have 2  files with raw h264 data.  I can play and convert the first one
but the second one fails with the message from FFmpeg that  "Error while
opening decoder for input stream #0:0 : Invalid data found when processing

Both files can be downloaded from

I guess there is something wrong with keyframes.  Please advise if there is
any way to convert these files to mp4.

ffprorobe output
ffprobe -show_format -show_streams  file.h264
ffprobe version N-95183-g97450d2b6a Copyright (c) 2007-2019 the FFmpeg
  built with gcc 9.2.1 (GCC) 20190918
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va
--enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
--enable-libopenmpt --enable-amf
  libavutil      56. 35.100 / 56. 35.100
  libavcodec     58. 59.101 / 58. 59.101
  libavformat    58. 33.100 / 58. 33.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter     7. 61.100 /  7. 61.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[h264 @ 000001e59613ce00] Format h264 detected only with low score of 1,
misdetection possible!
Invalid UE golomb code
[h264 @ 000001e59613ea80] pps_id 3199971767 out of range
Invalid UE golomb code
[h264 @ 000001e59613ea80] pps_id 3199971767 out of range
[h264 @ 000001e59613ea80] data partitioning 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 @ 000001e59613ea80] If you want to help, upload a sample of this file
to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org) Input #0, h264, from
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x480 [SAR
10:11 DAR 15:11], 12 fps, 12 tbr, 1200k tbn, 24 tbc
Invalid UE golomb code
[h264 @ 000001e59620dc80] pps_id 3199971767 out of range
Could not open codec for input stream 0

More information about the ffmpeg-user mailing list