[FFmpeg-trac] #5207(undetermined:new): Non-mjpeg file with fourcc MSC2

FFmpeg trac at avcodec.org
Wed Mar 9 14:29:59 CET 2016


#5207: Non-mjpeg file with fourcc MSC2
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  avi          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Description changed by cehoyos:

Old description:

> FFmpeg supports Geutebrueck Multiscope II files from a security camera
> with FourCC MSC2, see ticket #4535: http://samples.ffmpeg.org/ffmpeg-
> bugs/trac/ticket4535
> All files contain a specific variant of mjpeg with an encoded resolution
> of 704x288, no audio. The files are supported except for an incorrect
> aspect ratio.
> A user uploaded a file {{{CapturedMovie.mrec}}} that is an avi with
> Fourcc MSC2. It contains silent pcm audio and video frames of very
> different size, maybe I- and P-frames, possibly a screen capture codec
> with a four byte header but not mjpeg afaict.
> {{{
> $ ffmpeg -i CapturedMovie.mrec
> ffmpeg version N-78214-g9938697 Copyright (c) 2000-2016 the FFmpeg
> developers
>   built with gcc 4.7 (SUSE Linux)
>   configuration: --enable-gpl
>   libavutil      55. 16.101 / 55. 16.101
>   libavcodec     57. 24.100 / 57. 24.100
>   libavformat    57. 23.101 / 57. 23.101
>   libavdevice    57.  0.101 / 57.  0.101
>   libavfilter     6. 27.100 /  6. 27.100
>   libswscale      4.  0.100 /  4.  0.100
>   libswresample   2.  0.101 /  2.  0.101
>   libpostproc    54.  0.100 / 54.  0.100
> [mjpeg @ 0x2f4c1c0] bits 145 is invalid
> [mjpeg @ 0x2f4c1c0] No JPEG data found in image
>     Last message repeated 3 times
> [mjpeg @ 0x2f4c1c0] bits 230 is invalid
> [mjpeg @ 0x2f4c1c0] No JPEG data found in image
> [mjpeg @ 0x2f4c1c0] bits 171 is invalid
> [mjpeg @ 0x2f4c1c0] bits 77 is invalid
> [mjpeg @ 0x2f4c1c0] bits 163 is invalid
> [mjpeg @ 0x2f4c1c0] No JPEG data found in image
> [mjpeg @ 0x2f4c1c0] bits 206 is invalid
> [mjpeg @ 0x2f4c1c0] No JPEG data found in image
>     Last message repeated 1 times
> [mjpeg @ 0x2f4c1c0] bits 219 is invalid
> [mjpeg @ 0x2f4c1c0] No JPEG data found in image
> [mjpeg @ 0x2f4c1c0] bits 223 is invalid
> [mjpeg @ 0x2f4c1c0] bits 35 is invalid
> [mjpeg @ 0x2f4c1c0] No JPEG data found in image
>     Last message repeated 82 times
> [mjpeg @ 0x2f4c1c0] bits 145 is invalid
> [mjpeg @ 0x2f4c1c0] No JPEG data found in image
>     Last message repeated 35 times
> [avi @ 0x2f4b280] decoding for stream 0 failed
> [avi @ 0x2f4b280] Could not find codec parameters for stream 0 (Video:
> mjpeg (MSC2 / 0x3243534D), none(bt470bg/unknown/unknown), 480x360,
> lossless, 26617 kb/s): unspecified pixel format
> Consider increasing the value for the 'analyzeduration' and 'probesize'
> options
> Guessed Channel Layout for  Input Stream #0.1 : stereo
> Input #0, avi, from 'CapturedMovie.mrec':
>   Duration: 00:00:59.03, start: 0.000000, bitrate: 28030 kb/s
>     Stream #0:0: Video: mjpeg (MSC2 / 0x3243534D),
> none(bt470bg/unknown/unknown), 480x360, lossless, 26617 kb/s, SAR 1:1 DAR
> 4:3, 30 fps, 30 tbr, 30 tbn, 30 tbc
>     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
> channels, s16, 1411 kb/s
> At least one output file must be specified
> }}}

New description:

 FFmpeg supports Geutebrueck Multiscope II files from a security camera
 with FourCC MSC2, see ticket #4535: http://samples.ffmpeg.org/ffmpeg-
 bugs/trac/ticket4535
 All files contain a specific variant of mjpeg with an encoded resolution
 of 704x288, no audio. The files are supported~~ except for an incorrect
 aspect ratio~~.
 A user uploaded a file {{{CapturedMovie.mrec}}} that is an avi with Fourcc
 MSC2. It contains silent pcm audio and video frames of very different
 size, maybe I- and P-frames, possibly a screen capture codec with a four
 byte header but not mjpeg afaict.
 {{{
 $ ffmpeg -i CapturedMovie.mrec
 ffmpeg version N-78214-g9938697 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 16.101 / 55. 16.101
   libavcodec     57. 24.100 / 57. 24.100
   libavformat    57. 23.101 / 57. 23.101
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 27.100 /  6. 27.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 [mjpeg @ 0x2f4c1c0] bits 145 is invalid
 [mjpeg @ 0x2f4c1c0] No JPEG data found in image
     Last message repeated 3 times
 [mjpeg @ 0x2f4c1c0] bits 230 is invalid
 [mjpeg @ 0x2f4c1c0] No JPEG data found in image
 [mjpeg @ 0x2f4c1c0] bits 171 is invalid
 [mjpeg @ 0x2f4c1c0] bits 77 is invalid
 [mjpeg @ 0x2f4c1c0] bits 163 is invalid
 [mjpeg @ 0x2f4c1c0] No JPEG data found in image
 [mjpeg @ 0x2f4c1c0] bits 206 is invalid
 [mjpeg @ 0x2f4c1c0] No JPEG data found in image
     Last message repeated 1 times
 [mjpeg @ 0x2f4c1c0] bits 219 is invalid
 [mjpeg @ 0x2f4c1c0] No JPEG data found in image
 [mjpeg @ 0x2f4c1c0] bits 223 is invalid
 [mjpeg @ 0x2f4c1c0] bits 35 is invalid
 [mjpeg @ 0x2f4c1c0] No JPEG data found in image
     Last message repeated 82 times
 [mjpeg @ 0x2f4c1c0] bits 145 is invalid
 [mjpeg @ 0x2f4c1c0] No JPEG data found in image
     Last message repeated 35 times
 [avi @ 0x2f4b280] decoding for stream 0 failed
 [avi @ 0x2f4b280] Could not find codec parameters for stream 0 (Video:
 mjpeg (MSC2 / 0x3243534D), none(bt470bg/unknown/unknown), 480x360,
 lossless, 26617 kb/s): unspecified pixel format
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Guessed Channel Layout for  Input Stream #0.1 : stereo
 Input #0, avi, from 'CapturedMovie.mrec':
   Duration: 00:00:59.03, start: 0.000000, bitrate: 28030 kb/s
     Stream #0:0: Video: mjpeg (MSC2 / 0x3243534D),
 none(bt470bg/unknown/unknown), 480x360, lossless, 26617 kb/s, SAR 1:1 DAR
 4:3, 30 fps, 30 tbr, 30 tbn, 30 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
 channels, s16, 1411 kb/s
 At least one output file must be specified
 }}}

--

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5207#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list