Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (27)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (5453)

  • How to look for a specific file in a directory in php and send it to a different directory after conversion ?

    12 mai 2019, par flash

    I have a directory in which there is a mp4 file (including other files as well) which I want to convert into mp3 and then send it to different directory. I have used the following command line command to covert into mp3 and its working perfectly fine.

    ffmpeg -i 36031P.mp4 -map 0:2 -ac 1 floor_english.mp3

    mp4 file is inside in_folder. Using ffmpeg, I want to convert mp4 file into mp3 and send it to out_folder.

    <?php
    $dir    = 'in_folder';
    $files1 = scandir($dir);
    print_r($files1);    /* It lists all the files in a directory including mp4 file*/
    ?>

    print_r($files1) lists all the file in a directory including mp4file.

    Problem Statement :

    I am wondering what php code I need to write so that it looks for only mp4 file inside the directory and send it to different directory (let say out_folder) after converting into mp3.

  • ffmpeg decode h.264 stream latency one frame always

    3 juillet 2018, par rywang

    Now I use the x264 library to compress the video (from camera) and transmit to client side by TCP. In the client side, use the ffmpeg library to decode the stream on the Win32. But I find the stream decoding always latency one frame. That is to say, if the client side received A,B,C three frame, when decode the A frame, can’t get the image. Then decode the B frame, get the A frame image.

    For the h.264 encode, i have set zerolatency - ultrafast - baseline. So I think there is no B frame.

    For the ffmpeg decoder, i have tried to set the thread_type = 0 to disable frame buffering decoding. But no efficient ! By the way, after decoded one frame, passing NULL to the decoder to flush the decoder can help this case. But i think this is not a good solution.

    So how to set the ffmpeg library to avoid the one frame latency ?

  • ffmpeg decode h.264 stream latency one frame always

    5 décembre 2016, par rywang

    Now I use the x264 library to compress the video (from camera) and transmit to client side by TCP. In the client side, use the ffmpeg library to decode the stream on the Win32. But I find the stream decoding always latency one frame. That is to say, if the client side received A,B,C three frame, when decode the A frame, can’t get the image. Then decode the B frame, get the A frame image.

    For the h.264 encode, i have set zerolatency - ultrafast - baseline. So I think there is no B frame.

    For the ffmpeg decoder, i have tried to set the thread_type = 0 to disable frame buffering decoding. But no efficient ! By the way, after decoded one frame, passing NULL to the decoder to flush the decoder can help this case. But i think this is not a good solution.

    So how to set the ffmpeg library to avoid the one frame latency ?