[FFmpeg-trac] #4425(undetermined:new): MP4 file can't be read by ffmpeg (but can be with other tools)

FFmpeg trac at avcodec.org
Sat Apr 4 02:53:40 CEST 2015


#4425: MP4 file can't be read by ffmpeg (but can be with other tools)
-------------------------------------+-------------------------------------
             Reporter:  rbrito       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Hi.

 I have an MP4 file (that I can upload, if desired) that is not recognized
 by ffmpeg, but can be played without any problems with mplayer2.

 I am using a Debian sid environment (with some packages taken from deb-
 multimedia, to get real ffmpeg, not libav).

 Here is the debug output:
 {{{
 ffmpeg started on 2015-04-03 at 18:55:05
 Report written to "ffmpeg-20150403-185505.log"
 Command line:
 ffmpeg -v 9 -loglevel 99 -report -i
 /media/lutz/videos/Lectures/mit/6.450f06/ocw-6.450-f06-2003-10-08_300k.mp4
 ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.9.2 (Debian 4.9.2-10)
   configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-
 strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro'
 --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl
 --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac
 --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm
 --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping
 --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger
 --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter
 --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb
 --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64
 -linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-
 gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus
 --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-
 mipsdspr1 --disable-mipsdspr2 --en  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
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 Reading option '-i' ... matched as input file with argument
 '/media/lutz/videos/Lectures/mit/6.450f06/ocw-6.450-f06-2003-10-08_300k.mp4'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Applying option loglevel (set logging level) with argument 99.
 Applying option report (generate a report) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file
 /media/lutz/videos/Lectures/mit/6.450f06/ocw-6.450-f06-2003-10-08_300k.mp4.
 Successfully parsed a group of options.
 Opening an input file:
 /media/lutz/videos/Lectures/mit/6.450f06/ocw-6.450-f06-2003-10-08_300k.mp4.
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x6db120] Format mov,mp4,m4a,3gp,3g2,mj2 probed
 with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x6db120] ISO: File Type Major Brand: mp42
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x6db120] error reading header
 [AVIOContext @ 0x6da940] Statistics: 2158738 bytes read, 0 seeks
 /media/lutz/videos/Lectures/mit/6.450f06/ocw-6.450-f06-2003-10-08_300k.mp4:
 Invalid data found when processing input
 }}}

 This is, BTW, only one file from a handful of other files (from the same
 batch) that aren't recognized by ffmpeg.

 I don't know exactly which extra information to include, but, please, let
 me know what else is needed and I will do my best to provide it (and this
 includes, as I mentioned, uploading the file to your FTP server).


 Thanks in advance.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4425>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list