Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (8)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (2640)

  • Move VLC and RL_VLC_ELEM structure definitions to a separate header

    14 mai 2016, par Alexandra Hájková
    Move VLC and RL_VLC_ELEM structure definitions to a separate header
    

    Use the newly created vlc.h directly instead of including get_bits when needed.
    The VLC and RL_VLC_ELEM structures are independent from the bitreader.

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] libavcodec/bitstream.c
    • [DBH] libavcodec/get_bits.h
    • [DBH] libavcodec/huffman.c
    • [DBH] libavcodec/huffman.h
    • [DBH] libavcodec/rl.c
    • [DBH] libavcodec/rl.h
    • [DBH] libavcodec/vlc.h
  • Why DASH video fragments are not reproducible nor readable with ffmpeg ?

    21 mai 2020, par salgarji

    I'm streaming live video using DASH through FFmpeg. Everything's OK, fragments are generated, and the mpd file, but I wanted to have reproducible independent fragments. Video players won't open those fragments. I guess it's because they are mpd file dependant. My question would be : can those fragments be generated in a way that they are reproducible ? I don't know if it has something to do to the frames I P B or just the way dash cuts video information, in a way that it only saves 'timeline' on the mpd...

    &#xA;&#xA;

    My purpose is not only being able to reproduce them sepparately, but I need to insert information in a metadata tag of the video, and ffmpeg won't let me read those live streaming generated fragments.

    &#xA;&#xA;

    FFmpeg input information command will behave like this :

    &#xA;&#xA;

    input :

    &#xA;&#xA;

    ffmpeg -i /path/video0-0-1.mp4&#xA;

    &#xA;&#xA;

    output :

    &#xA;&#xA;

    ffmpeg version N-97777-g3b5a36c56d Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with Apple clang version 11.0.3 (clang-1103.0.32.59)&#xA;  configuration: --enable-gpl --enable-libx264&#xA;  libavutil      56. 45.100 / 56. 45.100&#xA;  libavcodec     58. 84.100 / 58. 84.100&#xA;  libavformat    58. 43.100 / 58. 43.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 81.100 /  7. 81.100&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb324009400] could not find corresponding track id 1&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb324009400] could not find corresponding trex (id 1)&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb324009400] could not find corresponding track id 0&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb324009400] trun track id unknown, no tfhd was found&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb324009400] error reading header&#xA;/path/video0-0-1.mp4: Invalid data found when processing input&#xA;

    &#xA;&#xA;

    I execute this FFmpeg code using fluent-ffmpeg over JS to generate the fragments :

    &#xA;&#xA;

    var ffmpeg = require(&#x27;fluent-ffmpeg&#x27;);&#xA;&#xA;var grabacion = new ffmpeg();&#xA;&#xA;grabacion.addInput(&#x27;0&#x27;)&#xA;.inputOptions([&#x27;-y -nostdin&#x27;, &#x27;-f avfoundation&#x27;, &#x27;-video_size 1280x720&#x27;, &#x27;-pix_fmt nv12&#x27;, &#x27;-framerate 30&#x27;])&#xA;.outputOptions([&#x27;-vcodec libx264&#x27;, &#x27;-keyint_min 0&#x27;, &#x27;-g 100&#x27;, &#x27;-map 0:v&#x27;, &#x27;-b:v 1000k&#x27;, &#x27;-f dash&#x27;,&#xA; &#x27;-use_template 1&#x27;, &#x27;-use_timeline 0&#x27;, &#x27;-init_seg_name video0-$RepresentationID$-$Number$.mp4&#x27;,&#xA; &#x27;-media_seg_name video0-$RepresentationID$-$Number$.mp4&#x27;, &#x27;-remove_at_exit 0&#x27;, &#x27;-window_size 20&#x27;, &#x27;-seg_duration 4&#x27;])&#xA;.output(&#x27;/path/path/path/video.mpd&#x27;)&#xA;.run();&#xA;

    &#xA;&#xA;

    So, the final purpose would be to be able to insert a tag like this :

    &#xA;&#xA;

    ffmpeg -i video0-0-0.mp4 -movflags use_metadata_tags -metadata sample_tag=whateveryouwanttoadd video0-0-0-tagged.mp4&#xA;

    &#xA;&#xA;

    Is there any way to do it ? Thank you in advance !

    &#xA;

  • How to merge segmented webvtt subtitle files and output a single file ?

    15 février, par Dobbelina

    How to merge a segmented webvtt subtitle file and output a single file ?,&#xA;m3u8 looks like this example :

    &#xA;&#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:4&#xA;#EXT-X-PLAYLIST-TYPE:VOD&#xA;#EXT-X-MEDIA-SEQUENCE:1&#xA;#EXT-X-INDEPENDENT-SEGMENTS&#xA;#EXT-X-TARGETDURATION:4&#xA;#USP-X-TIMESTAMP-MAP:MPEGTS=900000,LOCAL=1970-01-01T00:00:00Z&#xA;#EXTINF:4, no desc&#xA;0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-1.webvtt&#xA;#EXTINF:4, no desc&#xA;0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-2.webvtt&#xA;#EXTINF:4, no desc&#xA;0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-3.webvtt&#xA;#EXTINF:4, no desc&#xA;0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-4.webvtt&#xA;#EXTINF:4, no desc&#xA;0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-5.webvtt&#xA;#EXTINF:4, no desc&#xA;0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-6.webvtt&#xA;#EXT-X-ENDLIST&#xA;

    &#xA;&#xA;

    I noticed that each segment is not synchronized/cued against total playing time, but against the individual ts segments.&#xA;If ffmpeg could be used to do this, what magic input do i need to give it ?

    &#xA;&#xA;

    A single correctly cued vtt or srt file is what i want.

    &#xA;&#xA;

    I have a great appetite and don't like chunks, lol !

    &#xA;&#xA;

    Thanks for any replies you lovely people !

    &#xA;&#xA;


    &#xA;&#xA;

    With this i get a merged vtt file, but the cues are all wrong :

    &#xA;&#xA;

    ffmpeg -i "https://cmoreseusphlsvod60.akamaized.net/vod/bea44/0ghzi1b2cz5(11792107_ISMUSP).ism/0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000.m3u8" -f segment -segment_time 4 -segment_format webvtt -scodec copy out-%05d.vtt&#xA;

    &#xA;&#xA;

    Each segment is not synchronized/cued against total playing time, but against the individual ts segments.&#xA;Example output of above command :

    &#xA;&#xA;

    WEBVTT&#xA;&#xA;00:00.000 --> 00:03.040&#xA;Du har aktier i ett f&#xF6;retag&#xA;som saknar framtid.&#xA;&#xA;00:00.000 --> 00:03.280&#xA;De vill ha aktierna.&#xA;Du k&#xE4;nner dem inte, Olga.&#xA;&#xA;00:00.000 --> 00:01.720&#xA;De som f&#xE5;r Kastrups aktier vinner.&#xA;

    &#xA;&#xA;

    Cues all start like this which isn't very helpfull : 00:00.000

    &#xA;&#xA;

    Some segments contains no cues, like segment 15 for example :&#xA;https://cmoreseusphlsvod60.akamaized.net/vod/bea44/0ghzi1b2cz5(11792107_ISMUSP).ism/0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-15.webvtt

    &#xA;&#xA;

    &#xA;

    "A WebVTT Segment MAY contain no cues ; this indicates that no&#xA; subtitles are to be displayed during that period."

    &#xA;

    &#xA;