Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

icecast-ads
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches
View previous topic :: View next topic  
Author Message
humanclay



Joined: 02 Jun 2009
Posts: 16

PostPosted: Mon Jun 15, 2009 8:40 pm    Post subject: Reply with quote

I've rigged up a test environment here with an OSS input source that continues to repeat 2 10-second clips over and and over again. The clips have very distinct noises which make them particularly suited for testing advert replacement. I've also written a script that writes out updates to a metadata file and sends a USR1 signal the moment that the clip changes. Without the jingle headers everything is working fantastically. The song info changes at the precise times in the player and there are no buffer issues.

However, when I added the jingle header for one of the clips and set a replacement 10 second clip I started discovering some issues. The stream seems to have to rebuffer frequently in winamp, mplayer and ogg123.

And what's really strange is that the advert replacement often happens later than it's supposed to. I know that it's not because of my script because the metadata switches before the ad swap begins. How can that happen since the jingle header is going along with the song information?

I'm certain that the original jingle and it's replacement are the same duration and both ices and my file are encoded with libaotuv at quality -2 and 44100 sample rate.

I suspect that there might be some timing issues with Icecast? Any ideas?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jun 15, 2009 9:33 pm    Post subject: Reply with quote

are you setting a 10 second jingle for the group that the listener belongs to?, are you using a jingle log to see which file is being inserted and how many listeners are have listened to that file?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber