Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (35)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (7356)

  • how to stop a function from a button in tkinter

    11 mars 2020, par Cb9867

    I am trying to record audio from microphone in python with the help of ffmpeg.

    By using this i am able to record voice but how can i stop this function by clicking of a button.

    to stop this now i am terminating the IDLE forcefully.

    import os
    import subprocess
    import tkinter as tk
    from tkinter import *
    root = Tk()
    os.chdir('C://Users/ravir/desktop/')
    def recording_voice():
     global p
     p=subprocess.Popen('ffmpeg -f dshow -i audio="Microphone (2- High Definition Audio Device)" sample.mp3' )

    def stop_rec():  # ho to stop this ???
       p.terminate()

    rec_btn = Button(text='Start Recording', width=20, command=recording_voice)
    rec_btn.pack()

    stop_btn = Button(text='Stop Recording', width=20, command=stop_rec)
    stop_btn.pack()

    root.mainloop()
  • libavcodec/amfenc : Fix issue with missing headers in AV1 encoder

    12 juillet 2023, par Evgeny Pavlov
    libavcodec/amfenc : Fix issue with missing headers in AV1 encoder
    

    This commit fixes issue with missing SPS/PPS headers in video
    encoded by AMF AV1 encoder.
    Missing headers leads to broken seek in MPV video player.
    Default value for property AV1_HEADER_INSERTION_MODE shouldn't be setup
    to NONE (no headers insertion). We need to skip definition of this property,
    because default value depends on USAGE property.

    Signed-off-by : Dmitrii Ovchinnikov <ovchinnikov.dmitrii@gmail.com>

    • [DH] libavcodec/amfenc_av1.c
  • ffmpeg : Failed to call av_register_all

    19 décembre 2013, par oferbar

    I've got an Windows 7 application that is using ffmpeg to decode video frames.

    It is using an older version of ffmpeg (not sure exactly which one) but it is working ok, except some decoding errors when calling avcodec_decode_video2 from increasing number of threads.

    So I decided to upgrade the ffmpeg to a newer build and got 2.1.1 (latest).
    I got it off http://ffmpeg.zeranoe.com/builds/

    I managed to compile the application using the new include/libs.

    However, when I run the application it throws an exception that a function was not found during dll loading.
    I traced that to av_register_all() which is inside avformat.lib and avformat-55.dll.

    It looks like the definition of this function in tha ffmpeg library was changed over the versions. It no longer points to avformat-55.dll (none that I was able to find using dumpbin).

    So what is the best way to call this function from a C++ dll ?

    Currently, in my include file I have this :

    extern "C"
    {
    #include "libavutil\dict.h"
    #include "libavcodec\avcodec.h"
    #include "libavformat\avformat.h"

    };

    #pragma comment(lib,"avcodec.lib")
    #pragma comment(lib,"avformat.lib")
    #pragma comment(lib,"avutil.lib")

    Many thanks !

    Ofer