Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (33)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • 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 (5968)

  • avformat/dashdec : Ensure strings are zero-terminated

    2 mars 2021, par Andreas Rheinhardt
    avformat/dashdec : Ensure strings are zero-terminated
    

    strncpy only ensures that one does not write beyond the end of the
    destination buffer ; in case of truncation it does not zero-terminate
    the destination buffer. This makes using it the way it is now in the
    DASH demuxer dangerous. So use av_strlcpy instead.

    Also don't write anything if there is no id : The buffer has already been
    zeroed initially.

    The DASH testset from the Universität Klagenfurt contains samples with
    ids that are too long. E.g.
    http://ftp.itec.aau.at/datasets/DASHDataset2014/TearsOfSteel/1sec/TearsOfSteel_1s_simple_2014_05_09.mpd

    Reviewed-by : Steven Liu <lq@chinaffmpeg.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/dashdec.c
  • Why are there multiple timescale specified in a MP4/AVC container file ?

    24 juin 2021, par Lexx32117

    I am currently parsing a MPEG-DASH stream initialization segment (generated by FFMPEG) and I noticed that the timescale is specified at multiple different places in my file :

    &#xA;

      &#xA;
    • In the movie header box (mvhd) : 1000
    • &#xA;

    • In the media header box of my video track (mdhd) : 15360
    • &#xA;

    • In the AVC Configuration box (avcC) more precisely in the VUI section of the sequence parameter set NAL unit : 60
    • &#xA;

    &#xA;

    Why is it specified in so many different places ? Why do they have different values ? Is there a hierarchy in these value ? For example does 60 overrides 15360 and 15360 overrides 1000 ?

    &#xA;

    Here's the command I used to generate the file I am looking at :

    &#xA;

    ffmpeg -f v4l2 -pixel_format yuyv422 -vcodec rawvideo -framerate 30 -video_size 640x360 -i /dev/video0 \&#xA;        -f dash -remove_at_exit false -use_template true -use_timeline true -streaming true -window_size 5 -extra_window_size 5 -seg_duration 5 -vcodec libx264 -b:v 1M -maxrate 1M -bufsize 2M  -pix_fmt yuv420p -r 30 -s 640x360 -aspect 16:9 /var/www/html/media/live.mpd&#xA;

    &#xA;

  • How to handle errors during downloading (using videomanifest) video and make it more robust

    5 mai 2023, par Wakan Tanka

    I'm using ffmpeg to download videos from streaming site following way :

    &#xA;

    ffmpeg.exe -i videomanifest -codec copy video.mp4 &#xA;

    &#xA;

    This works, but it has some drawbacks. The problem is that sometimes my (or maybe error on server side etc.) internet connection fails, and I'm forced to restart the whole download again. I would like to make this process more robust. It would be great if ffmpeg can continuously split video to several smaller files during the download and if download will fail then ffmpeg will continue (or maybe skip) from broken part. After downloading all parts I will concat them manually, this is no problem. Please treat above text just like an example, any other solution which will make downloading process more robust is welcomed. Is this possible with ffmpeg ?

    &#xA;

    Here is example of videomanifest (this is not a fully functional file, important url parts were deleted due to privacy, so please treat it as an example for demonstration purposes)

    &#xA;

    <mpd type="static" maxsegmentduration="PT5.000S" profiles="urn:mpeg:dash:profile:isoff-live:2011" mediapresentationduration="PT0H0M4961.472S" minbuffertime="PT4.500S" xmlns="urn:mpeg:DASH:schema:MPD:2011">&#xA;  <baseurl>https://........................</baseurl>&#xA;  <period>&#xA;    <adaptationset contenttype="audio" mimetype="audio/mp4" segmentalignment="true" bitstreamswitching="true" codecs="mp4a.40.2">&#xA;      <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">&#xA;        &#xA;        &#xA;        &#xA;      </contentprotection>&#xA;      <label>EnhancedAudio</label>&#xA;      <segmenttemplate timescale="44100" initialization="videotranscode?provider=Spo&amp;amp;docId=https%3a%2...................">&#xA;        <segmenttimeline>&#xA;          <s d="221184" r="988"></s>&#xA;          <s d="49939"></s>&#xA;        </segmenttimeline>&#xA;      </segmenttemplate>&#xA;      <representation audiosamplingrate="44100" bandwidth="128000" codecs="mp4a.40.2"></representation>&#xA;      <representation audiosamplingrate="44100" bandwidth="192000" codecs="mp4a.40.2"></representation>&#xA;    </adaptationset>&#xA;    <adaptationset contenttype="audio" mimetype="audio/mp4" segmentalignment="true" bitstreamswitching="true" codecs="mp4a.40.2">&#xA;      <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">&#xA;        &#xA;        &#xA;        &#xA;      </contentprotection>&#xA;      <label>OriginalAudio</label>&#xA;      <segmenttemplate timescale="44100" initialization="videotranscode?provider=Spo&amp;amp;docId=https%3a%2f%2fstu">&#xA;        <segmenttimeline>&#xA;          <s d="221184" r="988"></s>&#xA;          <s d="49939"></s>&#xA;        </segmenttimeline>&#xA;      </segmenttemplate>&#xA;      <representation audiosamplingrate="44100" bandwidth="128000" codecs="mp4a.40.2"></representation>&#xA;      <representation audiosamplingrate="44100" bandwidth="192000" codecs="mp4a.40.2"></representation>&#xA;    </adaptationset>&#xA;    <adaptationset contenttype="video" mimetype="video/mp4" segmentalignment="true" bitstreamswitching="true" maxframerate="82690000/5512747" maxwidth="1920" maxheight="1080" codecs="avc1.4d0028">&#xA;      <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">&#xA;        &#xA;        &#xA;        &#xA;      </contentprotection>&#xA;      <segmenttemplate timescale="15000" initialization="videotranscode?provider=Spo&amp;amp;docId=https............">&#xA;        <segmenttimeline>&#xA;          <s d="74999" r="991"></s>&#xA;          <s d="22080"></s>&#xA;        </segmenttimeline>&#xA;      </segmenttemplate>&#xA;      <representation width="426" height="240" framerate="82690000/5512747" bandwidth="144000" codecs="avc1.4d401e"></representation>&#xA;      <representation width="852" height="480" framerate="82690000/5512747" bandwidth="480000" codecs="avc1.4d001f"></representation>&#xA;      <representation width="1280" height="720" framerate="82690000/5512747" bandwidth="1081600" codecs="avc1.4d001f"></representation>&#xA;      <representation width="1920" height="1080" framerate="82690000/5512747" bandwidth="2428800" codecs="avc1.4d0028"></representation>&#xA;    </adaptationset>&#xA;  </period>&#xA;</mpd>&#xA;

    &#xA;