rajesh nair | 2 Nov 2009 06:13
Picon
Favicon

Application to save multicast rtp video data from a ip camera

Hi,
I would like to develop an application to save video data from a IP camera which multicasts the data using rtp. Can anyone guide me to the right source code library in live555 using which I can develop the same
Thanks in advance
Rajesh

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Bikramjeet Singh | 2 Nov 2009 07:02
Picon

Re: Application to save multicast rtp video data from a ip camera

in which format u want to save ur stream ,
and in which format camera is multicasting.

If it is in a TS format then its quite simple,
u just filter the video or audio(in case) and split off the TS header from every TS packet and starts save the remaining content.

It will gives u the video file. u can view later on.

On Mon, Nov 2, 2009 at 10:43 AM, rajesh nair <rajesh_gnair-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
Hi,
I would like to develop an application to save video data from a IP camera which multicasts the data using rtp. Can anyone guide me to the right source code library in live555 using which I can develop the same
Thanks in advance
Rajesh


_______________________________________________
live-devel mailing list
live-devel-cunTk1MwBs/NLCcxxxaBvg@public.gmane.orgm
http://lists.live555.com/mailman/listinfo/live-devel




--
Thanks and Regards
Bikramjeet singh

Logic Eastern India Private Limited
B-2, Sec- 31, Noida
http: www.logiceastern.com
Phone: +0120-2455112
ext: 212
Mobile +919971030527
_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
rajesh nair | 2 Nov 2009 07:34
Picon
Favicon

Re: Application to save multicast rtp video data from a ip camera

Thank you Mr.Singh.
Its mpeg4 data and I would like to save it in m4v format
Let me try on the lines you mentioned
Rajesh

--- On Mon, 11/2/09, Bikramjeet Singh <bikramjeet.singh-3gvbfK5UTgXAgfvNhnM4IJ/QNRX+jHPU@public.gmane.org> wrote:

From: Bikramjeet Singh <bikramjeet.singh <at> logiceastern.co.in>
Subject: Re: [Live-devel] Application to save multicast rtp video data from a ip camera
To: "LIVE555 Streaming Media - development & use" <live-devel-m22LxytlYjp4ccXRSk2lxg@public.gmane.org>
Date: Monday, November 2, 2009, 11:32 AM

in which format u want to save ur stream ,
and in which format camera is multicasting.

If it is in a TS format then its quite simple,
u just filter the video or audio(in case) and split off the TS header from every TS packet and starts save the remaining content.

It will gives u the video file. u can view later on.

On Mon, Nov 2, 2009 at 10:43 AM, rajesh nair <rajesh_gnair-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
Hi,
I would like to develop an application to save video data from a IP camera which multicasts the data using rtp. Can anyone guide me to the right source code library in live555 using which I can develop the same
Thanks in advance
Rajesh


_______________________________________________
live-devel mailing list
live-devel-cunTk1MwBs/NLCcxxxaBvgC/G2K4zDHf@public.gmane.org
http://lists.live555.com/mailman/listinfo/live-devel




--
Thanks and Regards
Bikramjeet singh

Logic Eastern India Private Limited
B-2, Sec- 31, Noida
http: www.logiceastern.com
Phone: +0120-2455112
ext: 212
Mobile +919971030527

-----Inline Attachment Follows-----


_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Guillaume Grimaldi | 2 Nov 2009 09:25
Picon

Re: [live-devel] query

