Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (73)

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

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

  • avformat/mpegtsenc : write format_identifier HEVC for HEVC streams

    23 février 2019, par Marton Balint
    avformat/mpegtsenc : write format_identifier HEVC for HEVC streams
    

    This improves compatibility with some consumer (LG WebOS) TVs which apparently
    search a HEVC descriptor (which our mpegts muxer can't generate) or a format
    identifier.

    Since the HEVC format identifier is not registered (but used in the wild), it is
    not written if strict_std_compliance is higher than normal.

    This fixes the issue in ticket #7744.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/mpegtsenc.c
  • How to stop FFMPEG without stop application in Golang ?

    23 juillet 2022, par Tammam

    I'm making a WEB-based screen record application (if the link is accessed then the record will run) using FFMPEG, but I still haven't found a way to stop the record without stopping the web application (Now still pressing Ctrl+C to stop the recording process and the application will stop too). How do I do that when I click a link (eg host/record/stop) the record will stop without stopping the application

    &#xA;

    here my code

    &#xA;

    //Handler to create room/start record&#xA;func RoomCreate(c *fiber.Ctx) error {&#xA;    fileName := "out.mp4"&#xA;    fmt.Println(fileName)&#xA;    if len(os.Args) > 1 {&#xA;        fileName = os.Args[1]&#xA;    }&#xA;&#xA;    &#xA;&#xA;    errCh := make(chan error, 2)&#xA;    ctx, cancelFn := context.WithCancel(context.Background())&#xA;    // Record&#xA;    go func() { errCh &lt;- recordToVideo(ctx, fileName) }()&#xA;&#xA;    go func() {&#xA;        errCh &lt;- nil&#xA;    }()&#xA;    err := &lt;-errCh&#xA;    cancelFn()&#xA;    if err != nil &amp;&amp; err != context.Canceled {&#xA;        log.Fatalf("Execution failed: %v", err)&#xA;    }&#xA;    &#xA;    return c.Redirect(fmt.Sprintf("/room/%s", guuid.New().String()))&#xA;}&#xA;&#xA;func recordToVideo(ctx context.Context, fileName string) error {&#xA;    ctx, cancelFn := context.WithCancel(ctx)&#xA;    defer cancelFn()&#xA;    // Build ffmpeg&#xA;    ffmpeg := exec.Command("ffmpeg",&#xA;        "-f", "gdigrab",&#xA;        "-framerate", "30",&#xA;        "-i", "desktop",&#xA;        fileName,&#xA;    )&#xA;    // Stdin for sending data&#xA;    stdin, err := ffmpeg.StdinPipe()&#xA;    if err != nil {&#xA;        return err&#xA;    }&#xA;    //var buf bytes.Buffer&#xA;    defer stdin.Close()&#xA;    // Run it in the background&#xA;    errCh := make(chan error, 1)&#xA;&#xA;    go func() {&#xA;        fmt.Printf("Executing: %v\n", strings.Join(ffmpeg.Args, " "))&#xA;        //Here if&#xA;        out, err := ffmpeg.CombinedOutput()&#xA;        fmt.Printf("FFMPEG output:\n%v\n", string(out))&#xA;        errCh &lt;- err&#xA;    }()&#xA;    // Just start sending a bunch of frames&#xA;    for {&#xA;        // Check if we&#x27;re done, otherwise go again&#xA;        select {&#xA;        case &lt;-ctx.Done():&#xA;            return ctx.Err()&#xA;        case err := &lt;-errCh:&#xA;            return err&#xA;        default:&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;//Function to run command FFMPEG&#xA;func recordToVideo(ctx context.Context, fileName string) error {&#xA;    ctx, cancelFn := context.WithCancel(ctx)&#xA;    defer cancelFn()&#xA;    // Build ffmpeg&#xA;    ffmpeg := exec.Command("ffmpeg",&#xA;        "-f", "gdigrab",&#xA;        "-framerate", "30",&#xA;        "-i", "desktop",&#xA;        "-f", "mp4",&#xA;        fileName,&#xA;    )&#xA;    // Stdin for sending data&#xA;    stdin, err := ffmpeg.StdinPipe()&#xA;    if err != nil {&#xA;        return err&#xA;    }&#xA;    //var buf bytes.Buffer&#xA;    defer stdin.Close()&#xA;    // Run it in the background&#xA;    errCh := make(chan error, 1)&#xA;&#xA;    go func() {&#xA;        fmt.Printf("Executing: %v\n", strings.Join(ffmpeg.Args, " "))&#xA;        &#xA;        if err := ffmpeg.Run(); err != nil {&#xA;            return&#xA;        }&#xA;        //fmt.Printf("FFMPEG output:\n%v\n", string(out))&#xA;        errCh &lt;- err&#xA;    }()&#xA;    // Just start sending a bunch of frames&#xA;    for {&#xA;        &#xA;        // Check if we&#x27;re done, otherwise go again&#xA;        select {&#xA;        case &lt;-ctx.Done():&#xA;            return ctx.Err()&#xA;        case err := &lt;-errCh:&#xA;            return err&#xA;        default:&#xA;        }&#xA;    }&#xA;}&#xA;

    &#xA;

    Thanks for advance

    &#xA;

  • Roadmap #3718 : Ménage dans les chaînes de langue

    27 janvier 2017, par marcimat ☺☮☯♫

    C’est un peu autre chose, mais, maintenant qu’on a l’extension possible des fichiers de langues par les plugins, il pourrait être intéressant de regrouper par thème les items de langue.
    Le core pourrait offrir par exemple :
    - un panel de verbes d’actions par exemple &lt;:action:valider:> enregistrer, téléverser, télécharger, supprimer… etc.
    - les dates rangées dans ’date’ tel que &lt;:date:mois:> etc…

    Pour différentes choses ça pourrait être plus simple à étendre et à retrouver.

    Cependant cela pourrait faire beaucoup de fichiers de lang/ dans les plugins ; et peut être que pour éviter d’avoir trop d’ouverture de fichier, le lang/truc_fr.php d’un plugin pourrait déclarer les différentes chaines directement ’action:detailler’ => "Détailler"…