MAX_RTP_FRAME_SIZE in libmpdemux/demux_rtp.cpp

Bug #296488 reported by Alexandre Poltorak
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)

Bug Description


I tried to post it as question, but have not got any answer, so I fill a bug.

Recently MPlayer team member Atilla increased on my request the MAX_RTP_FRAME_SIZE in libmpdemux/demux_rtp.cpp

Is it possible to apply this simple change to the main sources of MPlayer package on Ubuntu ? So we will not have to wait on the next release of MPlayer.

This change allow frames up to 5MB over RTP. This is needed for high resolution cameras such as Elphel.

It would be really nice to have a working mplayer out of the box with Ubuntu 8.10.

Best regards,

Revision history for this message
andrey.filippov (andrey-elphel) wrote :

Seems that one is fixed in Karmic,thanks!

But there is another one crippling working with Elphel cameras :-( - limit on the maximal frame width of just 2048 pixels - we have 2592.

And it seems to bother not just us:

The problem was fixed in MPlayer SVN on May,4 2009 but Karmic is using the one of April, 26.

r29256 | michael | 2009-05-04 19:34:16 -0600 (Mon, 04 May 2009) | 3 lines

Change VOFW for x86 to 5120, it allows larger images to be scaled and was
not slower. Other archs are not changed as the larger VOFW was slower on PPC.


Here is the fix in libswscale/swscale_internal.h that increases that limit to 5120 pixels:
#if ARCH_X86
#define VOFW 5120
#define VOFW 2048 // faster on PPC and not tested on others

Is there any way to propagate that change to the repository so we (and more important - our customers, many of whom are the first time users of GNU/Linux) will not need to download the MPlayer code form their SVN and compile it individually, like described on our wiki:


Revision history for this message
Reinhard Tartler (siretart) wrote :

comment #1 is actually bug #443264

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions