Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#3823 closed defect (invalid)

RTP encoding of MJPEG from Trendnet TV-IP651WI (IP cam) gives undecodable stream

Reported by: Krieger Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mjpeg rtp
Cc: andrey.od.utkin@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
RTP encoding of Trendnet TV-IP651WI IP camera produces undecodable stream.

Tested same scenario with Axis M1034-W IP camera, works fine, however, Axis uses yuvj420p pixel format

Stream #0:0, 1, 1/1200000: Video: mjpeg, yuvj420p(pc, bt470bg), 320x240 [SAR 1:1 DAR 4:3], 1/25, 25 tbr, 1200k tbn, 25 tbc

, while Trendnet uses yuvj422p.

I can provide FFmpeg developers with URL to camera's HTTP MJPEG stream, and TCP dumps i already have, on demand. Please email me to andrey.utkin@corp.bluecherry.net

The original stream plays well with

ffplay -loglevel debug -f mjpeg http://user:password@host/mjpeg.cgi

Stream generation:

 $ ffmpeg -f mjpeg -i 'http://user:password@host/mjpeg.cgi' -loglevel debug -vcodec copy -f rtp rtp://127.0.0.1:6666
ffmpeg version N-65153-gad99837 Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug  1 2014 16:44:34 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5)
  configuration: --enable-libfreetype --enable-gpl --enable-libx264 --enable-openssl --enable-nonfree
  libavutil      52. 94.100 / 52. 94.100
  libavcodec     55. 71.100 / 55. 71.100
  libavformat    55. 50.100 / 55. 50.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mjpeg'.
Reading option '-i' ... matched as input file with argument 'http://user:password@host/mjpeg.cgi'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option 'rtp://127.0.0.1:6666' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file http://user:password@host/mjpeg.cgi.
Applying option f (force format) with argument mjpeg.
Successfully parsed a group of options.
Opening an input file: http://user:password@host/mjpeg.cgi.
[http @ 0x38c7e20] request: GET /mjpeg.cgi HTTP/1.1
User-Agent: Lavf/55.50.100
Accept: */*
Range: bytes=0-
Connection: close
Host: host


[http @ 0x38c7e20] header='HTTP/1.0 401 Authorization Required'
[http @ 0x38c7e20] http_code=401
[http @ 0x38c7e20] header='Server: alphapd'
[http @ 0x38c7e20] header='Date: Fri Aug  1 11:07:45 2014'
[http @ 0x38c7e20] header='Pragma: no-cache'
[http @ 0x38c7e20] header='Cache-Control: no-cache'
[http @ 0x38c7e20] header='Content-type: text/html'
[http @ 0x38c7e20] header='WWW-Authenticate: Digest realm="TV-IP651WI",qop="auth", nonce="6caf2aac84f52b5ba40f611004c4e854"'
[http @ 0x38c7e20] header=''
[http @ 0x38c7e20] request: GET /mjpeg.cgi HTTP/1.1
User-Agent: Lavf/55.50.100
Accept: */*
Range: bytes=0-
Connection: close
Host: host
Authorization: Digest username="user",realm="TV-IP651WI",nonce="6caf2aac84f52b5ba40f611004c4e854",uri="/mjpeg.cgi",response="77447d73ecc891bfdb3c241f8123dc3e",qop="auth",cnonce="040464210c909882",nc=00000001


