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 

Stream drop on next video in playlist

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



Joined: 17 Mar 2014
Posts: 2

PostPosted: Wed Mar 19, 2014 6:33 am    Post subject: Stream drop on next video in playlist Reply with quote

Hello,

I'm having trouble to make stream not to drop client when next video file is loaded from playlist.

I have icecast server 2.4-beta5, ezstream which stream video from play list:
Code:
<ezstream>
    <url>http://192.168.1.100:8000/test.webm</url>
    <sourcepassword>pass</sourcepassword>
    <format>WEBM</format>
    <filename>./playlist.php</filename>
    <stream_once>0</stream_once>
    <playlist_program>1</playlist_program>
    <metadata_progname>./metadata.php</metadata_progname>
    <metadata_format>@s@: @a@ - @t@</metadata_format>
    <client_timeout>30</client_timeout>
    <!-- Do not allow the server to advertise the stream on a public YP directory: -->
    <svrinfopublic>0</svrinfopublic>
    <reencode>
   <enable>1</enable>
   <encdec>
       <format>WEBM</format>
       <match>.mkv</match>
       <decode>ffmpeg -loglevel panic -re -i @T@ -r 24 -b:v 850k -crf 10 -qmin 4 -qmax 50 -maxrate 1500k -vf scale=-1:360 -c:v libvpx -g 5 -avoid_negative_ts 1 -c:a libvorbis -ac 2 -ar 48000 -b:a 48k -metadata title="@t@" -f webm -</decode>
   </encdec>
    </reencode>
</ezstream>


This is streamed well in Iceast server and there is no sign of drop on Icecast admin. For example right now test.webm mount is:
Code:
stream_start: Sun, 16 Mar 2014 16:08:55 +0000

so there is no drop.

Now this stream is displayed in browser with HTML5 video tag. This work well, just sometimes after couple of seconds it stop for about 20-30 seconds but continue to buffer and then stream resume. This must be browser issue so I will deal with this another time.

But the real problem for me is that when video is changed stream just drop and never resumed with next video. If page is reloaded stream continue with next video indeed.

Also I can't make Icecast to respect metadata from ezsream. It is just ignored. May be this is part of problem?

So what I'm doing wrong?

P.S. ezstream is patched to support WEBM. It's not official patch but just 2-3 rows to add WEBM. Is someone is interested I can post patch here.
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 -> Video Streaming 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