berkus / sopcast-player

Automatically exported from code.google.com/p/sopcast-player
0 stars 0 forks source link

corrupt stream crash VLC (or mplayer) and takes sopcast down if not use external player. #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Watch "corrupted" stream. Like any of the sport channels right now

What version of the product are you using? On what operating system?
3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 
x86_64 GNU/Linux
Ubuntu 11.10  64bit
sopcast-player 0.7.4-4.1~lffl~oneiric~ppa

Please provide any additional information below.
This is more FYI as it's a issue of the player but maybe sopcast GUI can be 
more robust. Thx.

--With mplayer as external player fist is a working one second is the corrupt 
stream. 

Could this be DRM related? 

mplayer -ontop -geometry 100%%:100%% http://127.0.0.1:59469/tv.asf
Executing mplayer -ontop -geometry 100%%:100%%
mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, 
consider re-linking
MPlayer SVN-r33713-4.6.1 (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://127.0.0.1:59469/tv.asf.
Resolving 127.0.0.1 for AF_INET6...

Couldn't resolve name for AF_INET6: 127.0.0.1
Connecting to server 127.0.0.1[127.0.0.1]: 59469...

Cache size set to 320 KBytes
Cache fill:  0.00% (0 bytes)   

ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps  460.0 kbps (56.2 kbyte/s)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object 
file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Requested video codec family [wmv9dmo] (vfm=dmo) not available.
Enable it at compilation.
Requested video codec family [wmvdmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.26% (ratio: 3995->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 320x240 => 320x240 Planar YV12 
-geometry must be in [WxH][[+-]X[+-]Y] | [X[%]:[Y[%]]] format, incorrect 
(100%%:100%%)
[wmv3 @ 0x7fa08523e4c0]warning: first frame is no keyframe
A:3999110.2 V:3999110.6 A-V: -0.509 ct: -0.196  50/ 50  6%  0%  0.4% 0 0 45% 
[wmv3 @ 0x7fa08523e4c0]Bits overconsumption: 5146 > 5136 at 17x5
[wmv3 @ 0x7fa08523e4c0]concealing 182 DC, 182 AC, 182 MV errors
A:3999118.0 V:3999117.5 A-V:  0.525 ct: -0.618 204/204  4%  0%  0.3% 0 0 46% 

MPlayer interrupted by signal 2 in module: sleep_timer
A:3999118.0 V:3999117.5 A-V:  0.521 ct: -0.614 205/205  4%  0%  0.3% 0 0 46% 

Exiting... (Quit)
stoping external media player

---Here the crash working one---------

mplayer -ontop -geometry 100%%:100%% http://127.0.0.1:59469/tv.asf
Executing mplayer -ontop -geometry 100%%:100%%
mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, 
consider re-linking
MPlayer SVN-r33713-4.6.1 (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://127.0.0.1:59469/tv.asf.
Resolving 127.0.0.1 for AF_INET6...

Couldn't resolve name for AF_INET6: 127.0.0.1
Connecting to server 127.0.0.1[127.0.0.1]: 59469...

Cache size set to 320 KBytes
Cache fill:  0.00% (0 bytes)   hook_sply_play:retv=-32
Stream not seekable!
Cache fill: 15.59% (51082 bytes)   

ASF file format detected.
DRM License URL: 
http://65185639.vidlock.com/v1license/?vidlock_params=aWQ9NjUxODU2Mzk7Y2F0ZWdvcn
k9MDtmaWxlbmFtZT10ZXN0d212Lndtdjs=
This file has been encumbered with DRM encryption, it will not play in MPlayer!
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps  189.0 kbps (23.1 kbyte/s)
Clip info:
 title: 
 author: 
 copyright: 
 comments: 
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object 
file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Requested video codec family [wmv9dmo] (vfm=dmo) not available.
Enable it at compilation.
Requested video codec family [wmvdmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [pulse] 32000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12 
-geometry must be in [WxH][[+-]X[+-]Y] | [X[%]:[Y[%]]] format, incorrect 
(100%%:100%%)
[wmv3 @ 0x7ffa6c03c4c0]Bits overconsumption: 121 > 88
[wmv3 @ 0x7ffa6c03c4c0]concealing 297 DC, 297 AC, 297 MV errors
A:   4.7 V:   3.2 A-V:  1.495 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 5% 
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
[wmv3 @ 0x7ffa6c03c4c0]Bits overconsumption: 103 > 72
[wmv3 @ 0x7ffa6c03c4c0]concealing 297 DC, 297 AC, 297 MV errors
A:   4.9 V:   3.3 A-V:  1.654 ct:  0.003   2/  2 ??% ??% ??,?% 0 0 4% 
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
[wmv3 @ 0x7ffa6c03c4c0]Bits overconsumption: 1105 > 1056
[wmv3 @ 0x7ffa6c03c4c0]concealing 283 DC, 283 AC, 283 MV errors
A:   5.3 V:   3.3 A-V:  2.004 ct:  0.007   3/  3 ??% ??% ??,?% 0 0 4% 
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
[wmv3 @ 0x7ffa6c03c4c0]Bits overconsumption: 8307 > 8264
[wmv3 @ 0x7ffa6c03c4c0]concealing 198 DC, 198 AC, 198 MV errors
A:   5.5 V:   3.3 A-V:  2.163 ct:  0.007   4/  4 ??% ??% ??,?% 0 0 3% 
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
A:   5.7 V:   3.3 A-V:  2.355 ct:  0.007   4/  4 ??% ??% ??,?% 0 0 3% 
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
A:   5.9 V:   3.3 A-V:  2.547 ct:  0.007   4/  4 ??% ??% ??,?% 0 0 2% 
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
A:   6.1 V:   3.3 A-V:  2.739 ct:  0.007   4/  4 ??% ??% ??,?% 0 0 2% 
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
A:   6.3 V:   3.3 A-V:  2.931 ct:  0.007   4/  4 ??% ??% ??,?% 0 0 1% 
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
A:   6.5 V:   3.3 A-V:  3.123 ct:  0.007   4/  4 ??% ??% ??,?% 0 0 1% 
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
A:   6.8 V:   3.3 A-V:  3.507 ct:  0.007   4/  4 ??% ??% ??,?% 0 0 0% 
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
[wmav2 @ 0x7ffa6c03c4c0]frame_len overflow
A:   7.0 V:   3.3 A-V:  3.699 ct:  0.007   4/  4 ??% ??% ??,?% 0 0 0% 
[wmav2 @ 0x7ffa6c03c4c0]overflow in spectral RLE, ignoring
A:   7.2 V:   3.3 A-V:  3.891 ct:  0.010   4/  4 ??% ??% ??,?% 0 0 0% 
[wmv3 @ 0x7ffa6c03c4c0]Bits overconsumption: 2854 > 2792 at 4x8
[wmv3 @ 0x7ffa6c03c4c0]concealing 135 DC, 135 AC, 135 MV errors

MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
 [ This binary of MPlayer in Debian is currently compiled with
   '--enable-debug'; the debugging symbols are in the package
   'mplayer-dbg'.]

You are affected by this if you have issues like:
TagLib: Could not open file 127.0.0.1:34314/tv.asf
Bits overconsumption: 8562 > 8528
Bits overconsumption: 13256 > 13240 at 14x9
TagLib: Could not open file 127.0.0.1:34314/tv.asf
overflow in spectral RLE, ignoring
frame_len overflow
overflow in spectral RLE, ignoring
frame_len overflow
overflow in spectral RLE, ignoring
frame_len overflow
frame_len overflow
frame_len overflow
overflow in spectral RLE, ignoring
frame_len overflow
overflow in spectral RLE, ignoring
hook_sply_play:retv=-32
warning: first frame is no keyframe
Bits overconsumption: 208 > 176
Bits overconsumption: 1727 > 1672
Bits overconsumption: 14232 > 14200
Bits overconsumption: 133 > 88
Bits overconsumption: 249 > 232
Bits overconsumption: 121 > 88
Bits overconsumption: 103 > 72
Bits overconsumption: 1105 > 1056
Bits overconsumption: 8307 > 8264
Bits overconsumption: 2854 > 2792 at 4x8
Segmentation fault

same as this:
http://forums.linuxmint.com/viewtopic.php?f=47&t=85873&p=543444#p543444

Original issue reported on code.google.com by tilo...@gmail.com on 18 Feb 2012 at 8:12

GoogleCodeExporter commented 9 years ago
Detecting a malformed stream is more work than I care to invest. I sincerely 
thank you for reporting this issue but I am marking this as won't fix unless 
someone else cares to come up with the code to weed out malformed streams.

Original comment by flyguy97 on 7 May 2012 at 12:10