Unable to play Nullsoft Video stream

Help
fralken
2006-11-25
2013-05-13
  • fralken
    fralken
    2006-11-25

    Hello,
    I'm trying to play this stream:

    http://213.251.176.64:8074/;stream.nsv

    but it doesn't start. I'm using firefox 2.0, mplayerplug-in 3.31 and mplayer 2:0.99+1.0pre8-0ubuntu8

    This url plays correctly with mplayer.

    Here are logs of both mplayerplug-in and mplayer. It seems mplayerplug-in gets confused by the line "Cache fill:  0.00% (0 bytes)"

    mplayerplug-in LOG ---------------------------------------------------

    mimetype: application/x-nsv-vp3-mp3
    Embedded mode
    Argument Name: src
    Argument Value: http://213.251.176.64:8074/;stream.nsv
    Argument Name: type
    Argument Value: application/x-nsv-vp3-mp3
    Argument Name: name
    Argument Value: nsvmplayer
    Argument Name: height
    Argument Value: 288
    Argument Name: width
    Argument Value: 352
    New window! old: 0x0    new 0x52435173
    Size: 421 265 0x32018e5
    Size: 352x288
    resizing widgets to 352 x 288
    back in SetWindow
    New Size: 352x288
    resizing widgets to 352 x 288
    resizing widgets to 352 x 288
    exiting URL base with http://213.251.176.64:8074/
    using url for url
    url http://213.251.176.64:8074/;stream.nsv
    buffer http://213.251.176.64:8074/;stream.nsv
    ready to setup threads
    creating thread - NP_EMBED
    creating player thread
    In launchPlayerThread, state = 110
    launchPlayerThread - creating new thread
    MAIN THREAD DONE
    WR tempname: /tmp/mplaywEe0r4.mp3
    exiting URL base with http://213.251.176.64:8074/
    signalling player from write
    Signalling Player thread, state = 110, js_state = 12
    Waiting for player thread to start....12
    Waiting for player thread to start....12
    Waiting for player thread to start....12
    ----player thread: in playPlaylist
    ----player thread: about to go to sleep, js_state = 6, state = 110
    ---player thread: got wakeup signal, js_state = 6, state = 115
    ----player thread: playPlayList - waiting complete
    ----player thread: building command string
    PLAY 0:mplayer
    PLAY 0:-wid
    PLAY 0:0x32018f7
    PLAY 0:-vf
    PLAY 0:scale=352:-3
    PLAY 0:-vo
    PLAY 0:x11
    PLAY 0:-zoom
    PLAY 0:-ao
    PLAY 0:alsa
    PLAY 0:-osdlevel
    PLAY 0:0
    PLAY 0:-nojoystick
    PLAY 0:-noconsolecontrols
    PLAY 0:-cookies
    PLAY 0:-slave
    ----player thread:
    local_list =  0x952c480
    PL URL: http://213.251.176.64:8074/;stream.nsv
    play = 1, cancelled= 1
    next= (nil)
    ----player thread: set loop_count to -1
    ----player thread: entering loop. loop_count = -1
    ----player thread: looking for node to play
    ----player thread: play = 1 played = 0 fname = /tmp/mplaywEe0r4.mp3
    ----player thread: chose url http://213.251.176.64:8074/;stream.nsv
    ----player thread: playing url: http://213.251.176.64:8074/;stream.nsv
    pre local_url is http://213.251.176.64:8074/;stream.nsv
    result = null
    local_url is http://213.251.176.64:8074/;stream.nsv
    ----player thread: URL: http://213.251.176.64:8074/;stream.nsv
    Starting: mplayer -wid 0x32018f7 -vf scale=352:-3 -vo x11 -zoom -ao alsa -osdlevel 0 -nojoystick -noconsolecontrols -cookies -slave -user-agent NSPlayer -nomouseinput -cache 512 http://213.251.176.64:8074/;stream.nsv
    Getting file mode flags
    buttons are at 288 x 352
    READ: MPlayer 2:0.99+1.0pre8-0ubuntu8 (C) 2000-2006 MPlayer Team

    READ: CPU: AMD Athlon(tm) XP 2600+ (Family: 6, Model: 10, Stepping: 0)

    READ: CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0

    READ: Compiled with runtime CPU detection.

    READ:

    READ:

    READ: Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied

    READ: Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

    READ: Setting up LIRC support...

    READ: mplayer: could not connect to socket

    READ: mplayer: No such file or directory

    READ: Failed to open LIRC support.

    READ: You will not be able to use your remote control.

    READ:

    READ: Playing http://213.251.176.64:8074/;stream.nsv.

    READ: STREAM_HTTP(1), URL: http://213.251.176.64:8074/;stream.nsv

    Setting file mode to non-blocking
    READ: Connecting to server 213.251.176.64[213.251.176.64]: 8074...

    READ: Name   : Demoscene.TV (Realtime channel)

    READ: Genre  : demoscene

    READ: Website: http://www.demoscene.tv

    READ: Public : yes

    READ: Bitrate: 300kbit/s

    READ: Cache size set to 512 KBytes

    Setting file mode back to blocking
    Cache fill:  0.00% (0 bytes)  

    Cache Fill: 0% (0 bytes), count = 1
    Exiting. Will try again with mmst://
    ----player thread: tryagain = 2
    TRYAGAIN_FALLBACK entered, new url is http://213.251.176.64:8074/;stream.nsv
    ----player thread: playNode returned = 0
    drawing panel
    height = 288 panel= 16
    showbuttons = 1
    showcontrols = 1
    ----player thread: played = 1 - /tmp/mplaywEe0r4.mp3
    ----player thread: close done
    mmsstream = 1 errorcode = 0
    ----player thread: transitioning to next item
    ----player thread: entering loop. loop_count = -1
    ----player thread: looking for node to play
    ----player thread: play = 1 played = 1 fname = /tmp/mplaywEe0r4.mp3
    ----player thread: local_list is NULL loop_count = -1
    ----player thread: loop_count = -2 loop_single = 0
    ----player thread: nothing on the list to play
    ----player thread: nothing to play
    stop clickd
    in SetFullscreen with 0
    fullscreen = 0
    height = 288 and width = 352
    ----player thread: callbacks complete
    ----player thread: normal exit

    -----------------------------------------------------------------------------
    mlpayer LOG -----------------------------------------------------------------

    MPlayer 2:0.99+1.0pre8-0ubuntu8 (C) 2000-2006 MPlayer Team
    CPU: AMD Athlon(tm) XP 2600+ (Family: 6, Model: 10, Stepping: 0)
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
    Compiled with runtime CPU detection.

    Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
    Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
    Opening joystick device /dev/input/js0
    Can't open joystick device /dev/input/js0: No such file or directory
    Can't init input joystick
    Setting up LIRC support...
    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://213.251.176.64:8074/.
    STREAM_HTTP(1), URL: http://213.251.176.64:8074/
    Connecting to server 213.251.176.64[213.251.176.64]: 8074...
    Name   : Demoscene.TV (Realtime channel)
    Genre  : demoscene
    Website: http://www.demoscene.tv
    Public : yes
    Bitrate: 300kbit/s
    Cache size set to 320 KBytes
    Cache fill:  0.00% (0 bytes)  
    ICY Info: StreamTitle='loonies_planet_loonies_4k_amiga_aga_realtime.nsv';StreamUrl='';

    Nullsoft Streaming Video file format detected.
    VIDEO:  [VP61]  352x288  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 32000 Hz, 2 ch, s16le, 128.0 kbit/12.50% (ratio: 16000->128000)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
    ==========================================================================
    open: No such file or directory
    Couldn't open: /dev/mga_vid
    open: No such file or directory
    Couldn't open: /dev/mga_vid
    [VO_TDFXFB] Can't open /dev/fb0: Permission denied.
    [VO_3DFX] Unable to open /dev/3dfx.
    Xlib:  extension "XFree86-VidModeExtension" missing on display ":1.0".
    ==========================================================================
    Opening video decoder: [vfwex] Win32/VfWex video codecs
    Loading codec DLL: 'vp6vfw.dll'
    Loaded DLL driver vp6vfw.dll at 10000000
    VDec: vo config request - 352 x 288 (preferred colorspace: Packed YUY2)
    [PP] Using codec's postprocessing, max q = 9.
    VDec: using Packed YUY2 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO: [xv] 352x288 => 352x288 Packed YUY2
    Selected video codec: [vp6] vfm: vfwex (On2 VP6 Personal Codec)
    ==========================================================================
    alsa-init: using device default
    alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    alsa-uninit: pcm closed 0.054 ct:  0.237  58/ 58  4%  1%  2.4% 0 0 46%

    ----------------------------------------------------------------------------------

    Thank you.
    Regards,

    fralk

     
    • Kevin DeKorte
      Kevin DeKorte
      2006-11-25

      Please try again with the vo set to x11 or download the CVS version of mplayerplug-in.

       
    • fralken
      fralken
      2006-11-26

      I've already vo=x11 in my mplayerplug-in.conf .
      I'll have a look on CVS...

       
      • Kevin DeKorte
        Kevin DeKorte
        2006-11-26

        Just a question for you. How did you get the media to play. I did some testing on my machine and it looks like it requires ActiveX to work properly.

         
        • fralken
          fralken
          2006-11-26

          Did you try the http://www.demoscene.tv website?
          Actually their site tries to load an Activex.

          But I wrote a small userscript for Greasemonkey which adds an embed tag with mime type application/x-nsv-vp3-mp3, which is recognized by mplayerplug-in...

          You can install the Greasemonkey extension (http://greasemonkey.mozdev.org/) and install this userscript from http://userscripts.org/scripts/show/4969 .

          Cheers,
          fralk

           
    • fralken
      fralken
      2006-11-26

      Ok, the CVS version works fine!
      I think the problem was in file plugin-threads.cpp.

      in official version 3.31 there is only 1 allowable zero cache fill try, instead in CVS version there are 3 tries...

      thanks,
      fralk