[Live-devel] OpenRTSP with Open Broadcast Software
Jeff Shanab
jshanab at jfs-tech.com
Sun Sep 7 03:37:30 PDT 2014
Does open broadcast need raw video as input? Live555 is a streamer only.
I decoded my frames using libavcodec(FFMPEG) and then apply them to a
texture using opengl or directx on windows,linux,mac,android or iphone.
same procedure for all.
Libavcodec decodes to YUV422 data, That is a luminance value for each pixel
and half as many of each chroma values. I used a shader in HSGL to convert
the YUV to RGBA in video hardware, but libavcodec has a sws_scale function
that can scale and color convert in main memory.
http://en.wikipedia.org/wiki/YUV
http://en.wikipedia.org/wiki/Libavcodec
useful but dated:
http://blog.tomaka17.com/2012/03/libavcodeclibavformat-tutorial/
On Fri, Sep 5, 2014 at 1:38 AM, Joy Carlos Gomes <cgomes at iinet.com> wrote:
> Hi I am trying to receive an RTSP stream into Open Broadcast Software. I
> currently use VLC (libVLC), however we have some hardware issues which
> causes BYE messages to be sent. VLC doesn't handle these gracefully, so I
> am looking for another RTSP streamer.
>
> *Question:*
> libVLC is providing pixelData that is set on the texture. I am wondering
> how do I get the pixelData via openRTSP? I am new to video programming and
> wondering where to start.
>
> *Call to set pixel data on OBS texture:*
> GetTexture()->SetImage(*pixelData, GS_IMAGEFORMAT_BGRA,
> _this->GetTexture()->Width() * 4);
>
> Thanks,
> ~Carlos~
>
> _______________________________________________
> 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/20140907/805dbfd0/attachment.html>
More information about the live-devel
mailing list