> Below, I've posted my AudioBufferSource::doGetNextFrame(), in hopes you might
> be able to provide a more verbose suggestion... I understand if you don't
> have the time.
Yes, unfortunately I'm limited in how much time I can spend providing
assistance for free (especially for individual proje
Hi Ross -
Thanks again for your help here. I understand what you're saying with using
an event trigger for when additional data is available, but I'm having no
luck implementing as my C++ is fairly bad. Coming from C# and other
higher-level languages is proving to be a bit of a learning curve for
> I see what you mean, and fDurationInMicroseconds is being calculated
> correctly. For my fragmentation issue, If I don't call afterGetting() then
> doGetNextFrame() is not ever re-invoked, so the server essentially stops on
> the first partial read.
>
> Is there a method or variable I should
Hi Ross -
Thanks so much for getting back to me!
I see what you mean, and fDurationInMicroseconds is being calculated
correctly. For my fragmentation issue, If I don't call afterGetting() then
doGetNextFrame() is not ever re-invoked, so the server essentially stops on
the first partial read.
Is
> In my AudioBufferSource (based on AudioInputDevice) the doGetNextFrame
> happens at an extremely fast interval - which is sometimes causing my PCM
> audio running at 44.1 kHz to get fragmented.
The frequency at which "doGetNextFrame()" gets called depends entirely on the
value that you set f
Hi Ross / All -
In my AudioBufferSource (based on AudioInputDevice) the doGetNextFrame
happens at an extremely fast interval - which is sometimes causing my PCM
audio running at 44.1 kHz to get fragmented.
For example, I am tuning my server and client software to work with 64
(pcm)frame chunks, h
hi, dear all,
I know if doGetNextFrame() reads a frame then call afterGetting() to inform
the sink we have data, but how to process if doGetNextFrame() reads nothing
for a while from a device ( not mean the source is invaild in my case ) and
reschedule doGetNextFrame() but not inform the sink ?
C
lopment & use <[EMAIL PROTECTED]>
Sent: Friday, November 14, 2008 3:47:28 PM
Subject: Re: [Live-devel] doGetNextFrame() timing in mpeg2ts context
Thank you,
I added a static hook to schedule another *doGetNextFrame()* call and it's
working as expected. Except for one thing which seems
LIVE555 Streaming Media - development & use <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2008 7:13:20 PM
Subject: Re: [Live-devel] doGetNextFrame() timing in mpeg2ts context
> Is there maybe a way to directly schedule a call to *doGetNextFrame()* in the
> event loop since this is no
Is there maybe a way to directly schedule a call to
*doGetNextFrame()* in the event loop since this is not a static
function or what would be the alternative
The alternative is to write a static member function that then calls
"doGetNextFrame()", and have "scheduleDelayedTask()" arrange to cal
- Original Message
From: Ross Finlayson <[EMAIL PROTECTED]>
To: LIVE555 Streaming Media - development & use <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2008 9:22:24 AM
Subject: Re: [Live-devel] doGetNextFrame() timing in mpeg2ts context
> | if ( isFrameAvailable(
| if ( isFrameAvailable() )
| {
|processFrame();
| }
| else
| {
|usleep(10);
|nextTask() =
envir().taskScheduler().scheduleDelayedTask(0,(TaskFunc*)FramedSource::afterGetting,
this);
| }
The big problem with this code is that if "isFrameAvailable()"
returns False, then you end up
Hello
I have a question regarding whether I use liveMedia or mpeg2ts correctly or
not. I want to mux video frames to mpeg2ts, since I needed another interface
than the once already included, I build my own *MySource* derived from
*FramedSource*. In there is the appropriate *doGetNextFrame()* me
I don't understand the "Framedsource::aftergetting" fonction.
What is it doing ?
It is called - exactly once - by an object once delivery of a data
frame (to implement "doGetNextFrame()") has been completed.
and I never see a call of this fonction
There are *many* examples in the code. Se
I don't understand the "Framedsource::aftergetting" fonction.
What is it doing ?
and I never see a call of this fonction, but it write that dogetnextframe
call it.
HOW ?
can you explaine me ?
Thx.
_
Julien Savarese
Apprenti ingénieur.
Division SIS/DPM/RMS/
The said NAL unit's format indicates a NAL unit stream or byte stream?
Or both is ok?
If our NAL unit is byte stream format, should I extract NAL unit from the byte
stream?
Thank you very much.___
live-devel mailing list
live-devel@lists.live555.com
h
Do you know the maximum size of a NAL unit?
Sorry, no.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
Hi, Ross,
Thank you for answering.
Do you know the maximum size of a NAL unit?
In doGetNextFrame(), is it possible that size of a NAL unit exceed and to be
fragmented?
Thanks!___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live5
Hi, everyone,
I want to ask questions about doGetNextFrame() in H264VideoStreamFramer.
1. Should I copy "a whole frame data(a sequence of NALs of a frame)"
or "a individual NAL unit" into the fTo address??
You should copy an individual NAL unit.
2. Who to control to call currentNALUnitEnd
Hi, everyone,
I want to ask questions about doGetNextFrame() in H264VideoStreamFramer.
1. Should I copy "a whole frame data(a sequence of NALs of a frame)" or "a
individual NAL unit" into the fTo address??
2. Who to control to call currentNALUnitEndsAccessUnit()? When?
How to detect the NAL
Note that the error about "atempting to read more than once" occurs
if you call "getNextFrame()" on the *same* object a second time,
before the 'after getting' function from the first call has been
invoked. I.e., it's OK to do:
source->getNextFrame(..., afterGettingFunc, ...);
>How can I get more data from the Source without a call to
>afterGetting(this) before (I get "attempting to read more than once"
>messages)? I can't call afterGetting before an encoded frame is
>ready but there can't be an encoded frame if the decoder doesn't
>have enough data (you remember tha
> Are you sure that your "Transcoder" code is always correctly setting
"fFrameSize" before calling "afterGetting(this)"?
OK, I found the problem I think, but now I need support:
I made a call to afterGetting(this) even if there was no encoded frame
available. I changed that now, but there is a
>I've added some stdout messages to MPEG4VideoStreamDiscreteFramer
>and I can see that there are many calls to doGetNextFrame() and
>afterGettingFrame1() even if my source did not deliver one frame:
>
>MPEG4VideoStreamDiscreteFramer::doGetNextFrame() passed
>MPEG4VideoStreamDiscreteFramer::afterG
Hi!
I've added some stdout messages to MPEG4VideoStreamDiscreteFramer and I
can see that there are many calls to doGetNextFrame() and
afterGettingFrame1() even if my source did not deliver one frame:
MPEG4VideoStreamDiscreteFramer::doGetNextFrame() passed
MPEG4VideoStreamDiscreteFramer::after
25 matches
Mail list logo