Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (80)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (10707)

  • Revert "avcodec/cbs_av1 : keep separate reference frame state for reading and writing"

    8 juillet 2020, par James Almer
    Revert "avcodec/cbs_av1 : keep separate reference frame state for reading and writing"
    

    This reverts commit 4e2bef6a82b356772a5919c51c9be1530268bd79.
    It's no longer needed now that all the bsfs use separate contexts
    for reading and writing.

    • [DH] libavcodec/cbs_av1.c
    • [DH] libavcodec/cbs_av1.h
  • "File descriptor in bad state" error while running ffmpeg on android device and selecting an input device

    25 août 2012, par user1545779

    Below is the output of the ffmpeg command :# ./ffmpeg -y -f s16le -i /dev/snd/pcmC3D0c 1640.wmv -to create an audio file from a Logitech webcam on an android device.

    As shown in the output, I received a File descriptor in bad state error for referring to the mic input as /dev/snd/pcmC3D0c I determined the value of the device (webcam mic) by reviewing the contents of /proc/asound. The webcam mic was card3 and its STREAM0 file indicated that the mic has an audio format of format S16_LE

    It was also confirmed that it is a capture device and its' pcm id was pcmC3D0c (C3 being the card number and D0 being the Device number. I then confirmed the correct device by checking the /dev/snd/ directory to confirm its proper and full description. The /dev/snd folder confirmed that the mic was /dev/snd/pcmC3D0c

    I then checked the permissions and ownership to make sure that I could use that device. Hence as far as identifying the correct device to used I do believe that /dev/snd/pcmC3D0c is the correct device. I do believe this error could possibly have something to do with the OS, however after all these checks, I still cannot figure out what is giving the bad file descriptor state error.

    Please note that I tested for different output formats, etc and that did not make any difference. Any leads or suggestions ?

    # ./ffmpeg -y -f s16le -i /dev/snd/pcmC3D0c 1640.wmv

    ffmpeg version N-43170-gd84dd35 Copyright (c) 2000-2012 the FFmpeg developers
    built on Aug 24 2012 09:16:05 with gcc 4.4.3 (GCC) configuration : —enable-cross-compile —arch=arm —cpu=cortex-a9 —target-os=linux —enable-runtime-cpudetect —prefix=/output —enable-pic —cross-prefix=/home/jasongipsyblues/Desktop/apps/android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi- —sysroot=/home/jasongipsyblues/Desktop/apps/android-ndk-r8b/platforms/android-14/arch-arm —enable-version3 —enable-gpl —enable-memalign-hack —disable-doc —enable-yasm —enable-libx264 —enable-zlib —extra-cflags=-I../x264 —extra-ldflags='-L../x264 -lc'

    libavutil 51. 66.100 / 51. 66.100
    libavcodec 54. 48.100 / 54. 48.100
    libavformat 54. 22.100 / 54. 22.100
    libavdevice 54. 2.100 / 54. 2.100
    libavfilter 3. 5.102 / 3. 5.102
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 15.100 / 0. 15.100
    libpostproc 52. 0.100 / 52. 0.100

    [s16le @ 0xfd84f0] Invalid sample rate 0 specified using default of 44100
    [s16le @ 0xfd84f0] Estimating duration from bitrate, this may be inaccurate
    Guessed Channel Layout for Input Stream #0.0 : mono
    Input #0, s16le, from '/dev/snd/pcmC3D0c' :
    Duration : N/A, bitrate : 705 kb/s
    Stream #0:0 : Audio : pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
    Output #0, asf, to '1640.wmv' :
    Metadata :
    WM/EncodingSettings : Lavf54.22.100
    Stream #0:0 : Audio : wmav2 (a[1][0][0] / 0x0161), 44100 Hz, mono, s16, 128 kb/s
    Stream mapping :
    Stream #0:0 -> #0:0 (pcm_s16le -> wmav2)
    Press [q] to stop, [?] for help

    /dev/snd/pcmC3D0c : File descriptor in bad state

    size= 1kB time=00:00:00.00 bitrate= 0.0kbits/s
    video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead 5340.000000%

  • Pydub does not work sometimes (ffmpeg problem)

    17 juillet 2022, par randomguy

    I'm making a program for macOS that uses pydub and therefore ffmpeg (ffmpeg was installed by copying ffmpeg and ffprobe to /usr/local/bin).

    


    When I run my program through the terminal (python3 [filename]) or compile it into an executable file without extension, it works fine. But when I run it via IDLE or compile to .app, ffmpeg doesn't work. It says this :

    


    RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)


    


    The same message appears when ffmpeg is not installed at all.

    


    How to make ffmpeg/pydub work correctly ?