FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[fixed] Crash when stop a stream not seekable

 
Post new topic   Reply to topic     Forum Index -> rulesPlayer
View previous topic :: View next topic  
Author Message
psyckotic



Joined: 20 Apr 2007
Posts: 5

PostPosted: Fri Apr 20, 2007 12:34 pm    Post subject: [fixed] Crash when stop a stream not seekable Reply with quote

Problem to stop a stream not seekable.
H.264 MPGAudio stream ASF Encapsulated

And there is some other problem with the error : stream is not seekable.
Back to top
View user's profile Send private message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Fri Apr 20, 2007 12:48 pm    Post subject: Reply with quote

Could you upload a sample somewhere so I can see if I can do something about it or it is up to MPlayer/codecs?
Back to top
View user's profile Send private message
psyckotic



Joined: 20 Apr 2007
Posts: 5

PostPosted: Sat Apr 21, 2007 6:29 am    Post subject: Reply with quote

I can't up a sample because if i make a sample of the the stream it will be OK.
And i can't give u a link because it will not working with u, it is a service of my ISP.
I can give the error cause to mplayer.

I have looked in your code, the stop part command:
*player.d
Code:

   void stop()
   {
      seek(0,2);
      pause();
   }


I made the error with the seek command then impossible to play the link without restart rulesplayer :
Quote:
MPlayer 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology ML-32 (Family: 15, Model: 36, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
Setting process priority: normal
Playing http://80.118.196.227:8080/france_2.asf.
Connecting to server 80.118.196.227[80.118.196.227]: 8080...
Cache size set to 1000 KBytes
ASF file format detected.
ID_AUDIO_ID=1
ID_VIDEO_ID=2
VIDEO: [h264] 0x0 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=http://80.118.196.227:8080/france_2.asf
ID_DEMUXER=asf
ID_VIDEO_FORMAT=h264
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=0
ID_VIDEO_HEIGHT=0
ID_VIDEO_FPS=1000.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=0.00
Opening video filter: [screenshot]
Opening video filter: [expand w=-0 h=-0 y=0]
Expand: 0 x 0, -1 ; 0, osd: 0, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 48.0 kbit/6.80% (ratio: 6000->88200)
ID_AUDIO_BITRATE=48000
ID_AUDIO_RATE=22050
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [win32] 22050Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
VO: [directx] 320x240 => 320x240 Planar YV12 [zoom]
[Mixer] No hardware mixing, inserting volume filter.
Stream not seekable!
rp| STDERR:
rp| C:\WINDOWS\fonts\arial.ttf doesn't look like a bitmap font description, ignoring.
rp| Cannot load bitmap font: C:\WINDOWS\fonts\arial.ttf
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| [h264 @ 00B2DC90]non existing PPS referenced
rp| [h264 @ 00B2DC90]decode_slice_header error
rp| Error while decoding frame!
rp| SwScaler: using unscaled yuv420p -> bgr24 special converter
rp| MPlayer interrupted by signal 11 in module: seek
rp| - MPlayer crashed by bad usage of CPU/FPU/RAM.
rp| Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
rp| disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
rp| - MPlayer crashed. This shouldn't happen.
rp| It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
rp| gcc version. If you think it's MPlayer's fault, please read
rp| DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
rp| won't help unless you provide this information when reporting a possible bug.


Later, i will try to dump a part of the stream and put on my http server.
Perhaps it will help u.
Back to top
View user's profile Send private message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Sat Apr 21, 2007 10:22 am    Post subject: Reply with quote

Quote:
Stream not seekable!


I think this is all I need. Thank you.
Back to top
View user's profile Send private message
psyckotic



Joined: 20 Apr 2007
Posts: 5

PostPosted: Mon Apr 23, 2007 4:54 am    Post subject: Reply with quote

Thanks for your quick answer, i hope the future release of rulesPlayer will be terrific.
Back to top
View user's profile Send private message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Mon Apr 23, 2007 10:26 am    Post subject: Reply with quote

I've disabled seeking for non-seekable streams, but unfortunately I can't test it on such. I've uploaded the updated player.exe in the SVN repository, so you can give it a try if you want.
Back to top
View user's profile Send private message
psyckotic



Joined: 20 Apr 2007
Posts: 5

PostPosted: Thu Apr 26, 2007 7:39 pm    Post subject: Reply with quote

Sorry i have tested 0.99.2 version the crash still exist:
- i open my flux by opening in url
- when i stop the flux with the square button (stop button)
- it just display stream not seekable
- then it freezes, i have to force to terminate the program
-------------------------------------------------------------------

When i move the seek button it display the bug error that i have posted.
But now it is possible to play the stream again with no bug error.

Pause button is OK (like in 0.99.1)
Close command is OK (like in 0.99.1)
_________________
rulesPlayer 0.99.2
MPlayer 1.0rc1
Codecs Windows-all-20061022

on Windows XP SP2
Back to top
View user's profile Send private message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Fri Apr 27, 2007 6:32 am    Post subject: Reply with quote

Oh, I thought the "stream not seekable" was displayed when it is opened, not when you press the stop button. Obviously my solution won't work this way. I will look for another one...
Back to top
View user's profile Send private message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Fri Apr 27, 2007 7:33 am    Post subject: Reply with quote

Download the next release. I've done some more testing and I think this time the problem is really fixed. You can use the stop button, but if you seek forward MPlayer will still crash. To prevent this you can type "mp_cache 0" in the console. When cache is disable MPlayer will properly display the "Stream not seekable!" string at startup and rulesPlayer will disable seeking. But it is hard to watch movies online without a cache, unless you have very fast connection to the server. So you have to choose: not to seek forward or to turn the cache off.
Back to top
View user's profile Send private message
psyckotic



Joined: 20 Apr 2007
Posts: 5

PostPosted: Fri Apr 27, 2007 4:58 pm    Post subject: Reply with quote

For this weekend, i am not at home (sun & sex holiday... Cool )
I will try fixed release tuesday but i think it will be ok.
For seeking forward, i remember it is not crash but just like seeking backward is displayed the bug error and stop.

Really a big thanks Very Happy
Your software is fantastic and like u say :
MPlayer rules but without GUI is useless.
_________________
rulesPlayer 0.99.2
MPlayer 1.0rc1
Codecs Windows-all-20061022

on Windows XP SP2
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> rulesPlayer All times are GMT - 6 Hours
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, 2005 phpBB Group