[FFmpeg-trac] #5023(undetermined:new): Can no longer read mjpeg from Mobotix camera

FFmpeg trac at avcodec.org
Sat Nov 21 16:13:05 CET 2015


#5023: Can no longer read mjpeg from Mobotix camera
-------------------------------------+-------------------------------------
             Reporter:  hackeron     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  regression   |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by hackeron):

 If I wget, it looks like standard mjpeg:

 {{{
 $ head -n 4 faststream.jpg\?noaudio
 --MOBOTIX_Fast_Serverpush^M
 Content-type: image/jpeg^M
 Content-length: 483524^M
 ^M
 }}}

 After the blank line is raw binary data for the jpeg image.

 Here is output from the working old version:

 {{{
 $ ffmpeg -i 'http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?noaudio' test.mkv
 ffmpeg version N-69470-g36adfa3 Copyright (c) 2000-2015 the FFmpeg
 developers
   built on Feb  1 2015 22:53:38 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
   configuration: --enable-pic --enable-shared --extra-ldflags=-ldl
 --enable-gpl --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-
 amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis
 --enable-libx264 --enable-nonfree --enable-version3 --extra-cflags=-fPIC
 --extra-ldflags=-fPIC
   libavutil      54. 18.100 / 54. 18.100
   libavcodec     56. 21.102 / 56. 21.102
   libavformat    56. 19.100 / 56. 19.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5.  9.103 /  5.  9.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [mjpeg @ 0x13a50e0] Format mjpeg detected only with low score of 25,
 misdetection possible!
 Input #0, mjpeg, from 'http://admin:meinsm@192.168.100.233/cgi-
 bin/faststream.jpg?noaudio':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
 1280x480 [SAR 1:1 DAR 8:3], 25 tbr, 1200k tbn, 25 tbc
 File 'test.mkv' already exists. Overwrite ? [y/N] y
 No pixel format specified, yuvj420p for H.264 encoding chosen.
 Use -pix_fmt yuv420p for compatibility with outdated media players.
 [libx264 @ 0x13a8e40] using SAR=1/1
 [libx264 @ 0x13a8e40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 [libx264 @ 0x13a8e40] profile High, level 3.1
 [libx264 @ 0x13a8e40] 264 - core 144 r2525 40bb568 - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, matroska, to 'test.mkv':
   Metadata:
     encoder         : Lavf56.19.100
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuvj420p(pc),
 1280x480 [SAR 1:1 DAR 8:3], q=-1--1, 25 fps, 1k tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.21.102 libx264
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 ^Came=   15 fps=5.9 q=0.0 size=       1kB time=00:00:00.00 bitrate=N/A
 }}}

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


More information about the FFmpeg-trac mailing list