Recherche avancée

Médias (91)

Autres articles (78)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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 (7325)

  • avcodec/vorbisdec : don't use a flag to determine if frames have been output

    8 septembre 2022, par Jyrki Vesterinen
    avcodec/vorbisdec : don't use a flag to determine if frames have been output
    

    If a developer using FFmpeg libraries seeks into an earlier position and calls
    avcodec_flush_buffers() afterwards as recommended, the Vorbis decoder will drop
    the next frame, since buffer flushing clears the first_frame flag. As a result,
    the audio samples the calling code receives may be ahead of the requested seek
    position, which is unacceptable in some use cases such as playing a looping
    sound effect.

    This commit records the presentation timestamp of the first frame and
    determines after that if the new frame is the first frame (possible after
    seeking to the start) by comparing its pts to the stored pts.

    • [DH] libavcodec/vorbisdec.c
  • subprocess not creating output file of ffmpeg command

    6 février 2021, par nsharma98

    I am trying to run an ffmpeg command that records my screen and creates an .mp4 file of the recording in python. The command works when I run it in my shell, but is not working when I am running it in a Python script using subprocess.

    


    The issue is that when running it with subprocess, the output.mp4 file is not created.

    


    Here is the command :
timeout 10 ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i pulse -acodec aac -strict experimental output.mp4

    


    Here is the python code :

    


    os.chdir('/home/user/Desktop/myProject/')

subprocess.run('timeout 5 ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i pulse -acodec aac -strict experimental out.mp4')


    


    Is there an additional configuration to add so that subprocess can write output files ?

    


  • FFmpeg desktop recording doesn't work with bluetooth audio source

    12 mai 2020, par Riz

    I am working on an application that records portion of Windows desktop screen using FFmpeg. It works fine using command like this

    



    ffmpeg -f dshow -i audio="Microphone (Realtek Audio)" -f gdigrab -offset_x 0 -offset_y 0 -video_size 300x200 -i desktop -pix_fmt yuv420p -c:v libx264 -r 15 output.mp4


    



    But when I change audio source to my bluetooth headset, FFmpeg just hangs and doesn't start recording. Here is same command with bluetooth audio device

    



    ffmpeg -f dshow -i audio="Headset (QCY-T1_R Hands-Free AG Audio)" -f gdigrab -offset_x 0 -offset_y 0 -video_size 300x200 -i desktop -pix_fmt yuv420p -c:v libx264 -r 15 output1.mp4


    



    Can you please suggest how can we solve this ?