[FFmpeg-trac] #5023(ffmpeg:new): Can no longer read mjpeg from Mobotix camera
FFmpeg
trac at avcodec.org
Sat Nov 21 15:49:43 CET 2015
#5023: Can no longer read mjpeg from Mobotix camera
------------------------------------+--------------------------------------
Reporter: hackeron | Type: defect
Status: new | Priority: critical
Component: ffmpeg | Version: git-master
Keywords: regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+--------------------------------------
Summary of the bug: Older version of ffmpeg can read mjpeg stream from a
Mobotix IP camera without issues. The latest version from git cannot.
How to reproduce:
{{{
% ffmpeg -i 'http://192.168.100.233/cgi-bin/faststream.jpg?noaudio' -y
test.mkv
}}}
In version: N-69470-g36adfa3 (2015-02-01 22:53:38) - this command records
the stream without any issues.
In version: git-2015-11-18-518742b I see the following:
{{{
$ ffmpeg -i 'http://192.168.100.233/cgi-bin/faststream.jpg?noaudio' -y
test.mkv
ffmpeg version git-2015-11-18-518742b Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
configuration: --enable-libx264 --enable-libfdk_aac --enable-gpl
--enable-nonfree --enable-shared --enable-pic
libavutil 55. 6.100 / 55. 6.100
libavcodec 57. 15.100 / 57. 15.100
libavformat 57. 15.100 / 57. 15.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 15.100 / 6. 15.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[mjpeg @ 0xeaa000] Changeing bps to 8
Input #0, mpjpeg, from 'http://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, 25 tbn, 25 tbc
No pixel format specified, yuvj420p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0xeacfe0] using SAR=1/1
[libx264 @ 0xeacfe0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0xeacfe0] profile High, level 3.1
[libx264 @ 0xeacfe0] 264 - core 148 r2 7599210 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2015 - 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 : Lavf57.15.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 : Lavc57.15.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Press [q] to stop, [?] for help
http://192.168.100.233/cgi-bin/faststream.jpg?noaudio: Invalid data found
when processing input
frame= 1 fps=0.0 q=28.0 Lsize= 95kB time=00:00:00.04
bitrate=19481.6kbits/s
video:94kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.785316%
[libx264 @ 0xeacfe0] frame I:1 Avg QP:30.73 size: 95963
[libx264 @ 0xeacfe0] mb I I16..4: 2.2% 92.9% 4.9%
[libx264 @ 0xeacfe0] 8x8 transform intra:92.9%
[libx264 @ 0xeacfe0] coded y,uvDC,uvAC intra: 91.8% 74.8% 30.4%
[libx264 @ 0xeacfe0] i16 v,h,dc,p: 25% 35% 6% 35%
[libx264 @ 0xeacfe0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 14% 26% 6% 7%
9% 9% 7% 10%
[libx264 @ 0xeacfe0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 13% 16% 6% 7%
15% 7% 6% 8%
[libx264 @ 0xeacfe0] i8c dc,h,v,p: 56% 23% 17% 3%
[libx264 @ 0xeacfe0] kb/s:19192.60
}}}
Any ideas?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5023>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list