Opened 7 months ago

Last modified 7 months ago

#6851 new defect

rtsp with udp not working well

Reported by: dodo11 Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: udp rtsp
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


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 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!

Change History (1)

comment:1 Changed 7 months ago by cehoyos

  • Keywords h264 removed
  • Priority changed from critical to normal

Please provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

Last edited 7 months ago by cehoyos (previous) (diff)
Note: See TracTickets for help on using tickets.