Recherche avancée

Médias (91)

Autres articles (69)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (8676)

  • Pydub dir error . dynamic file path dosent play sound but with specific file path the code works fine

    20 avril 2021, par anshul raj

    hello developers idk whats wrong with this code it works fine when i give exact file path to the music file but if i pass it in dynamic way it doesnt work . actually my code is that user give a music file name it get downloaded then with the meta id it find the file in downloads dir then play it

    


     def songplayer(self,meta):
        def playmmusic(name):
            from pydub.playback import play
            from pydub import AudioSegment
            AudioSegment.converter = "C:\\ffmpeg\\bin\\ffmpeg.exe"
            AudioSegment.ffmpeg = "C:\\ffmpeg\\bin\\ffmpeg.exe"
            AudioSegment.ffprobe = "C:\\ffmpeg\\bin\\ffprobe.exe"
            sound = AudioSegment.from_file(name)
            play(sound)

        print(colored("Currently Playing : " + meta['title'],'yellow'))
        r=meta['id']
        tt='./downloads/'+r
        playmmusic(tt)


    


  • Pydub dir error . dynamic file path doesn't play sound but with specific file path the code works fine

    20 avril 2021, par anshul raj

    I don't know what's wrong with this code - it works fine when I provide an exact file path to the music file, but if I pass it in a dynamic way, it doesn't work.

    


    Actually my code is that user give a music file name it get downloaded then with the meta id it find the file in downloads dir then play it

    


     def songplayer(self,meta):
        def playmmusic(name):
            from pydub.playback import play
            from pydub import AudioSegment
            AudioSegment.converter = "C:\\ffmpeg\\bin\\ffmpeg.exe"
            AudioSegment.ffmpeg = "C:\\ffmpeg\\bin\\ffmpeg.exe"
            AudioSegment.ffprobe = "C:\\ffmpeg\\bin\\ffprobe.exe"
            sound = AudioSegment.from_file(name)
            play(sound)

        print(colored("Currently Playing : " + meta['title'],'yellow'))
        r=meta['id']
        tt='./downloads/'+r
        playmmusic(tt)


    


  • FFmpeg file path exception like file name not found

    7 février 2018, par Sagar Hudge

    I am getting following exception on video trimming.

    video path : /storage/emulated/0/Pictures/Instagram/Fast & Furious 7 - Get Low Extended Version Video.mp4

    file name : Fast & Furious 7 - Get Low Extended Version Video.mp4

    and ffmpeg searching for only Fast in

    /storage/emulated/0/Pictures/Instagram/Fast: No such file or directory

    I have found the issue ,it is causing due to the file name having spaces in between them you can check in above mentioned path and in exception.

    after changing file name its working but changing name of every file from device its not the right way so how can I solve this exception

    FAILED with output : WARNING: linker: /data/user/0/com.example.SeekBarActivity/files/ffmpeg
    has text relocations. This is wasting memory and prevents security hardening.
    Please fix. ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers

    built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-
    android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --
    cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-
    Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264
    --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig
    --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --
    enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --
    enable-yasm --disable-doc --disable-shared --enable-static --pkg-
    config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --
    prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-
    cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -
    U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-
    all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-
    android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-
    lpng -lexpat -lm' --extra-cxxflags=
     libavutil      54.  7.100 / 54.  7.100
     libavcodec     56.  1.100 / 56.  1.100
     libavformat    56.  4.101 / 56.  4.101
     libavdevice    56.  0.100 / 56.  0.100
     libavfilter     5.  1.100 /  5.  1.100
     libswscale      3.  0.100 /  3.  0.100
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  0.100 / 53.  0.100
     /storage/emulated/0/Pictures/Instagram/Fast: No such file or directory