[FFmpeg-user] ffprobe error return

Yazhou (William) He hyz2993 at gmail.com
Mon Jan 16 10:30:07 EET 2023


Many thanks Carl!

I have tried both the latest version of 5.1.2 and an earlier version in
late 2022. Both of them returned the same error. I have copied the data
from the latest version in the attachment.

I have also double checked it on VLC and found the video is unplayable for
the last a few seconds, the meantime the error message popped out. The
report is also attached below.

Best
Yazhou

----------

Just in case the attached text is unreadable, I also put the full text here:

# cmd output

C:\Users\Ingest_1>ffmpeg -version
ffmpeg version 5.1.2-full_build-www.gyan.dev Copyright (c) 2000-2022 the
FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib
--enable-lzma --enable-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24
--enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi
--enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom
--enable-libjxl --enable-libopenjpeg --enable-libvpx
--enable-mediafoundation --enable-libass --enable-frei0r
--enable-libfreetype --enable-libfribidi --enable-liblensfun
--enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf
--enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec
--enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx
--enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl
--enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine
--enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa
--enable-libbs2b --enable-libflite --enable-libmysofa
--enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      57. 28.100 / 57. 28.100
libavcodec     59. 37.100 / 59. 37.100
libavformat    59. 27.100 / 59. 27.100
libavdevice    59.  7.100 / 59.  7.100
libavfilter     8. 44.100 /  8. 44.100
libswscale      6.  7.100 /  6.  7.100
libswresample   4.  7.100 /  4.  7.100
libpostproc    56.  6.100 / 56.  6.100

C:\Users\Ingest_1>ffprobe
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4
ffprobe version 5.1.2-full_build-www.gyan.dev Copyright (c) 2007-2022 the
FFmpeg developers
  built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib
--enable-lzma --enable-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24
--enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi
--enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom
--enable-libjxl --enable-libopenjpeg --enable-libvpx
--enable-mediafoundation --enable-libass --enable-frei0r
--enable-libfreetype --enable-libfribidi --enable-liblensfun
--enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf
--enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec
--enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx
--enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl
--enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine
--enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa
--enable-libbs2b --enable-libflite --enable-libmysofa
--enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001e61beee200] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001e61beee200] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4:
Invalid data found when processing input

C:\Users\Ingest_1>ffprobe -i
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4
-v error -show_entries stream=codec_type -of
default=noprint_wrappers=1:nokey=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000019b68a34340] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000019b68a34340] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4:
Invalid data found when processing input

C:\Users\Ingest_1>ffprobe -i
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4
-v error -select_streams v:0 -show_entries stream=pix_fmt -of
default=noprint_wrappers=1:nokey=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000204ff743a40] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000204ff743a40] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4:
Invalid data found when processing input

C:\Users\Ingest_1>ffprobe -i
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4
-v error -select_streams a -show_entries stream=codec_name -of
default=noprint_wrappers=1:nokey=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001fd8bf03a40] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001fd8bf03a40] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4:
Invalid data found when processing input

---

# vlc report

mp4 warning: track[0x1] will be disabled (eof?): Failed to read -1 bytes
sample at 1867557853
main debug: killing decoder fourcc `h264'
main debug: removing module "avcodec"
main debug: saving a free vout
main debug: reusing provided vout
main debug: EOF reached
main debug: removing module "mp4"
mp4 debug: freeing all memory
main debug: Program doesn't contain anymore ES
main debug: removing module "record"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "direct3d11"
direct3d11 debug: Direct3D11 resources destroyed
qt debug: IM: Deleting the input
direct3d11 debug: Direct3D11 device adapter closed
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 debug: Win32 Vout EventThread terminating
direct3d11 debug: Win32VoutCloseWindow
direct3d11 debug: WinProc WM_DESTROY
main debug: removing module "inhibit"
qt debug: releasing video...
qt debug: Video is not needed anymore
qt warning: orphaned video window
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"


On Sun, 15 Jan 2023 at 19:06, Carl Zwanzig <cpz at tuunq.com> wrote:

> On 1/9/2023 8:21 AM, Yazhou (William) He wrote:
> > Please advise anything on this, thanks!
>
> Please post the complete output into the email, not as an attached image
> (and run from a command line for testing). Make sure you're starting with
> a
> current version of ffmpeg, but you may want to try with some older
> versions
> to see if there's a difference in the output.
>
> Does this happen for multiple files or just one? How were they created?
>
> Also, look in the VLC messages window (Tools -> Messages) to see if there
> are any errors reported there.
>
> Later,
>
> z!
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
Microsoft Windows [Version 10.0.19044.2251]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Ingest_1>ffmpeg -version
ffmpeg version 5.1.2-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      57. 28.100 / 57. 28.100
libavcodec     59. 37.100 / 59. 37.100
libavformat    59. 27.100 / 59. 27.100
libavdevice    59.  7.100 / 59.  7.100
libavfilter     8. 44.100 /  8. 44.100
libswscale      6.  7.100 /  6.  7.100
libswresample   4.  7.100 /  4.  7.100
libpostproc    56.  6.100 / 56.  6.100

C:\Users\Ingest_1>ffprobe G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4
ffprobe version 5.1.2-full_build-www.gyan.dev Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001e61beee200] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001e61beee200] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4: Invalid data found when processing input

C:\Users\Ingest_1>ffprobe -i G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4 -v error -show_entries stream=codec_type -of default=noprint_wrappers=1:nokey=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000019b68a34340] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000019b68a34340] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4: Invalid data found when processing input

C:\Users\Ingest_1>ffprobe -i G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4 -v error -select_streams v:0 -show_entries stream=pix_fmt -of default=noprint_wrappers=1:nokey=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000204ff743a40] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000204ff743a40] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4: Invalid data found when processing input

C:\Users\Ingest_1>ffprobe -i G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4 -v error -select_streams a -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001fd8bf03a40] Invalid sample size -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001fd8bf03a40] error reading header
G:\Ballymun\Harddrive_SIPS\Donation\aaa5844\59023442-d512-4206-9b18-2d9326821821\objects\DJI_0034.MP4: Invalid data found when processing input
-------------- next part --------------
mp4 warning: track[0x1] will be disabled (eof?): Failed to read -1 bytes sample at 1867557853
main debug: killing decoder fourcc `h264'
main debug: removing module "avcodec"
main debug: saving a free vout
main debug: reusing provided vout
main debug: EOF reached
main debug: removing module "mp4"
mp4 debug: freeing all memory
main debug: Program doesn't contain anymore ES
main debug: removing module "record"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "direct3d11"
direct3d11 debug: Direct3D11 resources destroyed
qt debug: IM: Deleting the input
direct3d11 debug: Direct3D11 device adapter closed
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 debug: Win32 Vout EventThread terminating
direct3d11 debug: Win32VoutCloseWindow
direct3d11 debug: WinProc WM_DESTROY
main debug: removing module "inhibit"
qt debug: releasing video...
qt debug: Video is not needed anymore
qt warning: orphaned video window
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"


More information about the ffmpeg-user mailing list