[FFmpeg-trac] #6851(undetermined:new): rtsp with udp not working well

FFmpeg trac at avcodec.org
Mon Nov 20 19:39:31 EET 2017


#6851: rtsp with udp not working well
-------------------------------------+-------------------------------------
             Reporter:  dodo11       |                     Type:  defect
               Status:  new          |                 Priority:  critical
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  udp rtsp     |               Blocked By:
  h264                               |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 when i want to save rtsp stream to file i got lot of error like

 {{{
 [h264 @ 098e5c80] RTP: missed 198 packets
 [h264 @ 0ad4f500] error while decoding MB 21 9, bytestream (-5)
 }}}
 so the file  in loq quality and skip on frame
 the command i run :

 {{{
 ffmpeg -i rtsp://x.x.x.x/video -rtsp_stransport udp file.264
 }}}

 some facts:
 1)I can get this stream only on rtsp udp, (not tcp )
 2) When i "record" this stream to file with OpenRtsp/live55 I get no error
 , and exelent quality.so the answer "udp is not good protocol, it's loose
 package is not correct (another lib do it well)
 3) i get the same error if I save to file.avi/file.mp4/file.ts
 4)i don't want to use -c:v copy because I want to apply some filters.(v:c
 copy not always fix the problem)
 5)on resolution under 1080x1920  I got better results.


 thank you all!

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


More information about the FFmpeg-trac mailing list