Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (82)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (10147)

  • ffmpeg incorrect duration when converting video to HLS

    12 octobre 2016, par Julie Bsd

    I’m facing an issue using ffmpeg to convert video, precisely mp4 video => Http Live Streaming (HLS)

    Once converted to HLS, the .m3u8 file has a wrong duration (e.g : 20,1s instead of 20.00s), causing bugs when playing it with AVPlayer on iOS.
    Playing the video with Safari cause the same issue.

    Example :
    1) Open Safari
    2) Play this video that i’ve converted
    3) Look at the download progression, stopped at 98% cause of wrong duration.
    enter image description here
    4) When you slide between 98% and 100%, the video player can crash.


    EDIT 1 :

    I’ve edited the command line

    ffmpeg -i  video.mp4 \
    -codec copy \
    -acodec copy \
    -map 0 -f ssegment -g 60 -sc_threshold 0 \
    -segment_list playlist.m3u8 \
    -segment_list_flags +live \
    -segment_time 2 media%05d.ts \
     >./log_ffmpeg 2>./log_ffmpeg

    LOG :

    ffmpeg version 3.1.4-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.4.1 (Debian 5.4.1-2) 20160904
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libzimg --cc=gcc-5 --disable-ffplay
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 47.100 /  6. 47.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './Comptes/1/Photos/306/original_video.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       creation_time   : 2016-10-12 14:29:51
     Duration: 00:00:20.00, start: 0.000000, bitrate: 1673 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 540x960, 1563 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         creation_time   : 2016-10-12 14:29:51
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 101 kb/s (default)
       Metadata:
         creation_time   : 2016-10-12 14:29:51
         handler_name    : Core Media Audio
    [stream_segment,ssegment @ 0x652ed80] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
       Last message repeated 1 times

    Output #0, stream_segment,ssegment, to './Comptes/1/Photos/306/media%05d.ts':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       encoder         : Lavf57.41.100
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 540x960, q=2-31, 1563 kb/s, 30 fps, 30 tbr, 90k tbn, 600 tbc (default)
       Metadata:
         creation_time   : 2016-10-12 14:29:51
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 101 kb/s (default)
       Metadata:
         creation_time   : 2016-10-12 14:29:51
         handler_name    : Core Media Audio
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  601 fps=0.0 q=-1.0 Lsize=N/A time=00:00:20.10 bitrate=N/A speed= 917x    
    video:3823kB audio:249kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    m3u8 file :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-ALLOW-CACHE:YES
    #EXT-X-TARGETDURATION:3
    #EXTINF:2.033333,
    media00000.ts
    #EXTINF:2.000000,
    media00001.ts
    #EXTINF:2.000000,
    media00002.ts
    #EXTINF:2.000000,
    media00003.ts
    #EXTINF:2.000000,
    media00004.ts
    #EXTINF:2.000000,
    media00005.ts
    #EXTINF:2.000000,
    media00006.ts
    #EXTINF:2.000000,
    media00007.ts
    #EXTINF:2.000000,
    media00008.ts
    #EXTINF:2.000000,
    media00009.ts
    #EXTINF:0.033333,
    media00010.ts
    #EXT-X-ENDLIST

    As you can see input duration =/= output duration
    input duration : 20s
    output duration 20.1s

  • Pre-announcement : Piwik Marketplace soon open for paid premium features

    12 octobre 2016, par Piwik Core Team — Community

    Updates : Premium Plugins now available on the Piwik Analytics Marketplace. Further announcements about premium plugins : 1) Powerful Video Analytics and Audio Analytics and 2) A/B Testing Platform for Piwik Analytics.

    The goal of the Piwik project is to build the best open digital analytics platform that lets you measure what matters to you while giving you full control of your data. The beauty of the Piwik Analytics platform is that it can be customized and extended by building or installing new features on top of the Piwik core.

    On our open Piwik Marketplace you can already discover and download over 70 free plugins which enrich the functionality of your Piwik in many ways, and themes which change the look and feel of the Piwik user interface. To help users make more of their analytics data and ultimately be more successful, in a few weeks we will offer you the possibility to purchase subscriptions for premium features in the Marketplace.

    Get more out of your Piwik

    Opening the Marketplace for paid plugins will bring more premium and enterprise features so you get more out of your Piwik, when you need it. It will also help us, the Piwik team, to further innovate and improve the open-source Piwik platform to realize our mission :

    “To create the leading Free and open source analytics platform, and to support global organisations and communities to keep full control over their data.”

    1-click installation and update

    You will find the new premium features when you browse the Marketplace in your Piwik app and on our Piwik Marketplace website. Purchased plugins will be installable and updatable with one click, just like you are used to from free plugins.

    Sell your plugins on the Piwik Marketplace

    If you are a developer who wants to sell plugins on our Marketplace, please get in touch. As a vendor you will be able to see reports about your sales, upload new versions of your plugins, reply to pre-sales and support questions, and more. By tapping into the Marketplace’s infrastructure and distribution, including secure payments and distributing plugins to customers, developers can focus on building great products.

    Get started developing plugins

    If you are wondering how to get started developing plugins, check out our getting started developer guide and our guide about how to get your plugin ready for the Marketplace.

  • random .ts filenames in the m3u8 file

    14 octobre 2016, par Arya Same

    Hi guys my ffmpeg line currently looks like this

    ffmpeg -i "http://x.com/x.ts" -s 810x520 -pix_fmt yuv420p -vcodec copy -acodec copy -bsf:v h264_mp4toannexb -preset baseline  -strict -2 -flags -global_header -f segment -segment_list "E:\2.m3u8"  -segment_time 10 -segment_list_size 5 "E:\2-%%3d.ts"

    it generates .ts files like 1.ts 2.ts etc..

    but if you are gonna to look to twitch.tv’s m3u8 file it looks like this

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:3
    #ID3-EQUIV-TDTG:2016-10-14T12:33:35
    #EXT-X-MEDIA-SEQUENCE:345
    #EXT-X-TWITCH-ELAPSED-SYSTEM-SECS:1368.979
    #EXT-X-TWITCH-ELAPSED-SECS:1365.240
    #EXT-X-TWITCH-TOTAL-SECS:1386.919
    #EXTINF:3.440,
    index-0000000346-Am9S.ts
    #EXTINF:1.720,
    index-0000000347-Am3j.ts
    #EXTINF:3.980,
    index-0000000348-MYfR.ts
    #EXTINF:2.000,
    index-0000000349-kIwd.ts
    #EXTINF:3.300,
    index-0000000350-TpwI.ts
    #EXTINF:3.500,
    index-0000000351-MAjv.ts

    i want to do same is there any example ?
    thanks.

    best regards