[http @ 0x38c7e20] header='HTTP/1.0 200 OK'
[http @ 0x38c7e20] http_code=200
[http @ 0x38c7e20] header='Server: alphapd'
[http @ 0x38c7e20] header='Date: Fri Aug  1 11:07:45 2014'
[http @ 0x38c7e20] header='Pragma: no-cache'
[http @ 0x38c7e20] header='Cache-Control: no-cache'
[http @ 0x38c7e20] header='Content-Type: multipart/x-mixed-replace;boundary=--video boundary--'
[http @ 0x38c7e20] header=''
[mjpeg @ 0x38c8960] Before avformat_find_stream_info() pos: 0 bytes read:104 seeks:0
[mjpeg @ 0x38d3d20] marker=d8 avail_size_in_buf=15222
[mjpeg @ 0x38d3d20] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x38d3d20] marker=c4 avail_size_in_buf=15220
[mjpeg @ 0x38d3d20] class=0 index=0 nb_codes=10
[mjpeg @ 0x38d3d20] class=1 index=0 nb_codes=249
[mjpeg @ 0x38d3d20] class=0 index=1 nb_codes=10
[mjpeg @ 0x38d3d20] class=1 index=1 nb_codes=249
[mjpeg @ 0x38d3d20] marker parser used 350 bytes (2800 bits)
[mjpeg @ 0x38d3d20] marker=db avail_size_in_buf=14868
[mjpeg @ 0x38d3d20] index=0
[mjpeg @ 0x38d3d20] qscale[0]: 2
[mjpeg @ 0x38d3d20] index=1
[mjpeg @ 0x38d3d20] qscale[1]: 3
[mjpeg @ 0x38d3d20] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x38d3d20] marker=c0 avail_size_in_buf=14734
[mjpeg @ 0x38d3d20] sof0: picture: 640x480
[mjpeg @ 0x38d3d20] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x38d3d20] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x38d3d20] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x38d3d20] pix fmt id 21111100
[mjpeg @ 0x38d3d20] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x38d3d20] escaping removed 172 bytes
[mjpeg @ 0x38d3d20] marker=da avail_size_in_buf=14715
[mjpeg @ 0x38d3d20] component: 0
[mjpeg @ 0x38d3d20] component: 1
[mjpeg @ 0x38d3d20] component: 2
[mjpeg @ 0x38d3d20] marker parser used 14542 bytes (116330 bits)
[mjpeg @ 0x38d3d20] marker=d9 avail_size_in_buf=128
[mjpeg @ 0x38d3d20] decode frame unused 128 bytes
[mjpeg @ 0x38c8960] All info found
[mjpeg @ 0x38c8960] After avformat_find_stream_info() pos: 15448 bytes read:15852 seeks:0 frames:1
Input #0, mjpeg, from 'http://user:password@host/mjpeg.cgi':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 1, 1/1200000: Video: mjpeg, yuvj422p(pc, bt470bg), 640x480, 1/25, 25 tbr, 1200k tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output file rtp://127.0.0.1:6666.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
Applying option f (force format) with argument rtp.
Successfully parsed a group of options.
Opening an output file: rtp://127.0.0.1:6666.
Successfully opened the file.
Output #0, rtp, to 'rtp://127.0.0.1:6666':
  Metadata:
    encoder         : Lavf55.50.100
    Stream #0:0, 0, 1/90000: Video: mjpeg, yuvj422p, 640x480, 1/25, q=2-31, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 55.50.100
m=video 6666 RTP/AVP 26

Press [q] to stop, [?] for help
frame=   50 fps= 16 q=-1.0 Lsize=     725kB time=00:00:02.00 bitrate=2971.6kbits/s    
video:740kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (http://user:password@host/mjpeg.cgi):
  Input stream #0:0 (video): 50 packets read (757944 bytes); 
  Total: 50 packets (757944 bytes) demuxed
Output file #0 (rtp://127.0.0.1:6666):
  Output stream #0:0 (video): 50 packets muxed (757944 bytes); 
  Total: 50 packets (757944 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x38d5220] Statistics: 0 seeks, 550 writeouts
[AVIOContext @ 0x38d36a0] Statistics: 759372 bytes read, 0 seeks
Received signal 2: terminating.

Playback log:

 $ ffplay -loglevel debug rtp://127.0.0.1:6666
ffplay version N-65153-gad99837 Copyright (c) 2003-2014 the FFmpeg developers
  built on Aug  1 2014 16:44:34 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5)
  configuration: --enable-libfreetype --enable-gpl --enable-libx264 --enable-openssl --enable-nonfree
  libavutil      52. 94.100 / 52. 94.100
  libavcodec     55. 71.100 / 55. 71.100
  libavformat    55. 50.100 / 55. 50.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[udp @ 0x7f3810001080] end receive buffer size reported is 131072   
[udp @ 0x7f3810001100] end receive buffer size reported is 131072
[rtp @ 0x7f38100008c0] Guessing on RTP content - if not received properly you need an SDP file describing it
[rtp @ 0x7f38100008c0] SDP:
v=0
c=IN IP4 127.0.0.1
m=video 6666 RTP/AVP 26

