|
|
#1 |
|
Major Dude
Join Date: Jan 2004
Posts: 1,088
|
trouble with encode
Hello,
i'm writing a NSV plugin to broadcast from winamp and I'm having a tad bit of trouble encoding the audio. I seem to be missing a few milliseconds here and there so when I watch the stream in winamp, the audio has some pops and it seems that the play head ends up advancing until it starts to buffer. I encode the 8192 bytes I get passed from winamp with no problem. It just seems like I'm missing a few milliseconds here and there. Any advice on encoding audio that is even remotly related to this is appreciated. The status of the plugin is working great. The video streams to shoutcast etc. there is just these strange audio anomalies. THanks again. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jan 2004
Posts: 1,088
|
couple additional observations.
If I transmit video alone, the playhead is stable and never under runs the buffer. If I transmit audio alone, in nsv container, the playhead under-runs the buffer. If I transmit both together, the playhead under-runs. |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Jan 2004
Posts: 1,088
|
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Jan 2004
Posts: 1,088
|
I solved it.
I found a small bug that caused me to drop a few incoming samples |
|
|
|
|
|
#5 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,233
|
got to love these threads where it all gets fixed without any external input to it
![]() -daz |
|
|
|
|
|
#6 |
|
Major Dude
Join Date: Jan 2004
Posts: 1,088
|
Heh, yea, well, I try to never forget that I too and what I do are also a potential point of failure.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|