Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (59)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7418)

  • My RTMP server(freebsd) wont let me hear video when I play a huge file over the server itself :/

    19 avril 2021, par Engi Gang

    rm -rf /mnt/hls/loool && ffmpeg -re -i "$file" -c:v libx264 -c:a aac -b:v 300k -b:a 95k -f flv -flvflags no_duration_filesize rtmp ://lambright.xyz:1935/live/loool

    


    any work around I literally cant play the audio :( I can only hear (my source file is an MKV and 3gb )

    


    rtmp {
    server {
        listen 1935; # Listen on standard RTMP port
        chunk_size 4000;

        application live {
            allow play all;
            live on;
            record off;
            hls on;
            hls_nested on;
            hls_path /mnt/hls/;
            hls_fragment 2s;
        }
        
    }
}


    


  • AS3 AIR Detecting video play completion with FFMPEG

    21 août 2015, par AntBirch

    I’m using FFMPEG with AS3 as I need to be able to allow the use of multiple video formats. The problem I’m having is that whilst using FFMPEG the following netStatus will never get triggered - NetStream.Play.Stop

    I’ve tried adding onPlayStatus and onStatus to the client but it seems that FFMPEG doesn’t work with these either. The only way I currently have of knowing if the video is finished is by using "NetStream.Buffer.Empty" but this really isn’t practical and may cause issues in the long run.

    I previously had an issue with being unable to trace out the netStream duration with FFMPEG which resulted in the use of ProgressEvent. Is this function the way forward for my current issue ?

    Thanks in advance.

    EDIT 1 : It may be possible that because NetStream is a sealed class that I have to use an internal class to add the onPlayStatus function to it ? I’ve added netStream.client = new Client();

    EDIT 2 : Can’t seem to find a way to call onPlayStatus.

    EDIT 3 : Not sure if it’s worth noting but netStream.time never seems to match netStream.bufferlength when the video has finished.

  • The .mp4 video does not play, which is created from ffmpeg library (not command line)

    25 septembre 2013, par user1914692

    I use ffmpeg library to encode frames to a .mp4 video. The program runs smoothly without error. But the output .mp4 video does not play. Properties of the file does not even show it is a video file, no any information of video stream.

    The related code is :

    const char* ouVideoFileName = "output.mp4";
    AVCodecID ouCodec_id = CODEC_ID_H264;

    But if I change it to :

    const char* ouVideoFileName = "output.avi";
    AVCodecID ouCodec_id = CODEC_ID_H264;

    The .avi video plays correctly.

    What's wrong with .mp4 video ?