Recherche avancée

Médias (91)

Autres articles (104)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (11233)

  • lavc/codec_desc : add a property for codecs that support field coding

    5 mai 2023, par Anton Khirnov
    lavc/codec_desc : add a property for codecs that support field coding
    

    Multiple places currently use AVCodecContext.ticks_per_frame > 1 to
    identify such codecs, which
    * requires a codec context
    * requires it to be open

    • [DH] doc/APIchanges
    • [DH] libavcodec/codec_desc.c
    • [DH] libavcodec/codec_desc.h
    • [DH] libavcodec/version.h
  • Using ffmpeg to convert audio from Red5

    19 août 2014, par Chintan Patel

    I am facing some problems in my project.

    In my project, I need to implement microphone integration with RED5 server using Actionscript which is used to store the audio stream on server and after that I used ffmpeg in java code to convert the flv file to mp3.

    I am facing 2 problems here :

    1. The recorded audio creates .flv file which is currepted.

    2. When I try to convert the .flv to .mp3 using ffmpeg, it gets stuck until I stop the Red5 server.

    Here is my code of both places. Please let me know where I am doing wrong.

    Actionscipt to record microphone audio and stream on red5 :

    private function initConnection():Void {

           trace("Connecting...");

           nc = new NetConnection();
           nc.client = this;
           nc.addEventListener(NetStatusEvent.NET_STATUS, onNetConnectionStatus);
           nc.connect("rtmp://127.0.0.1/test");

           this.mic = Microphone.getMicrophone();

           if (this.mic != null) {
               this.mic.rate = 44;
               mic.setSilenceLevel(0);
               mic.gain = 100;
               mic.setUseEchoSuppression(true);
               mic.setLoopBack(true);              
           }                  
       }

    To Send on Red5 :

    public function startSending( nc: NetConnection, filename:String ) {
           ns = new NetStream(nc);
           ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStreamStatus);
           ns.publish(filename, 'record');
           ns.attachAudio(mic);        
    }

    To Stop recording/sending :

    public function stopSending() {
           mic.setLoopBack(false);
           ns.attachAudio(null);
           ns.close();    
    }

    The resulting .flv stored on server which is currepted.

    Not to convert .flv into .mp3, I have used ffmpeg in my Java code as per following :

    String ffmpegArgs[] = {executableDir,"-i",flvFile.getAbsolutePath(), "-vn", mp3File.getAbsolutePath()};
    Process process = new ProcessBuilder(Arrays.asList(ffmpegArgs)).start();

    This starts the file conversion, but it gets stucked. After some time when I stop the server, it immediately shows the converted file.
    Please let me know, where I am doing wrong.

  • avcodec/hevc_filter : Pass HEVCLocalContext when slice-threading

    29 juin 2022, par Andreas Rheinhardt
    avcodec/hevc_filter : Pass HEVCLocalContext when slice-threading
    

    The HEVC decoder has both HEVCContext and HEVCLocalContext
    structures. The latter is supposed to be the structure
    containing the per-slicethread state.

    Yet that is not how it is handled in practice : Each HEVCLocalContext
    has a unique HEVCContext allocated for it and each of these
    coincides with the main HEVCContext except in exactly one field :
    The corresponding HEVCLocalContext.
    This makes it possible to pass the HEVCContext everywhere where
    logically a HEVCLocalContext should be used.

    This commit stops doing this for lavc/hevc_filter.c ; it also constifies
    everything that is possible in order to ensure that no slice thread
    accidentally modifies the main HEVCContext state.

    There are places where this was not possible, namely with the SAOParams
    in sao_filter_CTB() or with sao_pixels_buffer_h in copy_CTB_to_hv().
    Both of these instances lead to data races, see
    https://fate.ffmpeg.org/report.cgi?time=20220629145651&slot=x86_64-archlinux-gcc-tsan-slices

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/hevc_filter.c
    • [DH] libavcodec/hevcdec.c
    • [DH] libavcodec/hevcdec.h