Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (111)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (11162)

  • ffmpeg configure always returns "not found" when using sysroot and cross-prefix options - how to use them correctly ?

    5 août 2014, par user2212461

    I try to build ffmpeg with a cross-compiler. When setting the configure flags I am getting the following errors :

    WARNING: Compiler does not indicate floating-point ABI, guessing soft.
    build_it.sh: 29: build_it.sh: --sysroot=/home/android/android-ndk-r9/platforms/
       android-9/arch-arm/: not found
    build_it.sh: 32: build_it.sh.sh: --cross-prefix=/home/android/android-ndk-r9/
       toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-and
       roideabi-: not found

    The error message "not found" sounds like the paths dont exist but they are all correct and existing. How can I resolve this error ?

    build_it.sh :

    NDK=/home/android/android-ndk-r9
    SYSROOT=$NDK/platforms/android-9/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
    CPU=arm
    PREFIX=test
    ADDI_CFLAGS="-marm"
    platform="android-9"

    ./configure \
       --disable-asm \
       --enable-shared \
       --target-os=linux \
       --arch=arm \
       --enable-cross-compile \
       --disable-static \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS"
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --prefix=$PREFIX \

    ##configure fails here
    ...
  • Can't save a file in moviepy python

    23 juillet 2023, par user9102437

    I have seen a few questions about this here, but none of them solved the issue for me, so maybe my case is different in some way.

    


    I am trying to achieve a simple result : read a file and write it. Here is the code :

    


    import os
os.environ['FFMPEG_BINARY'] = '/usr/bin/ffmpeg'

from moviepy.editor import VideoFileClip
name = 'test.mp4'

clip = VideoFileClip('./vids/'+name)

clip.write_videofile('./vids/'+name, codec='libx264', fps=30)


    


    This code comes up with an error :

    


    ---> 88     '-r', '%.02f' % fps,
     89     '-an', '-i', '-'
     90 ]
     91 if audiofile is not None:
     92     cmd.extend([
     93         '-i', audiofile,
     94         '-acodec', 'copy'
     95     ])

TypeError: must be real number, not NoneType


    


    You may notice that I have set the environment variable for ffmpeg (I have also changed that in configure_defaults.py). This is because it was suggested in other questions. Also based on them I have run the following commands before running the code :

    


    sudo apt -y update
sudo apt -y install ffmpeg
pip install decorator
pip install moviepy --upgrade
pip install ffmpeg --upgrade


    


    I am using a Debian GNU/Linux 10 (buster) machine, and the versions of moviepy and ffmpeg are 1.0.3 and 4.1.10-0+deb10u1 respectively.

    


    Nothing seems to be helping to solve this. What am I missing here ?

    


  • Can't figure out how to get ffmpeg to save to an odd file extension

    30 septembre 2015, par dinki

    I’m working on a network encoder for SageTV. I get request from the SageTV with certain filenames. I’m trying to capture video from my capture card and write out to a file called

    ’D :\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-
    0.mpgbuf’

    Here’s the command I’m using :

    C :\Users\User>C :/Users/User/Desktop/ffmpeg-20150928-git-235381e-win64-static/bin/ffmpeg.exe
    -f dshow -crossbar_video_input_pin_number 2 -i video="ATI AVStream Analog Capture"
    D :\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbuf

    When I run that command, I get this error :

    [NULL @ 00000000087f9160] Unable to find a suitable output format for 'D:\Media\
    tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbuf'
    D:\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbuf: Invalid
    argument

    But if I change .mpgbuf to .mpg it works fine . I am forced to use that filename though. Is there an easy way to do this ?