Re: [Live-devel] Dynamically adding streams with reference counting

2008-06-24 Thread Ross Finlayson
I am trying to implement a dynamic rtsp server. By this I mean it will add the appropriate ServerMediaSession to the server when a url is requested. For example, if the server receives: rtsp:ip:port/mystreamid, it will look up to see if the session exists, and if not dynamically add it. I h

[Live-devel] Dynamically adding streams with reference counting

2008-06-24 Thread Rawling, Stuart
Hi all, I am trying to implement a dynamic rtsp server. By this I mean it will add the appropriate ServerMediaSession to the server when a url is requested. For example, if the server receives: rtsp:ip:port/mystreamid, it will look up to see if the session exists, and if not dynamically add it.

Re: [Live-devel] RTCP SR clock sync diff

2008-06-24 Thread Ross Finlayson
The RTCP SR NTP timestamp is only valid in direct comparison with a NTP timestamp from another stream of the same reference clock. So you can use it to synchronize the presentation times of multiple streams in the same session. You're not supposed to use it to directly generate a presentation t

Re: [Live-devel] RTCP SR clock sync diff

2008-06-24 Thread Mike Frantzen
The RTCP SR NTP timestamp is only valid in direct comparison with a NTP timestamp from another stream of the same reference clock. So you can use it to synchronize the presentation times of multiple streams in the same session. You're not supposed to use it to directly generate a presentation time

Re: [Live-devel] framerate anomaly

2008-06-24 Thread Dion Galbreath
>>We put a directshow wrapper around the live555 library and its been >>going great however there seems to be on major anomaly. >> >>If the video we are streaming is less than 16 frames per second, all >>audio is dropped after ~ >>5 minutes of streaming. This happens on all formats Mpeg4, h264,

[Live-devel] H.264 Details

2008-06-24 Thread Jerry Johns
Since there seems to be quite a few ppl writing H.264 frame subclasses, I think i'll give a gist of what I learned when i was creating one; Basically, my stream was 0x00 00 00 01 delimited single NAL unit entities - the first NAL was my SPS, then PPS and then picture slices after that. In your fr

Re: [Live-devel] Valid test.mpg file for testMPEG1or2VideoStreamer.exe

2008-06-24 Thread Ross Finlayson
My excuse in advance if this question was already answered before. I'm sorry, but that's not good enough. Yes, your question *has* been answered before - in the FAQ , which you (and everyone else) is supposed to have read. Please, everyone - read

Re: [Live-devel] unexpected "StreamClose" in VLC under FreeBSD

2008-06-24 Thread Ross Finlayson
Please find attached output generated by tcpdump from rtsp sessions between an Axis IP camera and a host running VLC and openRTSP (obviously not simultaneously). Does this help finding out why live555 generates the "StreamClose" message only while running VLC, and not while running openRTSP?

Re: [Live-devel] Streaming H.264

2008-06-24 Thread Ross Finlayson
I have some questions regarding H.264 streaming: 1) Is it true that if we have one NAL unit in a frame then the virtual function "currentNALUnitEndsAccessUnit()" always returns true" ? Yes, iff by "frame" you mean a complete video frame - i.e., an entire 'picture'. 2) Who will do the fra

Re: [Live-devel] RTCP SR clock sync diff

2008-06-24 Thread Ross Finlayson
Sorry, but I won't be making any such change to the code. Once RTCP-generated presentation times become available, they should *always* be used. Note that the function "RTPSource:: hasBeenSynchronizedUsingRTCP()" can be used by a client to distinguish between 'guessed' initial presentation ti

Re: [Live-devel] framerate anomaly

2008-06-24 Thread Ross Finlayson
We put a directshow wrapper around the live555 library and its been going great however there seems to be on major anomaly. If the video we are streaming is less than 16 frames per second, all audio is dropped after ~ 5 minutes of streaming. This happens on all formats Mpeg4, h264, mpeg2,

Re: [Live-devel] H.264 Encoded Video

2008-06-24 Thread Mike Gilorma
Actually we are tying to do the same thing, just different OS's. The process I was describing is how I created a h264 file in Linux. When you say you want to implement a subclass of H264VideoStreamFramer, does that mean you have an H264VideoStreamFramer? Because that is what I am trying to write

Re: [Live-devel] unexpected "StreamClose" in VLC under FreeBSD

2008-06-24 Thread Erik van Dort
Hi, Please find attached output generated by tcpdump from rtsp sessions between an Axis IP camera and a host running VLC and openRTSP (obviously not simultaneously). Does this help finding out why live555 generates the "StreamClose" message only while running VLC, and not while running openR

[Live-devel] framerate anomaly

2008-06-24 Thread Dion Galbreath
We put a directshow wrapper around the live555 library and its been going great however there seems to be on major anomaly. If the video we are streaming is less than 16 frames per second, all audio is dropped after ~ 5 minutes of streaming. This happens on all formats Mpeg4, h264, mpeg2, mpe

[Live-devel] RTCP SR clock sync diff

2008-06-24 Thread Mike Frantzen
I had a problem when using VLC to transcode from an AXIS camera into an RTP stream. In the RTCP Sender Report the AXIS camera is deriving its NTP time from the monotonic uptime instead of the wall clock. Then it converts it from unix epoch time into NTP time. The real issue is that VLC/live555 sta

