Opened 7 years ago

Closed 7 years ago

#2314 closed defect (fixed)

Can't receive RTP streams > 1500 bytes.

Reported by: babgvant Owned by:
Priority: normal Component: avformat
Version: unspecified Keywords: RTP
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Some Digital Cable Tuners use RTP packets larger than 1500 bytes, because of this the current implementation will not connect to their RTP streams. Fix is noted below.


Change: rtpdec.h

#define RTP_MAX_PACKET_LENGTH 8192 1500

Change: rtsp.c

static int rtp_read_header(AVFormatContext *s)

uint8_t recvbuf[1500];

uint8_t recvbuf[RTP_MAX_PACKET_LENGTH];

Change History (4)

comment:1 Changed 7 years ago by cehoyos

Please send patches to the ffmpeg-devel mailing list, they receive more attention there.

comment:2 Changed 7 years ago by michael

What is the largest packet size these receivers use ? Also please provide more information about the receivers. like exact name and manufactor

comment:3 Changed 7 years ago by babgvant

I believe that the largest packet size is 8192. The DCT I observed it with is a Ceton InfiniTV4 PCIe & USB, but the ATI one should use the same packet size as well.


comment:4 Changed 7 years ago by michael

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

ok, thanks
changes applied

Note: See TracTickets for help on using tickets.