Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (76)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8844)

  • rtpdec_jpeg : fix low contrast image on low quality setting

    24 mars 2016, par Ico Doornekamp
    rtpdec_jpeg : fix low contrast image on low quality setting
    

    The problem is that the argument ’q’ is of the type uint8_t.
    According to the JPEG standard, if 1 <= q <= 50, the scale factor
    ’S’ should be 5000 / Q. Because the create_default_qtables() reuses
    the variable ’q’ to store the result of this calculation, for small
    values of q < 19, q wil subsequently overflow and give wrong results
    in the calculated quantization tables.

    Instead, use a new variable ’S’ (same name as in RFC2435) with the
    proper range to store the result of the division.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtpdec_jpeg.c
  • ffmpeg channels don't work (PHP)

    15 avril 2016, par Y.Saad

    I have a lot of channels with " ffmpeg " (4 channels) that start automatically, I create a code for show the first channel and after 5 seconds show the second .. Etc All things as right but I have a small problem the seconds channel doesn’t start automatically, I need to make stop to the first channel

    Code for 4 channel work 100% but without function for show first channel and after 5 seconds show the second ... Etc

    &lt;?php

    ffmpeg -i http://clay24.webhop.net:8000/live/mario/mario/13.ts -i http://clay24.webhop.net:8000/live/mario/mario/12.ts -i http://clay24.webhop.net:8000/live/mario/mario/10.ts -map 0 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/1 -map 1 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/21 -map 2 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/24

    ?>

    the second code with functions

    &lt;?php
    echo'
       <code class="echappe-js">&lt;script&gt;<br />
    <br />
                    window.addEventListener(&quot;load&quot;, function() {<br />
    <br />
    var urls = iframes = [ &quot;'; ffmpeg -i http://mygameravatar.zapto.org:43666/live/test1/test2/81.ts -c:a aac -b:a 64k -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/2 <br />
            echo '];<br />
    <br />
    var iframes = document.querySelectorAll(&quot;div&quot;);<br />
    <br />
    var n = 0;<br />
    <br />
    var interval = setInterval(function() {<br />
     <br />
     iframes[++n].src = urls[n - 1];<br />
     iframes[n].style.display = &quot;block&quot;;<br />
     console.log(n);<br />
     if (n === iframes.length -1) {<br />
       clearInterval(interval);<br />
       console.log(&quot;all iframes loaded&quot;)<br />
     }<br />
     <br />
    }, 5000)<br />
    <br />
    })<br />
            &lt;/script&gt;
    ’ ;

    ffmpeg -i http://mygameravatar.zapto.org:43666/live/test1/test2/297.ts -c:a aac -b:a 64k -preset fast -crf 25 -vcodec libx264 -f flv rtmp ://178.33.231.108:1989/mylive/1

    echo ’

    ’ ;
     ?>

  • ffmpeg - Error [tcp @ 0x5a25700] Port missing in uri

    9 mai 2021, par ger

    For further development I tried to download a livestream under Ubuntu 20.04

    &#xA;

    uname -a&#xA;Linux 5.9.16-050916-generic #202012211331 SMP Mon Dec 21 14:11:13 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux`&#xA;&#xA;ffmpeg -v debug -i &#x27;https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd&#x27; testErsterKanal.mp4&#xA;ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)&#xA;  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;  WARNING: library configuration mismatch&#xA;  avcodec     configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc&#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;Splitting the commandline.&#xA;Reading option &#x27;-v&#x27; ... matched as option &#x27;v&#x27; (set logging level) with argument &#x27;debug&#x27;.&#xA;Reading option &#x27;-timeout&#x27; ... matched as AVOption &#x27;timeout&#x27; with argument &#x27;5000&#x27;.&#xA;Reading option &#x27;-i&#x27; ... matched as input url with argument &#x27;https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd&#x27;.&#xA;Reading option &#x27;testErsterKanal.mp4&#x27; ... matched as output url.&#xA;Finished splitting the commandline.&#xA;Parsing a group of options: global .&#xA;Applying option v (set logging level) with argument debug.&#xA;Successfully parsed a group of options.&#xA;Parsing a group of options: input url https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd.&#xA;Successfully parsed a group of options.&#xA;Opening an input file: https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd.&#xA;[NULL @ 0x55f8e8ee6740] Opening &#x27;https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd&#x27; for reading&#xA;[https @ 0x55f8e8ee7100] Setting default whitelist &#x27;http,https,tls,rtp,tcp,udp,crypto,httpproxy&#x27;&#xA;[tcp @ 0x55f8e8ee9580] Original list of addresses:&#xA;[tcp @ 0x55f8e8ee9580] Address 81.211.33.67 port 443&#xA;[tcp @ 0x55f8e8ee9580] Interleaved list of addresses:&#xA;[tcp @ 0x55f8e8ee9580] Address 81.211.33.67 port 443&#xA;[tcp @ 0x55f8e8ee9580] Starting connection attempt to 81.211.33.67 port 443&#xA;[tcp @ 0x55f8e8ee9580] Successfully connected to 81.211.33.67 port 443&#xA;[https @ 0x55f8e8ee7100] request: GET /dash-live11/streams/1tv/1tvdash.mpd HTTP/1.1&#xA;

    &#xA;

    worked well

    &#xA;

    Under Debian 10

    &#xA;

    Linux 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux&#xA;

    &#xA;

    it is not working

    &#xA;

        ffmpeg -v debug -i &#x27;https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd&#x27; testErsterKanal.mp4&#xA;ffmpeg version 4.1.6 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 8 (Debian 8.3.0-6)&#xA;  configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-libopencv --disable-outdev=sdl2 --disable-podpages --disable-sndio --disable-stripping --enable-libaom --enable-avfilter --enable-avresample --enable-gcrypt --disable-gnutls --enable-openssl --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libzimg --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opencl --enable-opengl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --enable-libwebp --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --enable-libvmaf --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu&#xA;  libavutil      56. 22.100 / 56. 22.100&#xA;  libavcodec     58. 35.100 / 58. 35.100&#xA;  libavformat    58. 20.100 / 58. 20.100&#xA;  libavdevice    58.  5.100 / 58.  5.100&#xA;  libavfilter     7. 40.101 /  7. 40.101&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  3.100 /  5.  3.100&#xA;  libswresample   3.  3.100 /  3.  3.100&#xA;  libpostproc    55.  3.100 / 55.  3.100&#xA;Splitting the commandline.&#xA;Reading option &#x27;-v&#x27; ... matched as option &#x27;v&#x27; (set logging level) with argument &#x27;debug&#x27;.&#xA;Reading option &#x27;-i&#x27; ... matched as input url with argument &#x27;https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd&#x27;.&#xA;Reading option &#x27;testErsterKanal.mp4&#x27; ... matched as output url.&#xA;Finished splitting the commandline.&#xA;Parsing a group of options: global .&#xA;Applying option v (set logging level) with argument debug.&#xA;Successfully parsed a group of options.&#xA;Parsing a group of options: input url https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd.&#xA;Successfully parsed a group of options.&#xA;Opening an input file: https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd.&#xA;[NULL @ 0x55ce69421280] Opening &#x27;https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd&#x27; for reading&#xA;[https @ 0x55ce69421e40] Setting default whitelist &#x27;http,https,tls,rtp,tcp,udp,crypto,httpproxy&#x27;&#xA;[tcp @ 0x55ce69425e00] Port missing in uri&#xA;https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd: Invalid argument&#xA;

    &#xA;

    I tried with ports 80 and 443, IP and an actual ffmpeg-Version in all combinations

    &#xA;

        nmap edge2.1internet.tv&#xA;Starting Nmap 7.70 ( https://nmap.org ) at 2021-05-06 21:46 CEST&#xA;Nmap scan report for edge2.1internet.tv (81.211.33.67)&#xA;Host is up (0.078s latency).&#xA;Not shown: 998 filtered ports&#xA;PORT    STATE SERVICE&#xA;80/tcp  open  http&#xA;443/tcp open  https&#xA;&#xA;ffmpeg -v debug -i &#x27;https://81.211.33.67:443/dash-live11/streams/1tv/1tvdash.mpd&#x27; testErsterKanal.mp4&#xA;    ffmpeg -v debug -i &#x27;https://81.211.33.67:80/dash-live11/streams/1tv/1tvdash.mpd&#x27; testErsterKanal.mp4&#xA;    ./ffmpeg-git-20210501-amd64-static/ffmpeg -v debug -i &#x27;https://81.211.33.67:443/dash-live11/streams/1tv/1tvdash.mpd&#x27; testErsterKanal.mp4&#xA;

    &#xA;

    What is the error : [tcp @ 0x55ce69425e00] Port missing in uri and where it comes from ?&#xA;May be an global configuration error and not ffmpeg ?&#xA;Thanks

    &#xA;

    EDIT

    &#xA;

    I found out, that it is working only with sudo and the actual ffmpeg version (static build) from the home directory of the user, which is owend by the user.&#xA;All privileges of the directory's are at the user.

    &#xA;

    sudo ./ffmpeg-git-20210501-amd64-static/ffmpeg -re -i https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd testErsterKanal.mp4&#xA;ffmpeg version N-57204-gc7c138e411-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 8 (Debian 8.3.0-6)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg&#xA;  libavutil      57.  0.100 / 57.  0.100&#xA;  libavcodec     59.  0.100 / 59.  0.100&#xA;  libavformat    59.  0.100 / 59.  0.100&#xA;  libavdevice    59.  0.100 / 59.  0.100&#xA;  libavfilter     8.  0.101 /  8.  0.101&#xA;  libswscale      6.  0.100 /  6.  0.100&#xA;  libswresample   4.  0.100 /  4.  0.100&#xA;  libpostproc    56.  0.100 / 56.  0.100&#xA;

    &#xA;

    With the standard Debian distribution version from /usr/bin/ffmpeg is still not working, too with su-privileges.

    &#xA;

    I want to use it for tvheadend/TVH and can not work with su-privileges.

    &#xA;

    I tried to at Ubuntu

    &#xA;

    nc -z -v -u 81.211.33.67 443&#xA;Connection to 81.211.33.67 443 port [udp/*] succeeded!&#xA;

    &#xA;

    at Debian

    &#xA;

    nc -z -v -u 81.211.33.67 443&#xA;81.211.33.67: inverse host lookup failed: Unknown host&#xA;(UNKNOWN) [81.211.33.67] 443 (?) open&#xA;

    &#xA;

    and with sudo the same.

    &#xA;