[Live-devel] Streaming H.264

2008-06-24 Thread Smith Graeme
I have some questions regarding H.264 streaming:   1) Is it true that if we have one NAL unit in a frame then the virtual function "currentNALUnitEndsAccessUnit()" always returns true" ?   2) Who will do the framing from byte stream? Is it done automatically or should we do it explicitly?   3)

Re: [Live-devel] Valid test.mpg file for testMPEG1or2VideoStreamer.exe

2008-06-24 Thread Luca Abeni
Silvain Beriault wrote: I tried running the testMPEG1or2VideoStreamer.exe program with no success. I suspect my test.mpg file is in the wrong format since I receive multiple errors of the type: "MPEG1or2VideoStreamParser::parseSlice(): Saw unexpected code 01E0" Your test.mpg is probabl

[Live-devel] H.264 Encoded Video

2008-06-24 Thread 47manzoor
Thanks Mike for your support. I am working on windows and don't know about Linux OS. You are doing something complex. I just want to implement a subclass of H264VideoStreamFramer.cpp which takes an encoded video and send it via RTP. If i can get h.264 encoded video (e.g test.264) and it is encode

Re: [Live-devel] H.264 Encoded Video

2008-06-24 Thread Mike Gilorma
here's how I created a h264 file from a dvd (on linux fc7), (create avi file) mencoder dvd://1 -o ouput.avi -oac faac -ovc x264 (convert avi to mp4) ffmpeg -i output.avi -vcodec h264 output.mp4 (extract track from mp4) mp4creator -extract=1 output.mp4 (this creates output.mp4.t1) file output.mp

[Live-devel] Valid test.mpg file for testMPEG1or2VideoStreamer.exe

2008-06-24 Thread Silvain Beriault
Hi, I have recently been introduced to the Live555 library which I would like to use to stream video in real time via the RTP protocol. Our typical setup would consist a computer that interfaces directly with a digital camera. Then real-time image processing algorithm is applied to uncompress

[Live-devel] Still working on a h264 framer

2008-06-24 Thread Mike Gilorma
All, I have been working on creating a h264 framer for about a week and feel like I have headed in the wrong direction, so its time for a fresh start. Would H263plusVideoFramer be a good starting point? I have been searching "h.264 site:lists.live555.com" and it seems that there are people ou

[Live-devel] H.264 Encoded Video

2008-06-24 Thread 47manzoor
I need H.264 encoded video (Byte Stream Annex B) which has been encoded using a Single NAL unit per frame. Which H.264 encoder should i use to achieve this task ? Thank You --- --Help save paper - do you really need to print this email? This message is for the use of the intended recipi

Re: [Live-devel] unexpected "StreamClose" in VLC under FreeBSD

2008-06-24 Thread Erik van Dort
Hi, I could agree to that if this would happen everytime running openRTSP, like it does happen everytime running VLC. But this shutdown by the Axis camera happened only during the first openRTSP session, and normally in VLC it took longer than 5 seconds until VLC showed the "StreamClose" mess

Re: [Live-devel] unexpected "StreamClose" in VLC under FreeBSD

2008-06-24 Thread Ross Finlayson
Very interesting: only during the first run of openRTSP streaming was aborted spontaneously after a very few seconds. See openRTSP.log.1 attached. This the key part: Started playing session Receiving streamed data (signal with "kill -HUP 45822" or "kill -USR1 45822" to terminate)... Receive

Re: [Live-devel] Multicast Streaming again

2008-06-24 Thread Marian Kogler
I would like to use two different ports, but I can't. I don't have any influence on that, because I'm not on the sender side! :-( Nevertheless, thank you for your prompt answer! -Original Message- From: Ross Finlayson <[EMAIL PROTECTED]> To: LIVE555 Streaming Media - development & use

Re: [Live-devel] How to play video stream from RTSPServer

2008-06-24 Thread Yamini S. [EPLX - DCC]
Hi, Can I know is there any way to render rtp packets for playback Thanks & Regards, S.Yamini Programmer R&D Siemens Building Technologies Pvt. Ltd. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of liang ch Sent: Tuesday, June 24, 2008

Re: [Live-devel] Multicast Streaming again

2008-06-24 Thread Ross Finlayson
I have recently posted a mail concerning multicast streaming over two different ip addresses and the same port. (e.g. ip 1: 239.255.42.42 .. port: 5008 ip 2: 239.255.42.43 .. port: 5008) When i tried to receive the right streams the two streams got merged. Source Specific Multicast was not a solu

Re: [Live-devel] unexpected "StreamClose" in VLC under FreeBSD

2008-06-24 Thread Erik van Dort
Hi, Very interesting: only during the first run of openRTSP streaming was aborted spontaneously after a very few seconds. See openRTSP.log.1 attached. However, re-running openRTSP many times did not end up with a spontaneous abort of the stream, I had to stop it manually everytime. See openRTS

[Live-devel] Multicast Streaming again

2008-06-24 Thread Marian Kogler
Hello again! I have recently posted a mail concerning multicast streaming over two different ip addresses and the same port. (e.g. ip 1: 239.255.42.42 .. port: 5008 ip 2: 239.255.42.43 .. port: 5008) When i tried to receive the right streams the two streams got merged. Source Specific Multicast