Re: [Live-devel] Live streaming mpeg1or2

2010-06-17 Thread Ross Finlayson
Thanks for the reply, I think I have the doGetNextFrame working properly now but I am having problems with playback. I have been using VLC and openRTSP to view my output. When I use openRTSP to save the stream to a file, it play super-fast. What do you mean by "play super-fast"? Do you mean t

Re: [Live-devel] Live streaming mpeg1or2

2010-06-17 Thread Dillon Lee
Thanks for the reply, I think I have the doGetNextFrame working properly now but I am having problems with playback. I have been using VLC and openRTSP to view my output. When I use openRTSP to save the stream to a file, it play super-fast. When I use VLC I can see the video but it's pretty chop

Re: [Live-devel] Live streaming mpeg1or2

2010-06-16 Thread Ross Finlayson
Great, thanks for the info. My program now sets the fPresentationTime with gettimeofday. I am now using openRTSP instead of VLC and I have looked at the output file and that tells me that I am sending too many frames. Basically, the output looks like I am sending about 100 frames per 1 frame th

Re: [Live-devel] Live streaming mpeg1or2

2010-06-16 Thread Dillon Lee
Great, thanks for the info. My program now sets the fPresentationTime with gettimeofday. I am now using openRTSP instead of VLC and I have looked at the output file and that tells me that I am sending too many frames. Basically, the output looks like I am sending about 100 frames per 1 frame tha

Re: [Live-devel] Live streaming mpeg1or2

2010-06-14 Thread Ross Finlayson
(I'm a bit confused as to how I should use the fDurationInMicroseconds and fPresentationTime because the images do not occur at regular time intervals). Because your data is coming from a live source (rather than a file, for example), you can probably omit setting "fDurationInMicroseconds".

[Live-devel] Live streaming mpeg1or2

2010-06-14 Thread Dillon Lee
Hello everyone, I am attempting to stream frames that are generated live via OpenGL and compressed into MPEG2 Video frames. I have created a class which inherits from FramedSource and that class overrides doGetNextFrame(). I have also created a function called deliverFrame() that is called by d