IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Linux Discussion :

Stream audio - Alsa cannot set parameters (Input/output error)


Sujet :

Linux

  1. #1
    Futur Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Novembre 2016
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Novembre 2016
    Messages : 5
    Par défaut Stream audio - Alsa cannot set parameters (Input/output error)
    Bonjour,

    Je cherche a "streamer" le son provenant de mon raspberry sur le reseau afin de pouvoir le récupérer sur une autre machine.
    Après avoir parcouru le net, je suis tombé sur trois méthodes qui me posent le même problème.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    cvlc -vvv alsa://hw:1,0 --sout '#transcode{acodec=mp3,ab=128}:standard{access=http,mux=ts,dst=:1234}'
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    avconv -f alsa -ac 1 -i hw:1,0 -acodec libmp3lame -ab 64k -f rtp rtp://127.0.0.1:1234
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ffmpeg -re -f alsa -i hw:1,0 -acodec mp2 -ab 192000 -ar 44100 -ac 1 -filter 'bandpass=f=1000:csg=0:width_type=q:w=.806' -f rtp rtp://127.0.0.1:1234
    Avec la solution vlc, j'ai pu stream un fichier mp3 sans problème.
    Mais pour streamer le micro pas moyen...

    le vlc me ressort une erreur
    core input error: open of `alsa://hw:1,0' failed
    Et avec avconc et ffmpeg
    cannot set parameters (Input/output error)
    Et pour info:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
      Subdevices: 8/8
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
      Subdevice #4: subdevice #4
      Subdevice #5: subdevice #5
      Subdevice #6: subdevice #6
      Subdevice #7: subdevice #7
    card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    arecord -L
    null
        Discard all samples (playback) or generate zero samples (capture)
    pulse
        PulseAudio Sound Server
    sysdefault:CARD=Microphone
        Logitech USB Microphone, USB Audio
        Default Audio Device
    front:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        Front speakers
    surround21:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        2.1 Surround output to Front and Subwoofer speakers
    surround40:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        4.0 Surround output to Front and Rear speakers
    surround41:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        IEC958 (S/PDIF) Digital Audio Output
    dmix:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        Direct sample mixing device
    dsnoop:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        Direct sample snooping device
    hw:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        Direct hardware device without any conversions
    plughw:CARD=Microphone,DEV=0
        Logitech USB Microphone, USB Audio
        Hardware device with all software conversions
    Je me retrouve donc face a un mur, je ne vois pas d'ou vienne ces erreurs...

    Merci à vous,
    Kevin

  2. #2
    Membre chevronné
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Mai 2012
    Messages
    321
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux
    Secteur : Santé

    Informations forums :
    Inscription : Mai 2012
    Messages : 321
    Par défaut
    Bonjour,

    A la vue des config postées, il me semble que le device alsa est 0, or dans ta commande VLC tu appelle le subdevice 0 de la carte 1, d’où l'erreur.

    Essaye la commande

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    cvlc -vvv alsa://hw:0,0 --sout '#transcode{acodec=mp3,ab=128}:standard{access=http,mux=ts,dst=:1234}'

  3. #3
    Futur Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Novembre 2016
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Novembre 2016
    Messages : 5
    Par défaut
    En faite, j'ai déja testé un peu pour changer ces parametres...
    Ex:
    hw:1,0
    hw:0,0
    hw:1
    hw:0

    A chaque fois:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    [73907428] access_alsa demux error: cannot open ALSA device "hw:0,0": No such file or directory
    [73b00508] core input error: open of `alsa://hw:0,0' failed
    [73b00508] core input error: Your input can't be opened
    [73b00508] core input error: VLC is unable to open the MRL 'alsa://hw:0,0'. Check the log for details.
    Voici l'execution complete:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    [001548f8] core libvlc debug: searching plug-in modules
    [001548f8] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
    [001548f8] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
    [001548f8] core libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
    [001548f8] core libvlc debug: plug-ins loaded: 450 modules
    [001548f8] core libvlc debug: opening config file (/home/pi/.config/vlc/vlcrc)
    [001548f8] core libvlc debug: translation test: code is "en_GB"
    [001548f8] core libvlc debug: CPU has capabilities ARM_NEON FPU
    [00168050] core input debug: Creating an input for 'Media Library'
    [00168050] core input debug: Input is a meta file: disabling unneeded options
    [00168050] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
    [00168050] core input debug: `file/xspf-open:///home/pi/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/pi/.local/share/vlc/ml.xspf'
    [00168050] core input debug: creating demux: access='file' demux='xspf-open' location='/home/pi/.local/share/vlc/ml.xspf' file='/home/pi/.local/share/vlc/ml.xspf'
    [0016a160] core demux debug: looking for access_demux module matching "file": 20 candidates
    [0016a160] core demux debug: no access_demux modules matched
    [00168050] core input debug: creating access 'file' location='/home/pi/.local/share/vlc/ml.xspf', path='/home/pi/.local/share/vlc/ml.xspf'
    [001695a8] core access debug: looking for access module matching "file": 25 candidates
    [001695a8] filesystem access debug: opening file `/home/pi/.local/share/vlc/ml.xspf'
    [001695a8] core access debug: using access module "filesystem"
    [00169720] core stream debug: Using stream method for AStream*
    [00169720] core stream debug: starting pre-buffering
    [00169720] core stream debug: received first data after 0 ms
    [00169720] core stream debug: pre-buffering done 296 bytes in 0s - 2470 KiB/s
    [001ebe90] core stream debug: looking for stream_filter module matching "any": 9 candidates
    [001ebe90] core stream debug: no stream_filter modules matched
    [001ebe90] core stream debug: looking for stream_filter module matching "record": 9 candidates
    [001ebe90] core stream debug: using stream_filter module "record"
    [00168050] core input debug: creating demux: access='file' demux='xspf-open' location='/home/pi/.local/share/vlc/ml.xspf' file='/home/pi/.local/share/vlc/ml.xspf'
    [001ed430] core demux debug: looking for demux module matching "xspf-open": 65 candidates
    [001ed430] xspf demux debug: using XSPF playlist reader
    [001ed430] core demux debug: using demux module "playlist"
    [001f16b8] core demux meta debug: looking for meta reader module matching "any": 2 candidates
    [001f16b8] lua demux meta debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/reader
    [001f16b8] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
    [001f16b8] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
    [001f16b8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
    [001f16b8] core demux meta debug: no meta reader modules matched
    [00168050] core input debug: `file/xspf-open:///home/pi/.local/share/vlc/ml.xspf' successfully opened
    [001e5cf0] core xml reader debug: looking for xml reader module matching "any": 1 candidates
    [001e5cf0] core xml reader debug: using xml reader module "xml"
    [001ed430] xspf demux debug: parsed 0 tracks successfully
    [00168050] core input debug: EOF reached
    [001ed430] core demux debug: removing module "playlist"
    [001ebe90] core stream debug: removing module "record"
    [001695a8] core access debug: removing module "filesystem"
    [001673f0] core playlist debug: creating audio output
    [001e5550] core audio output debug: looking for audio output module matching "any": 5 candidates
    [001e5550] pulse audio output debug: using library version 5.0.0
    [001e5550] pulse audio output debug:  (compiled with version 5.0.0, protocol 29)
    [001e5550] pulse audio output error: PulseAudio server connection failure: Connection refused
    [001e5550] alsa audio output debug: Available ALSA PCM devices:
    [001e5550] alsa audio output debug: Discard all samples (playback) or generate zero samples (capture) (null)
    [001e5550] alsa audio output debug: PulseAudio Sound Server (pulse)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 ALSA Default Audio Device (sysdefault:CARD=ALSA)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 ALSA Direct sample mixing device (dmix:CARD=ALSA,DEV=0)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 IEC958/HDMI Direct sample mixing device (dmix:CARD=ALSA,DEV=1)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 ALSA Direct sample snooping device (dsnoop:CARD=ALSA,DEV=0)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 IEC958/HDMI Direct sample snooping device (dsnoop:CARD=ALSA,DEV=1)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 ALSA Direct hardware device without any conversions (hw:CARD=ALSA,DEV=0)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 IEC958/HDMI Direct hardware device without any conversions (hw:CARD=ALSA,DEV=1)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 ALSA Hardware device with all software conversions (plughw:CARD=ALSA,DEV=0)
    [001e5550] alsa audio output debug: bcm2835 ALSA, bcm2835 IEC958/HDMI Hardware device with all software conversions (plughw:CARD=ALSA,DEV=1)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio Default Audio Device (sysdefault:CARD=Microphone)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio Front speakers (front:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio 2.1 Surround output to Front and Subwoofer speakers (surround21:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio 4.0 Surround output to Front and Rear speakers (surround40:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio 4.1 Surround output to Front, Rear and Subwoofer speakers (surround41:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio 5.0 Surround output to Front, Center and Rear speakers (surround50:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio 5.1 Surround output to Front, Center, Rear and Subwoofer speakers (surround51:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers (surround71:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio IEC958 (S/PDIF) Digital Audio Output (iec958:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio Direct sample mixing device (dmix:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio Direct sample snooping device (dsnoop:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio Direct hardware device without any conversions (hw:CARD=Microphone,DEV=0)
    [001e5550] alsa audio output debug: Logitech USB Microphone, USB Audio Hardware device with all software conversions (plughw:CARD=Microphone,DEV=0)
    [001e5550] core audio output debug: using audio output module "alsa"
    [001673f0] core playlist debug: keeping audio output
    [001673f0] core playlist debug: adding item `alsa://hw' ( alsa://hw:0,0 )
    [001673f0] core playlist debug: meta ok for (null), need to fetch art
    [002cb838] core interface debug: looking for interface module matching "hotkeys,none": 19 candidates
    [74300658] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
    [002cb838] core interface debug: using interface module "hotkeys"
    [001ed410] core interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
    [001ed410] core interface debug: no interface modules matched
    [001ed410] core interface error: no suitable interface module
    [001548f8] core libvlc error: interface "globalhotkeys,none" initialization failed
    [001ed410] core interface debug: looking for interface module matching "dbus,none": 19 candidates
    [001ed410] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    [001ed410] core interface debug: no interface modules matched
    [001ed410] core interface error: no suitable interface module
    [001548f8] core libvlc error: interface "dbus,none" initialization failed
    [001ed410] core interface debug: looking for interface module matching "dummy": 19 candidates
    [001ed410] dummy interface: using the dummy interface module...
    [001ed410] core interface debug: using interface module "dummy"
    [001673f0] core playlist debug: processing request item: null, node: Playlist, skip: 0
    [001673f0] core playlist debug: rebuilding array of current - root Playlist
    [001673f0] core playlist debug: rebuild done - 1 items, index -1
    [001673f0] core playlist debug: starting playback of the new playlist item
    [001673f0] core playlist debug: resyncing on alsa://hw
    [001673f0] core playlist debug: alsa://hw is at 0
    [001673f0] core playlist debug: creating new input thread
    [73b00508] core input debug: Creating an input for 'alsa://hw'
    [001673f0] core playlist debug: requesting art for alsa://hw
    [73700730] core stream output debug: using sout chain=`transcode{acodec=mp3,ab=128}:standard{access=http,mux=ts,dst=:5502}'
    [73700730] core stream output debug: stream=`standard'
    [739004d8] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
    [73700a30] core stream out debug: looking for sout stream module matching "standard": 22 candidates
    [73700a30] core stream out debug: set config option: sout-standard-access to http
    [73700a30] core stream out debug: set config option: sout-standard-mux to ts
    [73700a30] core stream out debug: set config option: sout-standard-dst to :5502
    [737016c0] core access out debug: looking for sout access module matching "http": 8 candidates
    [737016c0] core access out debug: net: listening to * port 5502
    [74300658] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/fetcher
    [74300658] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
    [737016c0] core access out debug: using sout access module "access_output_http"
    [73702760] core mux debug: looking for sout mux module matching "ts": 10 candidates
    [73702760] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000
    [73702760] core mux debug: using sout mux module "mux_ts"
    [73700730] core stream output debug: muxer support adding stream at any time
    [73700730] core stream output debug: muxer prefers to wait for all ES before starting to mux
    [73700a30] stream_out_standard stream out debug: using `http/ts://:5502'
    [73700a30] core stream out debug: using sout stream module "stream_out_standard"
    [73700730] core stream output debug: stream=`transcode'
    [73706290] core stream out debug: looking for sout stream module matching "transcode": 22 candidates
    [73706290] core stream out debug: set config option: sout-transcode-acodec to mp3
    [73706290] core stream out debug: set config option: sout-transcode-ab to 128
    [73706290] stream_out_transcode stream out debug: Checking codec mapping for mp3  got mp3
    [73706290] stream_out_transcode stream out debug: codec audio=mp3  0Hz 0 channels 128Kb/s
    [73706290] core stream out debug: using sout stream module "stream_out_transcode"
    [73b00508] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
    [73b00508] core input debug: `alsa://hw:0,0' gives access `alsa' demux `' path `hw:0,0'
    [73b00508] core input debug: specified demux `any'
    [73b00508] core input debug: creating demux: access='alsa' demux='any' location='hw:0,0' file='(null)'
    [73707428] core demux debug: looking for access_demux module matching "alsa": 20 candidates
    [739004d8] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/fetcher
    [739004d8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
    [73707428] access_alsa demux error: cannot open ALSA device "hw:0,0": No such file or directory
    [73707428] core demux debug: no access_demux modules matched
    [73b00508] core input debug: creating access 'alsa' location='hw:0,0', path='(null)'
    [73707e50] core access debug: looking for access module matching "alsa": 25 candidates
    [73707e50] core access debug: no access modules matched
    [73b00508] core input error: open of `alsa://hw:0,0' failed
    [73b00508] core input error: Your input can't be opened
    [73b00508] core input error: VLC is unable to open the MRL 'alsa://hw:0,0'. Check the log for details.
    [001673f0] core playlist debug: dead input
    [73700730] core stream output debug: destroying useless sout
    [73706290] core stream out debug: destroying chain... (name=transcode)
    [73706290] core stream out debug: removing module "stream_out_transcode"
    [73706290] core stream out debug: destroying chain done
    [73700a30] core stream out debug: destroying chain... (name=standard)
    [73700a30] core stream out debug: removing module "stream_out_standard"
    [73702760] core mux debug: removing module "mux_ts"
    [737016c0] core access out debug: removing module "access_output_http"
    [73701ed0] core http host debug: HTTP host removed
    [737016c0] access_output_http access out debug: Close
    [73700a30] core stream out debug: destroying chain done
    [001673f0] core playlist debug: changing item without a request (current 0/1)
    [001673f0] core playlist debug: nothing to play
    [74300658] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
    [74300658] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
    [74300658] core art finder debug: no meta fetcher modules matched
    [001673f0] core playlist debug: searching art for alsa://hw
    [74300658] core art finder debug: looking for art finder module matching "any": 2 candidates
    [739004d8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
    [739004d8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
    [739004d8] core art finder debug: no meta fetcher modules matched
    [001548f8] core libvlc debug: searching art for alsa://hw
    [739004d8] core art finder debug: looking for art finder module matching "any": 2 candidates
    [74300658] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/art
    [74300658] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
    [739004d8] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/art
    [739004d8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
    [74300658] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
    [739004d8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
    [74300658] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/01_googleimage.luac
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
    [739004d8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/01_googleimage.luac
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
    [74300658] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
    [739004d8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
    [74300658] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/03_lastfm.luac
    [74300658] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
    [74300658] core art finder debug: no art finder modules matched
    [74300658] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
    [739004d8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/03_lastfm.luac
    [739004d8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
    [739004d8] core art finder debug: no art finder modules matched
    [739004d8] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
    [74300658] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/fetcher
    [74300658] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
    [739004d8] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/fetcher
    [739004d8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
    [74300658] core art finder debug: using meta fetcher module "lua"
    [74300658] core art finder debug: removing module "lua"
    [001673f0] core playlist debug: searching art for alsa://hw
    [74300658] core art finder debug: looking for art finder module matching "any": 2 candidates
    [739004d8] core art finder debug: using meta fetcher module "lua"
    [739004d8] core art finder debug: removing module "lua"
    [001548f8] core libvlc debug: searching art for alsa://hw
    [739004d8] core art finder debug: looking for art finder module matching "any": 2 candidates
    [74300658] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/art
    [74300658] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
    [739004d8] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/art
    [739004d8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
    [74300658] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
    [739004d8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
    [74300658] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
    [74300658] core art finder debug: no art finder modules matched
    [001673f0] core playlist debug: art not found for alsa://hw
    [739004d8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
    [739004d8] core art finder debug: no art finder modules matched
    [001548f8] core libvlc debug: art not found for alsa://hw

  4. #4
    Membre chevronné
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Mai 2012
    Messages
    321
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux
    Secteur : Santé

    Informations forums :
    Inscription : Mai 2012
    Messages : 321
    Par défaut
    Bonjour,

    Vérifiez la présence des répertoires /dev/snd/*, /dev/dsp*, et /dev/audio*

    S'ils existent, testez la commande passée en SUDO ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sudo cvlc -vvv alsa://hw:0,0 --sout '#transcode{acodec=mp3,ab=128}:standard{access=http,mux=ts,dst=:1234}'
    Si cela fonctionne normalement, il vous faut vérifier les permissions de /dev/snd/*, /dev/dsp*, et /dev/audio* ?

    Le problème pourrait se situer dans ces permissions. Alsa ne peut pas accéder au fichier correspondant au device. Cela est donc peut être une question de droits du compte avec lequel vous passez votre commande.

  5. #5
    Futur Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Novembre 2016
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Novembre 2016
    Messages : 5
    Par défaut
    Je vois l'idée, j'avais d’ailleurs il me semble déjà testé, mais quand vlc refuse de s’exécuter en sudo, c'est plus compliqué.

    VLC is not supposed to be run as root. Sorry.
    If you need to use real-time priorities and/or privileged TCP ports
    you can use /usr/bin/vlc-wrapper (make sure it is Set-UID root and
    cannot be run by non-trusted users first).

  6. #6
    Membre chevronné
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Mai 2012
    Messages
    321
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux
    Secteur : Santé

    Informations forums :
    Inscription : Mai 2012
    Messages : 321
    Par défaut
    J'ai édité mon message...

    Vérifiez la présence et les droits des répertoires que je vous ai indiqué

  7. #7
    Futur Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Novembre 2016
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Novembre 2016
    Messages : 5
    Par défaut
    Après verification, seul le dossier /dev/snd existait.
    J'ai créé les deux autres, modifier les droits mais toujours la même erreur.

    Je pense retenter une installation mais je ne sais pas ce qui vraiment nécessaire

  8. #8
    Membre chevronné
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Mai 2012
    Messages
    321
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux
    Secteur : Santé

    Informations forums :
    Inscription : Mai 2012
    Messages : 321
    Par défaut
    Effectivement, le plus simple est de commencer par une install propre.

    Pour cela, vous pouvez :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils
    qui désinstalle et purge la config précédente. puis :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    sudo apt-get install linux-sound-base alsa-base alsa-utils
    Attention il me semble que cette install, sous Ubuntu supprime quelques paquets qu'il faudra réinstaller avec
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    sudo apt-get install gdm ubuntu-desktop
    Après un redémarrage, la commande :

    doit normalement lister la carte.

    Il faudra ensuite configurer alsamixer. Depuis un terminal

    L'interface se lance, on peut effectuer les réglages. Une fois terminé, il est possible de sauvegarder les réglage afin de les reprendre systématiquement. Cela se fait avec


  9. #9
    Futur Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Novembre 2016
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Novembre 2016
    Messages : 5
    Par défaut
    Bon je viens de tout résintaller sur une nouvelle sd en suivant tes indications...

    Et ça marche !!!

    Je suppose qu'a force de faire des tests dans tous les sens, j'ai du dégommer des paramètres :/

    Enfin le principal est la, le son transit correctement !!!

    Merci beaucoup à toi !

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 0
    Dernier message: 04/03/2014, 11h10
  2. Réponses: 1
    Dernier message: 25/01/2013, 10h41
  3. Input-Output Stream et réseau
    Par warseb dans le forum Entrée/Sortie
    Réponses: 3
    Dernier message: 27/02/2008, 20h36
  4. [OpenOffice][Tableur] General input/output error sur Calc
    Par jmchantelou dans le forum OpenOffice & LibreOffice
    Réponses: 0
    Dernier message: 07/12/2007, 21h53
  5. Cipher Input/Output Stream
    Par Razgriz dans le forum Sécurité
    Réponses: 16
    Dernier message: 13/05/2007, 16h32

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo