[Live-devel] MP4V-ES
stage.nexvision at laposte.net
stage.nexvision at laposte.net
Tue Oct 12 10:48:05 PDT 2004
Thanks Ross for your answer,
I know this is more related to MPlayer (because it's done correctly in MPlayer), but I
would like to save the stream I receive as .BMP files. For that purpose, I'm using
libavcodec to decode the MP4V stream.
My problem is more a ffmpeg (libavcodec) problem than a protocol problem.
I've tried to decode the stream from openRTSP, and I-frame are decoded correctly.
However, P and B frame are not.
I don't really know how to configure the avcontext object to decode the stream
correctly. I'm not sure you've done it in MPlayer, but if you did, please tell me what
you did.
Thanks for all,
Cyril
On 11 Oct 2004 at 13:31, Ross Finlayson wrote:
> The RTP payload format for "video/MP4V-ES" (defined in RFC 3016) is very
> simple: MPEG-4 video frame data is packed simply into RTP packets, with no
> extra headers (apart from the usual 12-byte RTP header).
>
> In the LIVE.COM code, incoming RTP packets of this type are handled by the
> "MPEG4ESVideoRTPSource" class.
>
> That is correct.
>
> Another (simpler) thing you could do is just run "openRTSP" (see
> <http://www.live.com/openRTSP/>) on the stream (assuming that it has a
> "rtsp://" URL). This will output a file that contains just the raw MPEG-4
> video data - which is what you were trying to do.
>
>
> Ross Finlayson
> LIVE.COM
> <http://www.live.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20041012/77055193/attachment.html
More information about the live-devel
mailing list