Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (45)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7722)

  • ffmpeg sometimes only creating one segment for the entire HLS playlist regardless which -hls_time i use [closed]

    10 mai 2023, par kusti420

    can someone explain why it works as it should with certain FLACs and with other ones it only creates one m4s segment and how to fix it where it would actually create one segment every 6 seconds for any flac, as it should with "-hls_time 6".

    


    ffmpeg -i .\audio4.flac -c:a flac -vf pad="width=ceil(iw/2)*2:height=ceil(ih/2)*2" -ar 96000 -f hls -hls_time 6 -hls_playlist_type vod -strict -2 -hls_segment_type fmp4 -hls_segment_filename "idk%d.m4s" playlist.m3u8

    


    when it doesnt work then logs print out like over thousand lines of :
[hls @ 0000026653933a00] Delay between the first packet and last packet in the muxing queue is 10069334 > 10000000: forcing output

    


    i tried different versions of ffmpeg, running it on different devices and on different operating systems
was obviously expecting it to work the same for all flacs, but more than half the time it just isnt working as it should

    


  • Revision 3cddd81c6d : Fix chrome valgrind warning due to the use of mismatched bsize This commit fixe

    10 juillet 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_common_data.c


     Modify /vp9/common/vp9_common_data.h


     Modify /vp9/encoder/vp9_pickmode.c



    Fix chrome valgrind warning due to the use of mismatched bsize

    This commit fixes a mismatched use case of block size in non-RD
    intra prediction check. The residual SSE and variance should be
    calculated per transform block size, instead of operating block
    size, which caused chrome valgrind warning on conditional jump
    based on uninitialized value (webm issue 823). This commit
    resolves this issue.

    Change-Id : I595c06599c7e0fd0e4a08736519ba68fc14bc79a

  • Load processed video instead of original video - Rails, Dragonfly

    1er février 2016, par Michael B

    In my Rails 4-Project, I am using Dragonfly to upload images and videos.
    For image-processing I use imagemagick, for videoprocessing I use ffmpeg.

    Videos are uploaded and stored in the folder uploads/videos. After processing, they are stored in public/ffmpeg_videos/

    My question is : How can I use the processed-video instead of the uploaded video ?

    e.g. I use this code in the view, to display a video :

    <video src="&lt;%=@video.video.url%>"></video>

    This successfully loads the original video from the upload-path. But what do I have to change, to load the video from the ffmpeg-path ?

    initializers/dragonfly.rb

    require 'dragonfly'

    # Configure
    Dragonfly.app(:images).configure do
     plugin :imagemagick
     protect_from_dos_attacks false
     secret 'd045734b043b4383a246c5c8daf2d3e31217dc8b030f21861e4fd16c4b72d382'
     url_format '/media/:job/:name'

     datastore :file,
               root_path: Rails.root.join('uploads/images/'),
               server_root: Rails.root.join('uploads')
    end

    Dragonfly.app(:videos).configure do
     secret 'd045734b043b4383a246c5c8daf2d3e31217dc8b030f21861e4fd16c4b72d382'
     url_format "/video/:job/:name"

     datastore :file,
               root_path: Rails.root.join('uploads/videos/'),
               server_root: Rails.root.join('uploads')
    end

    # Logger
    Dragonfly.logger = Rails.logger

    # Mount as middleware
    Rails.application.middleware.use Dragonfly::Middleware, :images
    Rails.application.middleware.use Dragonfly::Middleware, :videos

    # Add model functionality
    if defined?(ActiveRecord::Base)
     ActiveRecord::Base.extend Dragonfly::Model
     ActiveRecord::Base.extend Dragonfly::Model::Validations
    end