[FFmpeg-trac] #5921(undetermined:new): Can not read mjpeg from IP camera

FFmpeg trac at avcodec.org
Mon Oct 31 17:40:51 EET 2016


#5921: Can not read mjpeg from IP camera
-------------------------------------+-------------------------------------
             Reporter:  qqqzhouhk    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: I downloaded a FFmpeg demo from the internet. Tried to
 change the video source to IP camera, but it shows bugs as follows. BTW I
 use OC in Xcode
 How to reproduce:
 {{{
 self.video =[[XYQMovieObject alloc]
 initWithVideo:@"http://192.168.10.123:7060"];
 }}}


 The bug shows that
 {{{
 Input #0, mpjpeg, from 'http://192.168.10.123:7060':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown),
 640x480, 25 tbr, 25 tbn, 25 tbc
 [mpjpeg @ 0x7feadc818000] Expected boundary '--' not found, instead found
 a line of 8 bytes
 [mpjpeg @ 0x7feadc818000] Expected boundary '--' not found, instead found
 a line of 2 bytes
 }}}

 I don't know what to do to fix it. It works when I use other internet
 source of video like

 {{{
 self.video = [[XYQMovieObject alloc]
 initWithVideo:@"http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8"];
 }}}


 Can any one tell me what to do to debug that? I would really appreciate
 that. Thanks guys.

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


More information about the FFmpeg-trac mailing list