Opened 9 years ago

Closed 9 years ago

#4557 closed defect (fixed)

ffprobe 2.6.2 fails to fetch information from specific video file

Reported by: Mike Schekotov Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mov regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I am trying to fetch information from video file using ffprobe 2.6.2, but it fails, while old version (0.10.12) works like a charm.

File causing error: http://www.datafilehost.com/d/46bc7bae

ffprobe 0.10.12:

% ffprobe -v 9 -loglevel 99 error_on_ffprobe_2_6_2.mp4
ffprobe version 0.10.12-7:0.10.12-1~saucy1 Copyright (c) 2007-2014 the FFmpeg developers
  built on Apr 26 2014 09:54:16 with gcc 4.8.1
  configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.12-1~saucy1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x16739c0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x16739c0] ISO: File Type Major Brand: isom
[h264 @ 0x167a1e0] err{or,}_recognition separate: 1; 1
[h264 @ 0x167a1e0] err{or,}_recognition combined: 1; 10001
[aac @ 0x167b1a0] err{or,}_recognition separate: 1; 1
[aac @ 0x167b1a0] err{or,}_recognition combined: 1; 10001
[aac @ 0x167b1a0] Unsupported bit depth: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x16739c0] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'error_on_ffprobe_2_6_2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.10.100
  Duration: 00:00:17.01, start: 0.000000, bitrate: 8748 kb/s
    Stream #0:0(und), 1, 1/14985: Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x960 [SAR 1:1 DAR 2:1], 1/29970, 8612 kb/s, 14.98 fps, 14.98 tbr, 14985 tbn, 29970 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 1, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 130 kb/s
    Metadata:
      handler_name    : 
[h264 @ 0x167a1e0] err{or,}_recognition separate: 1; 10001
[h264 @ 0x167a1e0] err{or,}_recognition combined: 1; 10001
[h264 @ 0x167a1e0] detected 4 logical cores
[aac @ 0x167b1a0] err{or,}_recognition separate: 1; 10001
[aac @ 0x167b1a0] err{or,}_recognition combined: 1; 10001
[aac @ 0x167b1a0] Unsupported bit depth: 0

ffprobe 2.6.2:

% ffprobe -v 9 -loglevel 99 error_on_ffprobe_2_6_2.mp4
ffprobe version 2.6.2-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2007-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --cc=gcc-4.9
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3cf71a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3cf71a0] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3cf71a0] error reading header
[AVIOContext @ 0x3cf3ca0] Statistics: 32768 bytes read, 0 seeks
error_on_ffprobe_2_6_2.mp4: Invalid data found when processing input

Attachments (1)

error_on_ffprobe_2_6_2_cut.mp4 (2.4 MB ) - added by Carl Eugen Hoyos 9 years ago.

Change History (3)

comment:1 by Carl Eugen Hoyos, 9 years ago

Component: ffprobeavformat
Keywords: mov regression added; invalid processing input removed
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Version: 2.6.1git-master

Patch sent: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/193248

For future tickets: Please always test current FFmpeg git head before reporting issues and please always test ffmpeg (the application) if it allows to reproduce the issue. If it does not allow to reproduce the issue (if ffprobe is needed to reproduce), please mention this in your description.

by Carl Eugen Hoyos, 9 years ago

comment:2 by Michael Niedermayer, 9 years ago

Resolution: fixed
Status: openclosed

Fixed in 50393bce31a5618f5125aaaf97bb69886fc4261d
the fix also extracts the location information which the patch would not
but the patch helped in showing where it failed

Note: See TracTickets for help on using tickets.