[Live-devel] RTSP video decoding - packets too small
Ross Finlayson
finlayson at live555.com
Mon Sep 6 11:40:30 PDT 2010
>I'm using liveMedia library to implement an audio / video RTSP receiver.
>To do so, I have created a minimal MediumSink subclass, in which I
>do my decoding stuff (using libav* code).
>
>It works really fine with streamed audio, but I can't decode videos properly.
>I noticed that the frames I'm receiving have really small sizes (sth
>like 2000 bytes), and should be more around 60000 bytes to contain
>an 'image'.
You haven't said anything about what RTP payload format (codec) the
video is using. Please post an example of the SDP description
returned by the server (in response to the RTSP "DESCRIBE" command).
>PS : some interesting insight : when I try to read one of those
>videos with ffplay (small player contained in ffmpeg sources), it
>works just fine.
Have you tried using VLC?
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list