Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (102)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (7587)

  • PHP Ajax XMLHttpRequest popen live progress

    21 février 2016, par John R

    I’m trying to output live : the ffmpeg progress

    It works great when I execute the php file alone : many lines with text appearing one after an other...

    ••• But when it’s a XMLHttpRequest context, the output is 1 line empty

    PHP working when not in AJAX situation :

    ini_set("output_buffering", "0");
    ob_implicit_flush(true);
    $call_mp4 = ' __FFMPEG Command HERE__ ';
    $proc = popen($call_mp4, 'r');
    while (!feof($proc)) {
       echo '['.date("i:s")."] ".fread($proc, 4096).'<br />';ob_flush();flush();
    }

    Does someone know why in AJAX it’s blank and only 1 line ?
    how can this be fixed ?

    Regards

  • Working example on live streaming using FFMPEG+MP4Box+Dash.js

    27 février 2017, par BartMao

    I’m stucked on this issue for a couple of days, couldn’t find a perfect working example.

    Here’s my current method :

    Step 1.

    ffmpeg -re -i sample.mp4 -threads 0 -y \
    -map 0:1 -vn -acodec aac -strict -2 -ar 48000 -ac 2 \
    -f segment -segment_time 4 -segment_format mpegts Dash\audio_%d.ts \
    -map 0:0 -vcodec libx264 -vprofile baseline -preset veryfast \
    -s 640x360 -vb 512k -bufsize 1024k -maxrate 512k -level 31 -keyint_min 25 -g 25 \
    -sc_threshold 0 -an -bsf h264_mp4toannexb -flags -global_header \
    -f segment -segment_time 4 -segment_format mpegts Dash\video_%d.ts

    Step 2.

    mp4box -add Dash\audio_%d.ts Output\audio_%d.ts.mp4
    mp4box -add Dash\video_%d.ts Output\video_%d.ts.mp4

    Step 3.

    mp4box -dash-ctx Output\dash-live.txt -dash 4000 \
    -rap -ast-offset 12 -no-frags-default -bs-switching no \
    -min-buffer 4000 -url-template -time-shift 1800 \
    -segment-name live_$RepresentationID$_ -out Output\live \
    -dynamic -mpd-refresh 2 -subsegs-per-sidx -1 Output\audio_%d.ts.mp4:id=audio Output\video_%d.ts.mp4:id=video

    I played the live.mpd generated using Dash.js, the player paused a long time before actually playing, and freeze every time getting a new m4s file.

    Are there any wrong on my commands ? Or it would be great if can provide any other good examples.

  • How to play live h264 stream with python [closed]

    27 juillet 2020, par vkh53121Acuoly.com

    I have a socket that listen to h264 stream, I can save this stream to file and play it with ffplay.

    &#xA;

    This not rtp/rtsp that wraps h264 .that only h264.

    &#xA;

    I want to watch this stream live, not save to file and after that run ffplay.

    &#xA;

    How can I do that with python,so that work on windows and linux

    &#xA;