Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (51)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (8347)

  • avformat/rtpdec_jpeg : fix low contrast image on low quality setting

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

    Original mail and my own followup on ffmpeg-user earlier today :

    I have a device sending out a MJPEG/RTP stream on a low quality setting.
    Decoding and displaying the video with libavformat results in a washed
    out, low contrast, greyish image. Playing the same stream with VLC results
    in proper color representation.

    Screenshots for comparison :

    http://zevv.nl/div/libav/shot-ffplay.jpg
    http://zevv.nl/div/libav/shot-vlc.jpg

    A pcap capture of a few seconds of video and SDP file for playing the
    stream are available at

    http://zevv.nl/div/libav/mjpeg.pcap
    http://zevv.nl/div/libav/mjpeg.sdp

    I believe the problem might be in the calculation of the quantization
    tables in the function create_default_qtables(), the attached patch
    solves the issue for me.

    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. The
    patch below uses a new variable ’S’ (same name as in RFC2435) with the proper
    range to store the result of the division.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/rtpdec_jpeg.c
  • 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 ’

    ’ ;
     ?>