Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (36)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (2744)

  • avformat/vivo : Do not use the general expression evaluator for parsing a floating...

    5 décembre 2021, par Michael Niedermayer
    avformat/vivo : Do not use the general expression evaluator for parsing a floating point value
    

    Fixes : Timeout
    Fixes : 41564/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVO_fuzzer-6309014024093696

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/vivo.c
  • How to record screen using FFMPEG in Background and Stop It

    23 juillet 2022, par Tammam

    I'm making a video meeting application and implementing from this repository https://github.com/boratanrikulu/quik.do and I will make a screen record if I access the room/create room server side using FFMPEG. but I have a problem because after I access the FFMPEG command, the command does not run in the background so the handler to access the room does not run. I will also make a function to stop recording that does not affect the application (the application will still run)

    &#xA;

    here my code

    &#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;    // Record to video and wait for enter key asynchronously&#xA;    fmt.Printf("Starting...press enter to exit...")&#xA;    errCh := make(chan error, 2)&#xA;    ctx, _ := context.WithCancel(context.Background())&#xA;    // Record&#xA;    go func() { errCh &lt;- recordToVideo(ctx, fileName) }()&#xA;    &#xA;&#xA;    //The following program from FFMPEG will stop if you press enter, and will wait here so it doesn&#x27;t enter create room&#xA;    // Wait for enter&#xA;    go func() {&#xA;        fmt.Scanln()&#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;    // Wait a bit...&#xA;    //time.Sleep(4 * time.Second)&#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;

    How do I get the command to run in the background ? and how to stop recording without stopping the application ?

    &#xA;

  • Revision 22012ee994 : optimize 8x8 fdct rounding for accuracy The commit added a final rounding choic

    22 février 2013, par Yaowu Xu

    Changed Paths : Modify /test/fdct8x8_test.cc Modify /test/test.mk Modify /vp9/encoder/vp9_dct.c optimize 8x8 fdct rounding for accuracy The commit added a final rounding choice for 8x8 forward dct to get rid of a sign bias at DC position and improve the accuracry in term of round trip error for 8x8 (...)