[vlc-devel] [PATCH] rtp: JPEG packetization

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Aug 28 23:17:58 CEST 2012


On Tue, Aug 28, 2012 at 11:14 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
>    Hello,
>
> On Tuesday 28 August 2012, Samuel Pitoiset wrote:
>> > +        /* Type-specific:8, Fragment Offset:24, Type:8, Q:8, Width:8,
>> > Height:8 */ +        uint64_t header = ((uint64_t)0 << 56) |
>> > ((uint64_t)i_off << 32) | +                          (0 << 24) | (0 <<
>> > 16) | (39 << 8) | 29;
>>
>> The width and the height of frames shouldn't be hardcoded but I don't
>> know how to access to these values.... hint?
>
> You mean the video pixel dimensions?

Exactly.

> It should be in the format but this won't be available anymore at that time.
> The RTP packetizers should get their own proper (module) abstraction. Then
> each packetizer instance could cleanly retain whatever data it needs.

mmh... so, do you have any ideas to retrieve them ?

-- 
Best regards,
Samuel Pitoiset.



More information about the vlc-devel mailing list