[Live-devel] detect video resolution of an MPEG4 Stream

Scott Hays sdhays.neon.com.tw at gmail.com
Tue Sep 26 01:26:37 PDT 2006


This data is included in the VOL of the MPEG4 ES.  That should be included
as part of the "a=fmtp...." line.  It's the config part.  Check out RFC 3016
for more information.  You'll have to then parse that
data (as specified by the MPEG4 ES standard) for the resolution.

Scott

On 9/26/06, Oussama.Layaida at inrialpes.fr <Oussama.Layaida at inrialpes.fr>
wrote:
>
>
> Hi folks,
>
> I have a newbie question.
>
> I'm using Live555 library to stream an MPEG4 video stream from a vlc
> server.
> (almost) Everything is working well: I create an RTSP client, setup the
> session, get data frames into memory and successfully decode them using
> xvid or
> ffmpeg (thanks to Live55 developpers for the great job).
>
> The only obstructing thing is that I have to know the video resolution in
> advance, especially when it is not included in the SDP (x-resolution
> fmtp). Is
> it possible to get it from the RTP or the codec specific headers ? how
> this can
> be included in the Live555 ?
>
> thanks
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20060926/e811396f/attachment.html 


More information about the live-devel mailing list