Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (12659)

  • FFMPEG can't find audio device for webcam on one computer

    13 mars 2018, par David

    I am building a webcam recording app. I am using FFMPEG to capture the audio and video. I have a Logitech C930 webcam.

    >ffmpeg -list_devices true -f dshow -i dummy
    ffmpeg version N-90155-g28924f4b48 Copyright (c) 2000-2018 the FFmpeg developers
      built with gcc 7.3.0 (GCC)
      configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-amf —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth
      libavutil      56.  7.101 / 56.  7.101
      libavcodec     58. 12.102 / 58. 12.102
      libavformat    58.  9.100 / 58.  9.100
      libavdevice    58.  2.100 / 58.  2.100
      libavfilter     7. 12.100 /  7. 12.100
      libswscale      5.  0.101 /  5.  0.101
      libswresample   3.  0.101 /  3.  0.101
      libpostproc    55.  0.100 / 55.  0.100
    [dshow @ 0000024786c38680] DirectShow video devices (some may be both video and audio devices)
    [dshow @ 0000024786c38680]  "Microsoft Camera Front"
    [dshow @ 0000024786c38680]     Alternative name "@device_pnp_~?\display#int3470#4&1835d135&0&uid13424#65e8773d-8f56-11d0-a3b9-00a0c9223196bf89b5a5-61f7-4127-a279-e187013d7caf"
    [dshow @ 0000024786c38680]  "Microsoft Camera Rear"
    [dshow @ 0000024786c38680]     Alternative name "@device_pnp_~?\display#int3470#4&1835d135&0&uid13424#65e8773d-8f56-11d0-a3b9-00a0c92231967c9bbcea-909c-47b3-8cf9-2aa8237e1d4b"
    [dshow @ 0000024786c38680]  "Logitech Webcam C930e"
    [dshow @ 0000024786c38680]     Alternative name "@device_pnp_~?\usb#vid_046d&pid_0843&mi_00#8&dd2d9e1&0&0000#65e8773d-8f56-11d0-a3b9-00a0c9223196\global"
    [dshow @ 0000024786c38680]  "ChromaCam"
    [dshow @ 0000024786c38680]     Alternative name "@device_sw_860BB310-5D01-11D0-BD3B-00A0C911CE863403512D-FE5D-4D68-B053-E86D662E4D58"
    [dshow @ 0000024786c38680] DirectShow audio devices
    [dshow @ 0000024786c38680]  "Microphone (2- Logitech Webcam C930e)"
    [dshow @ 0000024786c38680]     Alternative name "@device_cm_33D9A762-90C8-11D0-BD43-00A0C911CE86\wave_1AF7CBFB-477F-44D9-B8C4-E178F036B5D1"
    dummy : Immediate exit requested

    Notice the "Microphone (2- Logitech Webcam C930e)" audio device. I can capture from it using FFMPEG.

    Now, I move the same camera to a different computer (Intel Compute Stick) running nearly the same build of windows (16299.251 on the stick, 16299.248 on the laptop). Stick is 32-bit home and laptop is 64-bit Pro (shouldn’t matter, should it ?).
    I run the same command with the exact same camera and same drivers installed :

    >ffmpeg -list_devices true -f dshow -i dummy
    ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
      built with gcc 7.3.0 (GCC)
      configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth
      libavutil      55. 78.100 / 55. 78.100
      libavcodec     57.107.100 / 57.107.100
      libavformat    57. 83.100 / 57. 83.100
      libavdevice    57. 10.100 / 57. 10.100
      libavfilter     6.107.100 /  6.107.100
      libswscale      4.  8.100 /  4.  8.100
      libswresample   2.  9.100 /  2.  9.100
      libpostproc    54.  7.100 / 54.  7.100
    [dshow @ 00797be0] DirectShow video devices (some may be both video and audio devices)
    [dshow @ 00797be0]  "Logitech Webcam C930e"
    [dshow @ 00797be0]     Alternative name "@device_pnp_~?\usb#vid_046d&pid_0843&mi_00#6&dd2d9e1&0&0000#65e8773d-8f56-11d0-a3b9-00a0c9223196\global"
    [dshow @ 00797be0] DirectShow audio devices
    [dshow @ 00797be0] Could not enumerate audio only devices (or none found).
    dummy : Immediate exit requested
    

    No Audio device listed ? What ? If I use python’s sounddevice module, it sees the audio device :

    > python -m sounddevice
    0 Microsoft Sound Mapper - Output, MME (0 in, 2 out)
     1 Remote Audio, MME (0 in, 2 out)
      2 Primary Sound Driver, Windows DirectSound (0 in, 2 out)
      3 Remote Audio, Windows DirectSound (0 in, 2 out)
      4 Remote Audio, Windows WASAPI (0 in, 2 out)
      5 Microphone (Logitech Webcam C930e), Windows WDM-KS (2 in, 0 out)
    

    I can capture from that audio device with sounddevice, but I can’t get FFMPEG to capture from it.

    >ffmpeg -report -rtbufsize 50000k-f dshow -i video="Logitech Webcam C930e":audio="Microphone (Logitech Webcam C930e)" -t 120 -y -s 1920x1080 -q 2 -video_pin_name 1 -audio_pin_name 5 -filter:v setpts=1*PTS Watchmen_20180312095119_c.avi
    ffmpeg started on 2018-03-12 at 17:07:08
    Report written to "ffmpeg-20180312-170708.log"
    ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
      built with gcc 7.3.0 (GCC)
      configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth
      libavutil      55. 78.100 / 55. 78.100
      libavcodec     57.107.100 / 57.107.100
      libavformat    57. 83.100 / 57. 83.100
      libavdevice    57. 10.100 / 57. 10.100
      libavfilter     6.107.100 /  6.107.100
      libswscale      4.  8.100 /  4.  8.100
      libswresample   2.  9.100 /  2.  9.100
      libpostproc    54.  7.100 / 54.  7.100
    video=Logitech Webcam C930e:audio=Microphone (Logitech Webcam C930e) : No such file or directory
    

    I have been trying to debug by removing and reinstalling drivers, etc, but to no avail. I also grabbed a Microsoft Lifecam webcam and got similar results. I can see the lifecam’s audio on the laptop but not the stick in just the same manner as the logitech camera.
    How can I get the audio device to show up on the stick so I can capture from it ?

  • ffmpeg error on AWS lambda

    13 mars 2018, par anarchos78

    I’m trying to convert a jpg image to mp4 and transcode a mp4 file with ffmpeg on AWS lambda.

    For the first task I issue the following :

    ffmpeg -y -f lavfi -i anullsrc -loop 1 -framerate 30 -i test.jpg -t 2 -pix_fmt yuv420p -vf scale=640:480 -c:v libx264 -profile:v baseline -level 3.0 -c:a aac -map 0:a -map 1:v -strict -2 -preset ultrafast /tmp/jpg_output.mp4

    and for the second :

    ffmpeg -i /var/task/test.mp4 -c:v libx264 -c:a copy -strict -2 -v 9 -preset ultrafast -y /tmp/output.mp4

    The funny thing is that the aforementioned tasks (jpg conversion and video transcoding) complete successfully, both locally and on AWS lambda, but I’m getting the below error messages :

    Locally : "err : ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers"

    AWS LAMBDA : "err : ffmpeg version N-89977-gddd851f7cb-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers"

    Additionally, on AWS Lambda, the function exits with error, which results in re-execution of the function.

    I searched for solutions to no avail. Any suggestions ?

  • Audacity vocal removal failed when ffmpeg-conversion was involved

    10 mars 2018, par fyang

    I downloaded some songs coded with FLAC, and Audacity could remove the vocals quite well.

    When I downloaded songs coded with ALAC, I must use ffmpeg to convert them to some other forms because Audacity didn’t recognise .m4a files.

    I used the command ffmpeg -i "song 01.m4a" -f flac "song 01.flac". Now Audacity could load the song, but its vocal removal failed to remove the vocals.

    I tried again with this command in order to be precise, ffmpeg -i "song 01.m4a" -af "pan=stereo|c0=c0|c1=c1" -f flac "song 01.flac", and vocal removal did not work either.

    I tried to do it manually by splitting, inverting and changing both channels to mono, but the vocals were still there.

    I think the problem lies with the ffmpeg conversion step. Is there any fix ? Thanks !

    Below is the result of the conversion :

    ffmpeg -i "song 01.m4a" -af "pan=stereo|c0=c0|c1=c1" -f flac "song 01.flac"
    ffmpeg version N-90143-gb6652f5100 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
     libavutil      56.  7.101 / 56.  7.101
     libavcodec     58. 12.102 / 58. 12.102
     libavformat    58.  9.100 / 58.  9.100
     libavdevice    58.  2.100 / 58.  2.100
     libavfilter     7. 12.100 /  7. 12.100
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000019f2b258000] stream 0, timescale not set
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'song 01.m4a':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       creation_time   : 2009-12-27T00:15:23.000000Z
       track           : 1/10
       genre           :
       album           :
       artist          :
       comment         : ExactAudioCopy v0.95b4
       DISCID          :
       iTunNORM        :  00000F32 00000E1D 0000547D 00005B93 0006C3CA 0006C43E 00007FF8 00007FFF 00058227 0003593B
       title           : song 01
       encoder         : iTunes 9.0.2.25
       date            : 2005
       album_artist    :
       lyrics          :
     Duration: 00:08:10.84, start: 0.000000, bitrate: 921 kb/s
       Stream #0:0(und): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 920 kb/s (default)
       Metadata:
         creation_time   : 2009-12-27T00:15:23.000000Z
       Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 300x300 [SAR 100:100 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (alac (native) -> flac (native))
    Press [q] to stop, [?] for help
    [Parsed_pan_0 @ 0000019f2b2a6fc0] Pure channel mapping detected: 0 1
    Output #0, flac, to 'song 01.flac':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       lyrics          :
       TRACKNUMBER     : 1/10
       genre           :
       album           :
       artist          :
       DESCRIPTION     : ExactAudioCopy v0.95b4
       DISCID          :
       iTunNORM        :  00000F32 00000E1D 0000547D 00005B93 0006C3CA 0006C43E 00007FF8 00007FFF 00058227 0003593B
       title           : song 01
       ALBUMARTIST     :
       date            : 2005
       encoder         : Lavf58.9.100
       Stream #0:0(und): Audio: flac, 44100 Hz, stereo, s16, 128 kb/s (default)
       Metadata:
         creation_time   : 2009-12-27T00:15:23.000000Z
         encoder         : Lavc58.12.102 flac
    size=   54518kB time=00:08:10.84 bitrate= 909.9kbits/s speed=  35x
    video:0kB audio:54508kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.018294%