Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it L'avatar di fausto
    Registrato dal
    Jun 2002
    Messaggi
    294

    Problemi con streamripper

    Ciao ragazzi,

    ultimamento mi sento un po' sfigato: ogni volta che voglio installere qualcosa all fine mi succede sempre qualcosa di incomprensibile, per cui alla fine il programma non funziona. Boh.

    Stavolta è il turno di stream ripper. Lo vorrei usare per salvare una trasmissione radio.
    Do un comando cosi':
    :
    $streamripper mmsh://direct.radio-canada.ca/espacemusique -a prova.mp3 --debug
    Connecting...
    stream: Streamripper_rips
    server name: Cougar/9.01.01.3814
    bitrate: 0
    meta interval: -1
    (qui lo chiudo con cntr-C)

    shutting down
    (qui sta un bel po' e poi)
    Floating point exception
    --------------------------------------------------------------------------------------------------------------------------
    Il file di log è piu' o meno:

    COMINCIA COSI':
    =========================
    STREAMRIPPER unix 1.61.27
    LOCALE is LC_CTYPE=en_US;LC_NUMERIC=en_US;LC_TIME=en_US;LC_C OLLATE=C;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PA PER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TELEPH ONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=e n_US
    Using nl_langinfo() to get system codeset.
    Found iconv.
    LOCALE CODESET is ISO-8859-1
    ***** URL = mmsh://direct.radio-canada.ca/espacemusique *****
    inet_sc_connect(): calling httplib_parse_url
    inet_sc_connect(): calling sockinit
    inet_sc_connect(): calling sock_open: host=direct.radio-canada.ca, port=80
    inet_sc_connect(): calling httplib_construct_sc_request
    inet_sc_connect(): calling socklib_sendall
    inet_sc_connect(): calling get_sc_header
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes

    QUESTO PER UN PO'. POI:

    http header:
    HTTP/1.0 200 OK^M
    Content-Type: video/x-ms-asf^M
    Cache-Control: max-age=0, no-cache^M
    Server: Cougar/9.01.01.3814^M
    Content-Length: 136^M
    Date: Sat, 10 Mar 2007 21:13:23 GMT^M
    Pragma: no-cache, xResetStrm=1^M
    Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile^M
    ^M
    Deduced content type: 1
    FILELIB_INIT: output_directory=./
    FILELIB_INIT: output_pattern=
    FILELIB_INIT: showfile_pattern=prova.mp3
    Stripping icy name...
    strip_invalid_chars() mb_in:
    Streamripper_rips
    53 74 72 65 61 6d 72 69 70 70 65 72 5f 72 69 70 73@
    Conversion returned 10
    strip_invalid_chars() w_in (pre):
    0053 0074 0072 0065 0061 006d 0072 0069 0070 0070 0065 0072 005f 0072 0069 0070 0073@
    strip_invalid_chars() w_invalid:
    005c 002f 003a 002a 003f 0022 003c 003e 007c 007e@
    strip_invalid_chars() w_in (post):
    0053 0074 0072 0065 0061 006d 0072 0069 0070 0070 0065 0072 005f 0072 0069 0070 0073@
    strip_invalid_chars() mb_in (post):
    Streamripper_rips
    53 74 72 65 61 6d 72 69 70 70 65 72 5f 72 69 70 73@
    Done stripping icy name.
    SET_OUTPUT_DIRutput_pattern=
    SET_OUTPUT_DIRutput_directory=./
    SET_OUTPUT_DIR:default_pattern=%S/%A - %T
    SET_OUTPUT_DIR:default_pattern_tail=%A - %T
    SET_OUTPUT_DIRattern_head(pre)=/home/fausto/tmp/./
    SET_OUTPUT_DIRpat_path=%S/%A - %T
    ::19 0 19 0
    ::36 2 19 0
    ::37 3 37 3
    ::37 3 37 3
    Got pattern head: /home/fausto/tmp/./Streamripper_rips/
    Got opat tail: %A - %T
    Incomplete directory: /home/fausto/tmp/./Streamripper_rips/incomplete/
    Trying to make output_directory: /home/fausto/tmp/./Streamripper_rips/
    SET_OUTPUT_DIRutput_pattern=prova
    SET_OUTPUT_DIRutput_directory=./
    SET_OUTPUT_DIR:default_pattern=%S/sr_program_%d
    SET_OUTPUT_DIR:default_pattern_tail=
    SET_OUTPUT_DIRattern_head(pre)=/home/fausto/tmp/./
    SET_OUTPUT_DIRpat_path=prova
    ::19 0 19 0
    ::20 1 19 0
    ::21 2 19 0
    ::21 2 19 0
    ::22 3 19 0
    ::23 4 19 0
    ::24 5 19 0
    ::24 5 19 0
    Got pattern head: /home/fausto/tmp/./
    Got opat tail: prova
    OUTPUT PATTERNrova
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./p
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./pr
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./pro
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./prov
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./prova
    OUTPUT PATTERNrova
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./p
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./pr
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./pro
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./prov
    COMPOSING OUTPUT PATTERN:/home/fausto/tmp/./prova
    filelib_open_for_write: /home/fausto/tmp/./prova.cue
    filelib_open_for_write: /home/fausto/tmp/./prova.mp3
    RIPSTREAM_DESTROY
    RIPSTREAM_RIP: top of loop
    RECV req 1024 bytes, got 136 bytes
    RECV req 888 bytes, got 0 bytes
    recv received zero bytes!
    rip_manager_recv: expected 1024, got 136
    get_stream_data bad return code: -7
    relaylib_shutdown:start
    ***relaylib_shutdown:return
    RIPSTREAM_DESTROY
    ***** URL = mmsh://direct.radio-canada.ca/espacemusique *****
    inet_sc_connect(): calling httplib_parse_url
    inet_sc_connect(): calling sockinit
    inet_sc_connect(): calling sock_open: host=direct.radio-canada.ca, port=80
    inet_sc_connect(): calling httplib_construct_sc_request
    inet_sc_connect(): calling socklib_sendall
    inet_sc_connect(): calling get_sc_header
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes
    RECV req 1 bytes, got 1 bytes

    QUESTO TUTTO SI RIPETO UN CERTO NUMERO DI VOTE. POI ALLA FINE:

    ---------------------------------------------------
    xs_search_window: 6000,6000
    xs_silence_length: 1000
    xs_padding: 300,300
    xs_offset: 0
    ---------------------------------------------------
    bitrate = 24, meta_inf = 0
    ---------------------------------------------------
    mic_to_mi: 0
    sws: 36000
    sl: 3000
    padding: 900 900
    offset: 0
    mic_to_sw_start: -18000
    mic_to_sw_end: 18000
    mic_to_rw_start: -18000
    mic_to_rw_end: 18000
    mic_to_cb_start: -18000
    mic_to_cb_end: 18000




    BOH!Mi sapete dare una mano?
    Mi andrebbe bene anche se mi consigliaste qualche altro programma.
    Grazie!
    f.
    laptop asus L5800C
    slackware 11.0 kernel 2.6.17

  2. #2
    Utente di HTML.it L'avatar di fausto
    Registrato dal
    Jun 2002
    Messaggi
    294

    uuuuuuuuuuuppppppppppp!
    please, help!!!!
    laptop asus L5800C
    slackware 11.0 kernel 2.6.17

  3. #3
    Utente di HTML.it L'avatar di fausto
    Registrato dal
    Jun 2002
    Messaggi
    294


    Ok, funziona.

    Non ho capito bene perche', ma insomma il concetto è che streamripper non funziona con tutti i possibili formati con cui le radio trasmettono gli stream.

    Io volevo registrare delle trasmissioni di radio-canada e per questo usavo lo stream su
    mmsh://direct.radio-canada.ca/espacemusique
    ma streamripper mi dava l'errore di cui sopra.
    Se pero' faccio lo stesso con il formato alternativo:
    http://ms2.radio-canada.ca:80/EspaceMusique.ogg
    tutto funziona alla perfezione!

    Per cui,

    buona registrazione!

    ps: certo che se a kaffeine si potesse dire di registrare da linea di comando, sarebbe tutto mooolto piu' semplice...

    :master:
    laptop asus L5800C
    slackware 11.0 kernel 2.6.17

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.