Guillaume Grimaldi a écrit :
> Ross Finlayson a écrit :
>>>>> My camera generate raw format, but I plan to use H264.
>>>>
>>>>
>>>> OK, so you first need a (hardware or software) H.264 video encoder.
>>>>
>>>> Then, you will need to write your own subclass of 
>>>> "H264VideoStreamFramer", and feed your H.264 NAL units into this. 
>>>> (See also <http://www.live555.com/liveMedia/faq.html#h264-streaming>)
>>>>
>>>
>>> Ok, Thank you for your advice.
>>> A last question, can I stream in MPEG-TS format after that ? (with 
>>> MPEG2TransportStreamFramer for exemple)
>>
>> No, you should stream H.264 over RTP directly, by feeding your 
>> "H264VideoStreamFramer" (subclass) into a "H264VideoRTPSink".
Hi, I repost my question if someone has an answer.

What can I do to stream H264 in MPEG-TS format with LiveMedia ? Maybe I 
can not do that.
My problem is I have RAW video frames from my camera and I would like to 
use software solution to compress and stream video. So I planned to use 
ffmpeg to compress in H264 and liveMedia to stream in MPEG-TS. Is it 
possible ?
But if I understand well, liveMedia does not allow me to change format, 
just to stream the input video. Is it right ?

Thank you for your advice.
Ross Finlayson | 2 Nov 2009 09:35
Favicon

Re: [live-devel] query

>What can I do to stream H264 in MPEG-TS format with LiveMedia ?

We don't currently support this.  Sorry.

Instead, you should stream the H.264 video directly in RTP (using the 
"H264VideoStreamFramer" and "H264VideoRTPSink" classes, as described 
earlier)
--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
Guillaume Grimaldi | 2 Nov 2009 10:10
Picon

Re: [live-devel] query

Ross Finlayson a écrit :
>> What can I do to stream H264 in MPEG-TS format with LiveMedia ?
>
> We don't currently support this.  Sorry.
>
> Instead, you should stream the H.264 video directly in RTP (using the 
> "H264VideoStreamFramer" and "H264VideoRTPSink" classes, as described 
> earlier)
You said you don't support H264 + MPEG-TS, but you support H264.
"MPEG2TransportStream" is included in many class name, so can I not 
stream in MPEG-TS ? Maybe I can do this but not with H264.
Sorry to insist but I must to be fixed.
Ross Finlayson | 2 Nov 2009 10:18
Favicon

Re: [live-devel] query

>You said you don't support H264 + MPEG-TS, but you support H264.
>"MPEG2TransportStream" is included in many class name, so can I not 
>stream in MPEG-TS ? Maybe I can do this but not with H264.

That's right - we support multiplexing MPEG-1 or 2 video (along with 
MPEG-1 or 2 audio) into a Transport Stream - but not H.264 video.

If you want to stream H.264 video in RTP, then you should do this 
directly (rather than by multiplexing it into a Transport Stream 
first).

(This will be my (and your) last posting on this topic!)
--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
RAJ KUMAR | 2 Nov 2009 11:37
Picon
Gravatar

Fwd: Reg:liveMedia


Hi All,
 
 I am working on ffplay ,right now i'd like to modify  the ffplay code to support liveMedia library can any one please help me how to proceed . I suspect to change in rtsp.c (which is there in ffplay/libavformat) is it right?? please give some idea to proceed
 
 
Thanks in Advance.

--
    With Best Regards,
    
    Raj
    
    "Words carry power. Speak words that bring healing and give life"


_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Dong Liu | 3 Nov 2009 01:54
Picon

Stop/restart RTP source

Hi,

In my project I need to stop and restart receving RTP stream. I'm using the 
following code to do these,

start and restart is the same,

mySink->startPlaying(theRtpSource, afterPlayFun, NULL);
watchVariable=0;
pScheduler->doEventLoop(&watchVariable);

For stop

mySink->stopPlaying();
watchVariable=1; // to terminate event loop

It is kind of working, but the presentation in the function 
afterGettingFrame is off. It actually jumped back in time comparing to the 
presentation time just before stopPlaying was called.

After went through some code, I found I can do,

theRtpSource.receptionStatsDB().removeRecord(theRtpSource.getLastReceivedSSRC())

This seemd fix the presentation problem. But video still seems delayed for.

Am I doing the right thing when doing stop and start the RTP stream? Is 
there anything I'm missing.

Thanks!

Dong
Ross Finlayson | 3 Nov 2009 04:04
Favicon

Re: Stop/restart RTP source

>Am I doing the right thing when doing stop and start the RTP stream?

I think so.  But what are you using for your server?  I *think* our 
RTP/RTCP server implementation will handle this correctly (because 
RTCP packets should continue to get sent even after the stream is 
stopped).  But other implementations might not handle this properly.
--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

Gmane