Page 1 of 1
got error after play rtsp stream
Posted: 03 Aug 2012 09:07
by kc.chen
When I play a rtsp stream on vlc, when try to press "back" button, I will get the error as below:
08-03 09:09:25.701: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
08-03 09:09:25.811: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
08-03 09:09:25.911: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
08-03 09:09:26.011: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
08-03 09:09:26.111: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
08-03 09:09:26.211: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
08-03 09:09:26.311: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
08-03 09:09:26.411: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
08-03 09:09:26.511: W/VLC(8357): [0x1b0c898]: swscale filter can't get output picture
Anyone konw how to fix? Thanks a lot!!
Re: got error after play rtsp stream
Posted: 03 Aug 2012 09:53
by Jean-Baptiste Kempf
Seems like a bug.
Re: got error after play rtsp stream
Posted: 03 Aug 2012 10:26
by kc.chen
Seems like a bug.
Do you how to report the bug? : )
Re: got error after play rtsp stream
Posted: 03 Aug 2012 11:21
by Jean-Baptiste Kempf
Re: got error after play rtsp stream
Posted: 03 Aug 2012 11:28
by kc.chen
I think I can give more details about it. When we try to stop the play, then we will have to wait almost 1 minutes until it really stop. In the process, I only see
08-03 16:43:57.846: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:57.946: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.046: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.146: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.256: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.356: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.457: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.557: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.657: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.757: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
08-03 16:43:58.857: W/VLC(10022): [0x1b24938]: swscale filter can't get output picture
It doesn't happen when I play avi files.
Re: got error after play rtsp stream
Posted: 03 Aug 2012 11:58
by kc.chen
I have created
ticket 7269.
Re: got error after play rtsp stream
Posted: 06 Aug 2012 09:59
by kc.chen
In file live555.cpp:
static void Close( vlc_object_t *p_this )
{
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys = p_demux->p_sys;
msg_Dbg( p_demux, "kc test: come to live555 Close" );
if( p_sys->p_timeout )
{
//kc test
msg_Dbg( p_demux, "kc test: come to vlc_cancel" );
vlc_cancel( p_sys->p_timeout->handle );
msg_Dbg( p_demux, "kc test: come to vlc_join" );
vlc_join( p_sys->p_timeout->handle, NULL);
//kc test
free( p_sys->p_timeout );
}
msg_Dbg( p_demux, "kc test: come to if( p_sys->rtsp && p_sys->ms )" );
if( p_sys->rtsp && p_sys->ms ) p_sys->rtsp->sendTeardownCommand( *p_sys->ms, NULL );
I find it spends a lot of time on running vlc_join( p_sys->p_timeout->handle, NULL);
it seems the thread can't be killed. But after about 1 minutes, it will be killed.
Re: got error after play rtsp stream
Posted: 06 Aug 2012 11:46
by Jean-Baptiste Kempf
It means the other thread is not done...