[udp @ 0x7f3810001fa0] end receive buffer size reported is 131072
[udp @ 0x7f3810001480] end receive buffer size reported is 131072
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15164B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15162
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15144
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=15010
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14590
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 50 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14571
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=3 x=3
[mjpeg @ 0x7f3810001960] marker parser used 1732 bytes (13856 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[rtp @ 0x7f38100008c0] All info foundB vq=    0KB sq=    0B f=0/0   
[rtp @ 0x7f38100008c0] Setting avg frame rate based on r frame rate
Input #0, rtp, from 'rtp://127.0.0.1:6666':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0, 21, 1/90000: Video: mjpeg, yuvj422p(pc, bt470bg), 640x480 [SAR 1:1 DAR 4:3], 1/90000, 25 fps, 25 tbr, 90k tbn, 90k tbc
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15164
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15162
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15144
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=15010
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14590
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 50 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14571
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=3 x=3
[mjpeg @ 0x7f3810001960] marker parser used 1732 bytes (13856 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
Video frame changed from size:0x0 format:none serial:-1 to size:640x480 format:yuvj422p serial:1
detected 4 logical cores
[ffplay_buffer @ 0x7f38080a1620] Setting 'video_size' to value '640x480'
[ffplay_buffer @ 0x7f38080a1620] Setting 'pix_fmt' to value '13'
[ffplay_buffer @ 0x7f38080a1620] Setting 'time_base' to value '1/90000'
[ffplay_buffer @ 0x7f38080a1620] Setting 'pixel_aspect' to value '1/1'
[ffplay_buffer @ 0x7f38080a1620] Setting 'frame_rate' to value '25/1'
[ffplay_buffer @ 0x7f38080a1620] w:640 h:480 pixfmt:yuvj422p tb:1/90000 fr:25/1 sar:1/1 sws_param:
[ffplay_crop @ 0x7f38080a19c0] Setting 'out_w' to value 'floor(in_w/2)*2'
[ffplay_crop @ 0x7f38080a19c0] Setting 'out_h' to value 'floor(in_h/2)*2'
[auto-inserted scaler 0 @ 0x7f38080a29e0] Setting 'flags' to value '4'
[auto-inserted scaler 0 @ 0x7f38080a29e0] w:iw h:ih flags:'4' interl:0
[ffplay_crop @ 0x7f38080a19c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'ffplay_buffer' and the filter 'ffplay_crop'
[AVFilterGraph @ 0x7f3808006be0] query_formats: 3 queried, 1 merged, 1 already done, 0 delayed
[swscaler @ 0x7f38080a3460] deprecated pixel format used, make sure you did set range correctly
[auto-inserted scaler 0 @ 0x7f38080a29e0] w:640 h:480 fmt:yuvj422p sar:1/1 -> w:640 h:480 fmt:yuv420p sar:1/1 flags:0x4
[ffplay_crop @ 0x7f38080a19c0] w:640 h:480 sar:1/1 -> w:640 h:480 sar:1/1
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15143
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15141
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15123
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14989
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14569
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 40 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14550
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] mjpeg_decode_dc: bad vlc: 0:0 (0x7f3810004660)
[mjpeg @ 0x7f3810001960] error dc
[mjpeg @ 0x7f3810001960] error y=2 x=9
[mjpeg @ 0x7f3810001960] marker parser used 1228 bytes (9821 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15050B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15048
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15030
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14896
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14476
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 40 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14457
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=0 x=9
[mjpeg @ 0x7f3810001960] marker parser used 162 bytes (1291 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15106
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15104
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15086
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14952
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14532
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 51 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14513
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=7 x=17
[mjpeg @ 0x7f3810001960] marker parser used 4989 bytes (39907 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15096B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15094
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15076
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14942
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14522
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 43 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14503
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 71
[mjpeg @ 0x7f3810001960] error y=5 x=27
[mjpeg @ 0x7f3810001960] marker parser used 3359 bytes (26867 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15103B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15101
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15083
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14949
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14529
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 39 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14510
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=4 x=19
[mjpeg @ 0x7f3810001960] marker parser used 2628 bytes (21018 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15108B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15106
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15088
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14954
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14534
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 43 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14515
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 65
[mjpeg @ 0x7f3810001960] error y=3 x=29
[mjpeg @ 0x7f3810001960] marker parser used 2174 bytes (17386 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15090B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15088
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15070
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14936
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14516
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 42 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14497
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 68
[mjpeg @ 0x7f3810001960] error y=3 x=33
[mjpeg @ 0x7f3810001960] marker parser used 2185 bytes (17478 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15114B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15112
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15094
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14960
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14540
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 42 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14521
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=5 x=37
[mjpeg @ 0x7f3810001960] marker parser used 3422 bytes (27373 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15122B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15120
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15102
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14968
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14548
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 38 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14529
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=1 x=33
[mjpeg @ 0x7f3810001960] marker parser used 1061 bytes (8487 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15085B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15083
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15065
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14931
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14511
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 46 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14492
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] mjpeg_decode_dc: bad vlc: 0:0 (0x7f3810004660)
[mjpeg @ 0x7f3810001960] error dc
[mjpeg @ 0x7f3810001960] error y=5 x=12
[mjpeg @ 0x7f3810001960] marker parser used 3205 bytes (25638 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15071B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15069
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15051
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14917
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14497
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 53 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14478
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 65
[mjpeg @ 0x7f3810001960] error y=0 x=32
[mjpeg @ 0x7f3810001960] marker parser used 517 bytes (4132 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15126B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15124
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15106
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14972
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14552
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 51 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14533
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 74
[mjpeg @ 0x7f3810001960] error y=0 x=33
[mjpeg @ 0x7f3810001960] marker parser used 452 bytes (3612 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15137B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15135
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15117
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14983
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14563
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 51 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14544
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 68
[mjpeg @ 0x7f3810001960] error y=0 x=18
[mjpeg @ 0x7f3810001960] marker parser used 252 bytes (2015 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15095B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15093
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15075
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14941
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14521
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 39 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14502
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 65
[mjpeg @ 0x7f3810001960] error y=6 x=10
[mjpeg @ 0x7f3810001960] marker parser used 3618 bytes (28944 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15084B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15082
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15064
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14930
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14510
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 37 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14491
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 65
[mjpeg @ 0x7f3810001960] error y=6 x=2
[mjpeg @ 0x7f3810001960] marker parser used 3688 bytes (29503 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15240B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15238
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15220
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=15086
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14666
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 46 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14647
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] mjpeg_decode_dc: bad vlc: 0:0 (0x7f3810004660)
[mjpeg @ 0x7f3810001960] error dc
[mjpeg @ 0x7f3810001960] error y=3 x=36
[mjpeg @ 0x7f3810001960] marker parser used 2208 bytes (17664 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15043B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15041
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15023
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14889
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14469
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 40 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14450
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 68
[mjpeg @ 0x7f3810001960] error y=0 x=34
[mjpeg @ 0x7f3810001960] marker parser used 483 bytes (3857 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15123B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15121
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15103
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14969
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14549
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 48 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14530
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 69
[mjpeg @ 0x7f3810001960] error y=3 x=4
[mjpeg @ 0x7f3810001960] marker parser used 1780 bytes (14237 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15014B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15012
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=14994
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14860
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14440
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 49 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14421
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] mjpeg_decode_dc: bad vlc: 0:1 (0x7f3810004678)
[mjpeg @ 0x7f3810001960] error dc
[mjpeg @ 0x7f3810001960] error y=2 x=38
[mjpeg @ 0x7f3810001960] marker parser used 1799 bytes (14386 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15191B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15189
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15171
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=15037
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14617
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 57 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14598
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 65
[mjpeg @ 0x7f3810001960] error y=2 x=31
[mjpeg @ 0x7f3810001960] marker parser used 1579 bytes (12626 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15192B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15190
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15172
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=15038
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14618
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 40 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14599
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 67
[mjpeg @ 0x7f3810001960] error y=3 x=34
[mjpeg @ 0x7f3810001960] marker parser used 2195 bytes (17553 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15011B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15009
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=14991
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14857
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14437
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 45 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14418
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 65
[mjpeg @ 0x7f3810001960] error y=6 x=12
[mjpeg @ 0x7f3810001960] marker parser used 3935 bytes (31475 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15060B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15058
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15040
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14906
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14486
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 46 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14467
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 69
[mjpeg @ 0x7f3810001960] error y=3 x=22
[mjpeg @ 0x7f3810001960] marker parser used 1983 bytes (15861 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15062B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15060
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15042
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14908
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14488
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 47 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14469
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 65
[mjpeg @ 0x7f3810001960] error y=8 x=0
[mjpeg @ 0x7f3810001960] marker parser used 5570 bytes (44556 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15082B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15080
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15062
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14928
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14508
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 45 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14489
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=3 x=2
[mjpeg @ 0x7f3810001960] marker parser used 1721 bytes (13761 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15190B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15188
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15170
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=15036
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14616
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 42 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14597
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 66
[mjpeg @ 0x7f3810001960] error y=3 x=29
[mjpeg @ 0x7f3810001960] marker parser used 2224 bytes (17792 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15130B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15128
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15110
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14976
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14556
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 36 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14537
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] mjpeg_decode_dc: bad vlc: 0:0 (0x7f3810004660)
[mjpeg @ 0x7f3810001960] error dc
[mjpeg @ 0x7f3810001960] error y=2 x=12
[mjpeg @ 0x7f3810001960] marker parser used 1358 bytes (10858 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15139B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15137
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15119
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14985
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14565
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 54 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14546
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=3 x=13
[mjpeg @ 0x7f3810001960] marker parser used 1966 bytes (15726 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15153B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15151
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15133
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14999
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14579
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 44 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14560
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 64
[mjpeg @ 0x7f3810001960] error y=1 x=36
[mjpeg @ 0x7f3810001960] marker parser used 1153 bytes (9221 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15151B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15149
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15131
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14997
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14577
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 36 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14558
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] mjpeg_decode_dc: bad vlc: 0:0 (0x7f3810004660)
[mjpeg @ 0x7f3810001960] error dc
[mjpeg @ 0x7f3810001960] error y=6 x=21
[mjpeg @ 0x7f3810001960] marker parser used 4015 bytes (32114 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes
[mjpeg @ 0x7f3810001960] marker=d8 avail_size_in_buf=15137B f=0/0   
[mjpeg @ 0x7f3810001960] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x7f3810001960] marker=e0 avail_size_in_buf=15135
[mjpeg @ 0x7f3810001960] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x7f3810001960] marker=db avail_size_in_buf=15117
[mjpeg @ 0x7f3810001960] index=0
[mjpeg @ 0x7f3810001960] qscale[0]: 2
[mjpeg @ 0x7f3810001960] index=1
[mjpeg @ 0x7f3810001960] qscale[1]: 3
[mjpeg @ 0x7f3810001960] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=14983
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251
[mjpeg @ 0x7f3810001960] marker parser used 418 bytes (3344 bits)
[mjpeg @ 0x7f3810001960] marker=c0 avail_size_in_buf=14563
[mjpeg @ 0x7f3810001960] sof0: picture: 640x480
[mjpeg @ 0x7f3810001960] component 0 2:1 id: 0 quant:0
[mjpeg @ 0x7f3810001960] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x7f3810001960] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x7f3810001960] pix fmt id 21111100
[mjpeg @ 0x7f3810001960] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x7f3810001960] escaping removed 48 bytes
[mjpeg @ 0x7f3810001960] marker=da avail_size_in_buf=14544
[mjpeg @ 0x7f3810001960] component: 0
[mjpeg @ 0x7f3810001960] component: 1
[mjpeg @ 0x7f3810001960] component: 2
[mjpeg @ 0x7f3810001960] error count: 65
[mjpeg @ 0x7f3810001960] error y=0 x=2
[mjpeg @ 0x7f3810001960] marker parser used 46 bytes (368 bits)
[mjpeg @ 0x7f3810001960] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x7f3810001960] decode frame unused 0 bytes

Attachments (2)

422.jpg (25.0 KB) - added by cehoyos 3 years ago.
orig.mkv (2.1 MB) - added by andrey.utkin 3 years ago.
Arecont mjpeg camera stream saved

Change History (23)

comment:1 Changed 4 years ago by Krieger

When i try to RTPize a yuv422p MJPEG-encoded stream generated by ffmpeg itself, i get clear errors:

 $ ffmpeg -f lavfi -i testsrc -pix_fmt yuv422p -vcodec mjpeg -f rtp rtp://127.0.0.1:6666
ffmpeg version N-65153-gad99837 Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug  1 2014 16:44:34 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5)
  configuration: --enable-libfreetype --enable-gpl --enable-libx264 --enable-openssl --enable-nonfree
  libavutil      52. 94.100 / 52. 94.100
  libavcodec     55. 71.100 / 55. 71.100
  libavformat    55. 50.100 / 55. 50.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'yuv422p' for codec 'mjpeg', auto-selecting format 'yuvj422p'
[swscaler @ 0x2a54fa0] deprecated pixel format used, make sure you did set range correctly
Output #0, rtp, to 'rtp://127.0.0.1:6666':
  Metadata:
    encoder         : Lavf55.50.100
    Stream #0:0: Video: mjpeg, yuvj422p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc55.71.100 mjpeg
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 55.50.100
m=video 6666 RTP/AVP 26
b=AS:200

Press [q] to stop, [?] for help
[rtp @ 0x2a68b80] Only 1x1 chroma blocks are supported. Aborted!
    Last message repeated 409 times
[rtp @ 0x2a68b80] Only 1x1 chroma blocks are supported. Aborted!ate=   0.0kbits/s    
    Last message repeated 407 times
[rtp @ 0x2a68b80] Only 1x1 chroma blocks are supported. Aborted!ate=   0.0kbits/s    
    Last message repeated 368 times

Does it mean that yuv422p is not supported by FFmpeg's MJPEG RTP packetizing code (and in the case of camera stream this error is not shown because of some confusion or extra data coming from HTTP)?

comment:2 Changed 4 years ago by cehoyos

  • Version changed from unspecified to git-master

Is network input required to reproduce your issue or is it also reproducible with file input?

comment:3 Changed 4 years ago by Krieger

Sorry for delay.
Made a dump.mkv file (https://dl.dropboxusercontent.com/u/43104344/dump.mkv), taken this way:

 $ ffmpeg -loglevel debug -f mjpeg -use_wallclock_as_timestamps 1 -i 'http://user:password@host/mjpeg.cgi' -codec copy trendnet_rtp/dump.mkv
ffmpeg version N-65153-gad99837 Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug  1 2014 16:44:34 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5)
  configuration: --enable-libfreetype --enable-gpl --enable-libx264 --enable-openssl --enable-nonfree
  libavutil      52. 94.100 / 52. 94.100
  libavcodec     55. 71.100 / 55. 71.100
  libavformat    55. 50.100 / 55. 50.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100

The issue is indeed reproduced if you stream RTP this way:

ffmpeg -re -i trendnet_rtp/dump.mkv -loglevel debug  -vcodec copy -f rtp rtp://127.0.0.1:6666

comment:4 Changed 4 years ago by Krieger

Any updates?
Is that correct that yuv422p is not supported by FFmpeg's MJPEG RTP packetizing code?

comment:5 follow-up: Changed 4 years ago by thovo

Could you re-upload your example file "dump.mkv"?

comment:6 in reply to: ↑ 5 Changed 4 years ago by Krieger

Replying to thovo:

Could you re-upload your example file "dump.mkv"?

That file was removed from all storages, sorry. But there's a chance that camera owner will take a dump of the stream from it. I'll update the ticket if i get such a file.

comment:7 Changed 3 years ago by cehoyos

I believe the issue is reproducible with the following commands:

$ ffplay rtp://127.0.0.1:5004
$ ffmpeg -f lavfi -i testsrc -vcodec mjpeg -f rtp -pix_fmt yuvj422p rtp://127.0.0.1:5004

Only yuvj420p is supported.

comment:8 Changed 3 years ago by runge_mar

There is also a yuvj422p demo file here:

https://trac.ffmpeg.org/attachment/ticket/4317/samplevideo.mjpeg

I have a webcam that produces yuvj422p mjpeg streams. I can provide more yuvj422p mjpeg demo files to help enabling ffmpeg to at least play them back.

comment:9 follow-up: Changed 3 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

My command line from comment:7 cannot work because the FFmpeg mjpeg encoder's 4:2:2 output is not compatible with rfc 2435, I opened ticket #4709.
The samplevideo.mjpeg sample cannot be sent over rtp because it uses non-standard Huffman tables which the rfc also doesn't allow. A patch was just merged that prints an error now instead of silently sending an invalid stream. My guess is that dump.mkv had the same issue.
There is still an issue with quantisation tables (that I will try to fix) but it isn't easy to trigger because of above issues.

Changed 3 years ago by cehoyos

comment:10 in reply to: ↑ 9 Changed 3 years ago by cehoyos

Replying to cehoyos:

The samplevideo.mjpeg sample cannot be sent over rtp because it uses non-standard Huffman tables which the rfc also doesn't allow. A patch was just merged that prints an error now instead of silently sending an invalid stream.

My guess is that dump.mkv had the same issue.

My guess was correct, this was sent:

[mjpeg @ 0x38d3d20] marker=c4 avail_size_in_buf=15220
[mjpeg @ 0x38d3d20] class=0 index=0 nb_codes=10
[mjpeg @ 0x38d3d20] class=1 index=0 nb_codes=249
[mjpeg @ 0x38d3d20] class=0 index=1 nb_codes=10
[mjpeg @ 0x38d3d20] class=1 index=1 nb_codes=249

And this is what the decoder on the receiving side sees:

[mjpeg @ 0x7f3810001960] marker=c4 avail_size_in_buf=15010
[mjpeg @ 0x7f3810001960] class=0 index=0 nb_codes=12
[mjpeg @ 0x7f3810001960] class=0 index=1 nb_codes=12
[mjpeg @ 0x7f3810001960] class=1 index=0 nb_codes=251
[mjpeg @ 0x7f3810001960] class=1 index=1 nb_codes=251

Thanks to the original debug output!

There is still an issue with quantisation tables (that I will try to fix) but it isn't easy to trigger because of above issues.

Should be fixed in 9901e5318730ad5f9fb3272aa370e7affe168ddb
I attached a sample that allows testing with jpeg 4:2:2.

comment:11 Changed 3 years ago by andrey.utkin

  • Resolution invalid deleted
  • Status changed from closed to reopened

With a build of b3f8d871eeda38991108db7151e6c396808b22fe (Oct 8 2015), I get "error RFC 2435 requires standard Huffman tables for jpeg" and no output on RTP encoding of yuv422p JPEG stream. The same stream is encoded with artifacts with a build of 7f64a7503b19b39f1251e4380987034c569bebf5 (Apr 11 2015).

@cehoyos, according to your last comment this is not intended behaviour, as you seem to strive to fix this case completely. Also RFC seem to allow custom Huffman tables, but I may be missing something...

comment:12 follow-up: Changed 3 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from reopened to closed

Do you think the error message can be improved?

comment:13 in reply to: ↑ 12 ; follow-up: Changed 3 years ago by andrey.utkin

Replying to cehoyos:

Do you think the error message can be improved?

I think cehoyos' kindness can be improved.

Is your own 422.jpg attachment intended to fail RTP encoding? It is unclear from your comment. Actually, it fails.
The log of just-pulled fresh git master HEAD:

ffmpeg -loop 0 -i /tmp/422.jpg -c copy -f rtp rtp://127.0.0.1:7777 | tee /tmp/422.sdp
ffmpeg version N-76860-g72eaf72 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3)
  configuration: --enable-debug=3 --disable-optimizations --extra-cflags='-O0 -g3 -ggdb3' --enable-pic --disable-stripping --enable-openssl --enable-protocol=file --enable-protocol=pipe --enable-protocol=http --enable-protocol=https --enable-muxer=matroska --enable-muxer=mjpeg --enable-muxer=rtp --enable-muxer=mp4 --enable-muxer=rtsp --enable-muxer=rawvideo --enable-muxer=data --enable-demuxer=rtsp --enable-demuxer=matroska --enable-demuxer=mjpeg --enable-decoder=h264 --enable-decoder=mpeg4 --enable-decoder=mjpeg --enable-parser=h264 --enable-parser=mpeg4video --enable-parser=mjpeg --enable-encoder=mjpeg --enable-encoder=mpeg4 --enable-encoder=rawvideo --enable-encoder=libx264 --enable-libx264 --enable-gpl --enable-nonfree --enable-libfreetype --enable-libopenh264 --enable-libvpx --enable-encoder=libopenh264
  libavutil      55.  9.100 / 55.  9.100
  libavcodec     57. 16.100 / 57. 16.100
  libavformat    57. 19.100 / 57. 19.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 @ 0x31a9b80] Changing bps to 8
Input #0, image2, from '/tmp/422.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 5109 kb/s
    Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 256x256 [SAR 1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
Output #0, rtp, to 'rtp://127.0.0.1:7777':
  Metadata:
    encoder         : Lavf57.19.100
    Stream #0:0: Video: mjpeg, yuvj422p, 256x256 [SAR 1:1 DAR 1:1], q=2-31, 25 tbr, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 57.19.100
m=video 7777 RTP/AVP 26

[rtp @ 0x31b1180] RFC 2435 requires standard Huffman tables for jpeg
frame=    1 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.04 bitrate=   5.6kbits/s    
video:25kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

comment:14 in reply to: ↑ 13 ; follow-up: Changed 3 years ago by cehoyos

Replying to andrey.utkin:

Is your own 422.jpg attachment intended to fail RTP encoding?

When I attached it, I had not realized the need to provide standard huffman tables for jpeg-over-rtp and the check in FFmpeg had not existed yet. The existing check is too strict and has to be improved.

comment:15 in reply to: ↑ 14 ; follow-up: Changed 3 years ago by andrey.utkin

Replying to cehoyos:

Replying to andrey.utkin:

Is your own 422.jpg attachment intended to fail RTP encoding?

When I attached it, I had not realized the need to provide standard huffman tables for jpeg-over-rtp and the check in FFmpeg had not existed yet. The existing check is too strict and has to be improved.

Could you please point what has to be improved and where in code?
Or would you consider to fix this soon for a donation? YUV422P became quite common for MJPEG streaming, so it is important (for our use case) to support it. You can find a load of YUV422P MJPEG streams here: http://www.mjpeg.net/

comment:16 in reply to: ↑ 15 Changed 3 years ago by cehoyos

Replying to andrey.utkin:

Replying to cehoyos:

Replying to andrey.utkin:

Is your own 422.jpg attachment intended to fail RTP encoding?

When I attached it, I had not realized the need to provide standard huffman tables for jpeg-over-rtp and the check in FFmpeg had not existed yet. The existing check is too strict and has to be improved.

Could you please point what has to be improved and where in code?

I pushed a change, please test.

Changed 3 years ago by andrey.utkin

Arecont mjpeg camera stream saved

comment:17 Changed 3 years ago by andrey.utkin

Working on a patch to support large JPEGs over RTP: https://github.com/bluecherrydvr/ffmpeg/commit/0f15de1bb10d8afa6c0fcbaa5eb1368e731a7b70

This patch needs to be applied to test the source in orig.mkv.

So, when it is used this way:
ffmpeg -re -i /tmp/orig.mkv -c copy -f rtp rtp://127.0.0.1:7777 -loglevel debug | tee /tmp/sdp
with
ffplay -i /tmp/sdp

The encoding side shows no errors, but ffplay gives decoding errors:

ffplay version N-77132-g0f15de1 Copyright (c) 2003-2015 the FFmpeg developers
  built with gcc 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3)
  configuration: --enable-debug=3 --disable-optimizations --extra-cflags='-O0 -g3 -ggdb3' --enable-pic --disable-stripping --enable-openssl --enable-protocol=file --enable-protocol=pipe --enable-protocol=http --enable-protocol=https --enable-muxer=matroska --enable-muxer=mjpeg --enable-muxer=rtp --enable-muxer=mp4 --enable-muxer=rtsp --enable-muxer=rawvideo --enable-muxer=data --enable-demuxer=rtsp --enable-demuxer=matroska --enable-demuxer=mjpeg --enable-decoder=h264 --enable-decoder=mpeg4 --enable-decoder=mjpeg --enable-parser=h264 --enable-parser=mpeg4video --enable-parser=mjpeg --enable-encoder=mjpeg --enable-encoder=mpeg4 --enable-encoder=rawvideo --enable-encoder=libx264 --enable-libx264 --enable-gpl --enable-nonfree --enable-libfreetype --enable-libopenh264 --enable-libvpx --enable-encoder=libopenh264
  libavutil      55. 10.100 / 55. 10.100
  libavcodec     57. 17.100 / 57. 17.100
  libavformat    57. 19.100 / 57. 19.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 20.100 /  6. 20.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mjpeg @ 0x7fe9b4000e60] Changing bps to 8    0KB sq=    0B f=0/0   
[sdp @ 0x7fe9b4001760] max delay reached. need to consume packet0   
[mjpeg @ 0x7fe9b4000e60] RTP: missed 38 packets
Input #0, sdp, from '/tmp/s':q=    0KB vq=    0KB sq=    0B f=0/0   
  Metadata:
    title           : No Name
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 2048x1536 [SAR 1:1 DAR 4:3], 14.17 tbr, 90k tbn, 90k tbc
[mjpeg @ 0x7fe9b4000e60] mjpeg_decode_dc: bad vlc: 0:0 (0x7fe9b4008fc0)
[mjpeg @ 0x7fe9b4000e60] error dc
[mjpeg @ 0x7fe9b4000e60] error y=0 x=16
[swscaler @ 0x7fe9ac61b260] deprecated pixel format used, make sure you did set range correctly
[mjpeg @ 0x7fe9b4000e60] mjpeg_decode_dc: bad vlc: 0:0 (0x7fe9b4008fc0)
[mjpeg @ 0x7fe9b4000e60] error dc
[mjpeg @ 0x7fe9b4000e60] error y=0 x=16
[mjpeg @ 0x7fe9b4000e60] mjpeg_decode_dc: bad vlc: 0:0 (0x7fe9b4008fc0)
[mjpeg @ 0x7fe9b4000e60] error dc
[mjpeg @ 0x7fe9b4000e60] error y=0 x=16
[mjpeg @ 0x7fe9b4000e60] mjpeg_decode_dc: bad vlc: 0:0 (0x7fe9b4008fc0)
[mjpeg @ 0x7fe9b4000e60] error dc
[mjpeg @ 0x7fe9b4000e60] error y=0 x=16

When I try synthetic yuvj422p source with ffmpeg -f lavfi -i testsrc,format=pix_fmts=yuvj422p -c mjpeg -f rtp rtp://127.0.0.1:7777 -loglevel debug it says Only 1x1 chroma blocks are supported. Debugger shows the checked scaling factor values are 0x18 for Cb and Cr components in this case, and they are 0x17 here when ffmpeg does rtp encoding from ready mjpeg stream in above case, despite these bytes are 0x11 in original file. I find this strange and I mention this detail just for your information.

Is rtp encoding of yuvj422p MJPEG supposed to fail here? Or is it related not to "pixel format", but to another property of stream?

comment:18 Changed 3 years ago by andrey.utkin

  • Cc andrey.od.utkin@gmail.com added

comment:19 follow-up: Changed 3 years ago by cehoyos

Please send your patch to the the development mailing list for review (thank you for looking at this) and please read the first sentence of comment:9 (again).

comment:20 in reply to: ↑ 19 ; follow-up: Changed 3 years ago by andrey.utkin

Replying to cehoyos:

Please send your patch to the the development mailing list for review (thank you for looking at this) and please read the first sentence of comment:9 (again).

Understood the point of comment:9, but could you give at last a bare idea what is wrong with orig.mkv case? Is it supposed to be failing at RTP encoding (but doesn't), or the decoder is wrong?

Of course I will submit my patch for review.

comment:21 in reply to: ↑ 20 Changed 3 years ago by cehoyos

Replying to andrey.utkin:

Replying to cehoyos:

please read the first sentence of comment:9 (again).

Understood the point of comment:9, but could you give at last a bare idea what is wrong with orig.mkv case?

I have no idea, sorry!

Note: See TracTickets for help on using tickets.