[FFmpeg-trac] #9026(undetermined:new): Invalid data found when processing a gphoto2 video that used to work earlier

FFmpeg trac at avcodec.org
Wed Dec 9 14:24:16 EET 2020


#9026: Invalid data found when processing a gphoto2 video that used to work
earlier
-------------------------------------+-------------------------------------
             Reporter:  fairlix      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  AVIOContext  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 '''Summary of the bug:'''
 FFmpeg used to be able to direct a video stream from gphoto2 to v4l2.
 Now the videostream from gphoto2 that originates from a Canon camera
 causes FFmpeg to fail.

 I have directed the video stream into a file. While mplayer can play this
 file, ffmpeg fails.
 I intend to provide this video file.

 Please let me know if I can provide further information or test something.

 '''The minimal way to reproduce:'''
 {{{
 % ffmpeg -i canon-camera-gphoto2-video.mjpg
 ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
   built with gcc 10.1.0 (GCC)
   configuration: --prefix=/usr --disable-debug --disable-static --disable-
 stripping --enable-avisynth --enable-fontconfig --enable-gmp --enable-
 gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass
 --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype
 --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack
 --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-
 libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
 --enable-libopus --enable-libpulse --enable-librav1e --enable-libsoxr
 --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora
 --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis
 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-
 nvenc --enable-omx --enable-shared --enable-version3
   libavutil      56. 51.100 / 56. 51.100
   libavcodec     58. 91.100 / 58. 91.100
   libavformat    58. 45.100 / 58. 45.100
   libavdevice    58. 10.100 / 58. 10.100
   libavfilter     7. 85.100 /  7. 85.100
   libswscale      5.  7.100 /  5.  7.100
   libswresample   3.  7.100 /  3.  7.100
   libpostproc    55.  7.100 / 55.  7.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 '-i' ... matched as input url with argument 'movie.mjpg'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input url movie.mjpg.
 Successfully parsed a group of options.
 Opening an input file: movie.mjpg.
 [NULL @ 0x5608f9be1b40] Opening 'movie.mjpg' for reading
 [file @ 0x5608f9be2600] Setting default whitelist 'file,crypto,data'
 Probing jpeg_pipe score:25 size:2048
 Probing jpeg_pipe score:25 size:4096
 Probing jpeg_pipe score:25 size:8192
 Probing jpeg_pipe score:25 size:16384
 Probing jpeg_pipe score:25 size:32768
 Probing jpeg_pipe score:25 size:65536
 Probing jpeg_pipe score:25 size:131072
 Probing jpeg_pipe score:25 size:262144
 Probing jpeg_pipe score:25 size:524288
 [AVIOContext @ 0x5608f9bea9c0] Statistics: 1048576 bytes read, 0 seeks
 movie.mjpg: Invalid data found when processing input
 }}}

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


More information about the FFmpeg-trac mailing list