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 

Video <intro> for an audio ogg stream + web player???

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
benburch



Joined: 10 Aug 2005
Posts: 8

PostPosted: Wed Jan 23, 2008 1:46 am    Post subject: Video <intro> for an audio ogg stream + web player??? Reply with quote

What we want to do is have a 20 second video <intro> for a radio station ogg stream under icecast, and we want them both played seamlessly with a web-based theora/ogg player.

Any ideas?

Otherwise we are stuck with flash and windows media and you know how bad that sucks!

Thanks!

-Ben Burch
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 23, 2008 2:06 am    Post subject: Reply with quote

icecast itself should have no problem with this. What I'm not sure about is how good the web applets are, if they are done as per spec then the video intro and then an ogg stream should be fine.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
benburch



Joined: 10 Aug 2005
Posts: 8

PostPosted: Wed Jan 23, 2008 3:36 pm    Post subject: Almost... Reply with quote

Well, OK, I set up an transcoded audio ogg stream, and used the quicktime plugs to make a 20 second intro video. What happens is that the intro video only partially plays. The first 400 ms or so is lost and then it cuts to the audio stream with about 3 seconds left of the video to play.

The player is the cortado web player applet.

The point at which the video cuts out seems to be sensitive to the actual size of the video file.

What seems to be happening is that the audio is somehow overwriting the video in the player, but I am not sure of that. I know intro files are not timed when they are sent out.

Am I missing a magic incantation?

Thanks!

-Ben
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 23, 2008 3:47 pm    Post subject: Reply with quote

can you try this with another player like vlc, mplayer or real/helix player to see the effect for comparison. My initial suspicion is the cortado applet.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
benburch



Joined: 10 Aug 2005
Posts: 8

PostPosted: Wed Jan 23, 2008 4:22 pm    Post subject: Reply with quote

Do the parameters of the intro's audio and the audio stream have to be identical as they do with an mp-3 intro?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 23, 2008 5:15 pm    Post subject: Reply with quote

I would say that you should keep them the same, again it doesn't matter to icecast as that will detect the change but the listening player may have problems doing things like changing samplerate or channels of the soundcard.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
benburch



Joined: 10 Aug 2005
Posts: 8

PostPosted: Wed Jan 23, 2008 7:49 pm    Post subject: Reply with quote

Yeah, its the applet. It starts playing the whole clip once the buffer is full but as soon as the audio stream starts it abandons the buffered video.

It worked as expected in VLC.

I'll fix that eventually, but for now I'll make a flash/cortado hybrid player box. The boss wants everything yesterday as they all do.

I'll post here when I have a patch for that player, and send it to the developers as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
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