[Live-devel] Problem trying to use libavcodec and live555
Shaswata Jash
shaswata at alumnux.com
Thu Oct 26 06:29:23 PDT 2006
All those classes derived from FramedFileSource and FramedFilter are
responsible to extract a complete media frame and to send it to
corresponding RTPSink. So will it not be better that libavcodec should be
used within these classes? If that is so, there is no need to change any
code within RTPSinks, they are just very perfect to encapsulate to form RTP
packets from those media frames (provided by classes derived from
FramedFileSource and FramedFilter ).
Also, you have probably mixed-matched between the AVPacket and real
RTPPackets. You can extract media data from AVPicture and then put that to
'fTo' (internal buffer defined by LIVE).
If you clarify further your requirements, then it will be easy to understand
the overall scheme of yours.
With regards,
Shaswata
----- Original Message -----
From: "Antonio Garcia" <buscarini at gmail.com>
To: <live-devel at ns.live555.com>
Sent: Thursday, October 26, 2006 5:06 PM
Subject: [Live-devel] Problem trying to use libavcodec and live555
> Hello,
>
> I'm trying to send video opened with libavcodec using liveMedia, but
> I haven't succeded. I have tried to pass the AVPacket member
> variables (data and size) to a MPEG1or2RTPSink, but it doesn't work.
> Each packet starts with 4 bytes of 0's, which is something that the
> live555 doesn't recognize (It says it's not a fragment or something
> like that).
> Does anyone know how to connect both libraries?
>
> Thanks in advance ,
> Antonio Garcia
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list