Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (109)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (12070)

  • Live stream playing

    20 décembre 2011, par John Smith

    well, I can capture the incoming stream. Its produced by FFMpeg. The php code Im doing it with :

    $address = '127.0.0.1';
    $port = 1234;
    $outfile = "output.flv";

    $ofp = fopen($outfile, 'w');

    if (($sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) === false) { echo "socket_create() failed: reason: " . socket_strerror(socket_last_error()) . "\n"; sleep (5); die; }
    if (socket_bind($sock, $address, $port) === false) { echo "socket_bind() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); die; }
    if (socket_listen($sock, 5) === false) { echo "socket_listen() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); die; }
    if (($msgsock = socket_accept($sock)) === false) { echo "socket_accept() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); break; }
    do {
       $a = '';
       socket_recv ($msgsock, $a, 65536, MSG_WAITALL);
       fwrite ($ofp, $a);
       echo strlen($a);
    } while (true);

    so it produces good file, if I replay this it looks good. But I want to stream it on a site, if I just put a link to the .flv, it would play it from the beginning. How to make it real live ? Thanx in advance.

  • How should I configure FFmpeg to restrict the size and duration of dash chunks ?

    30 juillet 2022, par CodingIsMagic

    There is a .mp4 file of 35 MB and 51 seconds. I want to create 51 dash chunks, each corresponding to 1 second with a size of less than 1MB (the total size should be almost the same as the original file). Please note that I want to implement lossless converting.

    


    ffmpeg -re -i Animated-Background_Bidirection.mp4 -map 0:0 -c:v libx264 -crf 1 -profile:v:0 main -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 -use_timeline 1 -use_template 1 -seg_duration 1 -window_size 60 -adaptation_sets "id=0,streams=v id=1,streams=a" -f dash ./dashTest/out.mpd


    



    


    Please, if you want to put a negative point, mention your reason in the comments !

    



    

  • use ffmpeg parse byte[] in c#

    16 septembre 2018, par pedoc

    i am currently using ffmpeg via FFMPEG.AutoGen,i have two problems to solve

    1.how to use FFMPEG parse byte[] or Stream ?(main byte[],the data is h264 raw bytes.for some reason, I can’t store it as a file after using it.so,avformat_open_input not working for this)
    2.how to get AVFrame raw data to byte[] ?

    i’m newer,thanks fou you time.