Recherche avancée

Médias (91)

Autres articles (98)

  • 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 vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • 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 ;

Sur d’autres sites (5874)

  • mpeg-dash live streaming can't fetch chunks

    27 juin 2020, par user1902653

    I'm trying to create a live stream of mpeg-dash with ffmpeg.

    


    I'm streaming with python the frames to the ffmpeg process.

    


    This is the current command I'm using for creating the mpeg-dash manifest and m4s files :

    


    ffmpeg -re -f rawvideo -pix_fmt bgr24 -video_size 640x360 -i - -vcodec libx264 -preset ultrafast -tune zerolatency -f dash -window_size 10 -use_template 1 -use_timeline 0 -live 1 /srv/http/dash/stream.mpd


    


    I'm using nginx as a server for now and I've created a simple index.html using shaka player, but the problem is I couldn't get it to load and play more then the first chunk. (checked with dev-tools in chrome in the network tab)

    


    This is how I'm using shaka player right now :

    


    

    

    &#xA;    &#xA;        <code class="echappe-js">&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/shaka-player/2.1.4/shaka-player.compiled.js&quot;&gt;&lt;/script&gt;&#xA;        &lt;script&gt;&amp;#xA;            var manifestUri = &amp;#x27;stream.mpd&amp;#x27;;&amp;#xA;            function initApp() {&amp;#xA;                shaka.polyfill.installAll();&amp;#xA;                if (shaka.Player.isBrowserSupported()) {&amp;#xA;                    initPlayer();&amp;#xA;                } else {&amp;#xA;                    console.error(&amp;#x27;Browser not supported!&amp;#x27;);&amp;#xA;                }&amp;#xA;            }&amp;#xA;            function initPlayer() {&amp;#xA;                var video = document.getElementById(&amp;#x27;video&amp;#x27;);&amp;#xA;                var player = new shaka.Player(video);&amp;#xA;                window.player = player;&amp;#xA;                player.addEventListener(&amp;#x27;error&amp;#x27;, onErrorEvent);&amp;#xA;                player.load(manifestUri).then(function() {&amp;#xA;                    console.log(&amp;#x27;The video has now been loaded!&amp;#x27;);&amp;#xA;                }).catch(onError);&amp;#xA;            }&amp;#xA;            function onErrorEvent(event) {&amp;#xA;                onError(event.detail);&amp;#xA;            }&amp;#xA;            function onError(error) {&amp;#xA;                console.error(&amp;#x27;Error code&amp;#x27;, error.code, &amp;#x27;object&amp;#x27;, error);&amp;#xA;            }&amp;#xA;            document.addEventListener(&amp;#x27;DOMContentLoaded&amp;#x27;, initApp);&amp;#xA;        &lt;/script&gt;&#xA;    &#xA;    &#xA;        &#xA;    &#xA;

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    For some reason the stream is only playing the first chunk and never requesting for the next chunk. How can I make it load the next chunks ?

    &#xA;

    When tried using dash.js I couldn't get it to load even the first chunk.

    &#xA;

    Thanks in advance.

    &#xA;

  • FFMPEG is not executing

    14 juin 2020, par user2397316

    I have installed FFMPEG in my Centos7 dedicated Server, now I want to run the FFMPEG, but it is not executing, can anyone help what could be the reason.

    &#xA;&#xA;

    Note : I have Cpanel installed also.&#xA;My code is below :

    &#xA;&#xA;

        &#xA;&#xA;    &#xA;        &#xA;    &#xA;    &#xA;        <form action="" method="post" enctype="multipart/form-data">&#xA;            <input type="file" />&#xA;            <input type="submit" />&#xA;        </form>&#xA;    &#xA;&#xA;&lt;?php&#xA;if (isset($_POST[&#x27;submit&#x27;])){&#xA;    $currentPath=$_FILES[&#x27;video&#x27;][&#x27;tmp_name&#x27;];&#xA;   $ffmpeg = "/usr/bin/ffmpeg";&#xA;    exec("$ffmpeg -i ".$currentPath." -an output/video.mp4");&#xA;    echo "OK";&#xA;}&#xA;?>&#xA;

    &#xA;

  • CLI Extract date/time stamp (timestamp) from quicktime or mpeg files

    25 mai 2020, par vy32

    Is there a way to extract a date/time or a timestamp from various multi-media container files with Quicktime or MPEG2/MPEG4 ? I'm looking ideally for a command line tool. I have been able to get timestamps using ffprobe, part of the ffmpeg suite, but I haven't gotten the year, month and date. The camera had a clock so I'm pretty sure that this information was available.

    &#xA;&#xA;

    The history of this data file is that it was first shot on miniDV and transferred to a Mac over Firewire 800 using QuicktimePlayer to record the video. I'm told that the miniDV format is motion jpeg. The file command reports that the file is ISO Media, Apple QuickTime movie, Apple QuickTime (.MOV/QT).

    &#xA;&#xA;

    % ffprobe -f lavfi -i "movie=filename.mov,fps=fps=25[out0]" -show_frames -show_streams -show_entries frame=pkt_pts_time -of csv=p=0 2>&amp;1 | head -30&#xA;ffprobe version 4.2.2 Copyright (c) 2007-2019 the FFmpeg developers&#xA;  built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfdk-aac&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Input #0, lavfi, from &#x27;movie=/Volumes/SanDiskSSD/Movies/Italy22.mov,fps=fps=25[out0]&#x27;:&#xA;  Duration: N/A, start: 0.000000, bitrate: N/A&#xA;    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc&#xA;0.000000&#xA;0.040000&#xA;0.080000&#xA;0.120000&#xA;0.160000&#xA;0.200000&#xA;0.240000&#xA;0.280000&#xA;0.320000&#xA;0.360000&#xA;0.400000&#xA;0.440000&#xA;0.480000&#xA;0.520000&#xA;0.560000&#xA;%&#xA;

    &#xA;&#xA;

    I want output showing the year, month and date that this was shot.

    &#xA;