Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (76)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (7103)

  • How to upload a transcoded file to s3 and create a link to download it

    23 août 2016, par Dotun Longe

    I want to download a video after my module "creates" it by combining a picture and audio file. The output goes to my tmp folder. This works, but I don’t know how to access it.

    My method is to create another Paperclip attachment called "converted" and the module responsible for transcoding should also be responsible for uploading the converted video to a bucket, where I can then access it via @upload.converted.url.

    I have no idea how to go about this, and my eyes hurt from searching. If you have a better way for me to be able to download the transcoded video without this option, I will be open to it.

    Module -> videocreatingproccessor.rb :

    require 'streamio-ffmpeg'
    require 'fileutils'

    module VideoCreatingProcessor

    def self.convert_to_video (path_to_audio_file, path_to_image_file)
    movie = FFMPEG::Movie.new(path_to_audio_file)
    options = {video_codec: "libx264", frame_rate: 60, resolution: "960x720",
          x264_vprofile: "high", x264_preset: "slow", pixel_format: "720p",
          audio_codec: "libfaac", audio_bitrate: 32, audio_sample_rate: 44100, audio_channels: 2,
          threads: 2}
     woptions = { watermark: path_to_image_file, resolution: "960x720", watermark_filter: { padding_x: 10, padding_y: 10 } }

    movie.transcode("tmp/output.mp4",woptions ,options )
    end

    uploads_controller.rb :

    class UploadsController < ApplicationController
    before_action :set_upload, only: [:show, :edit, :update, :destroy]

    def index
    @uploads = Upload.all
    end

    def paudioaddress
    "https:" + @upload.audio.url
    end

    def pimageaddress
    "https:" + @upload.image.url
     end

     def show
     require "video_creating_processor"
     newvideo =    VideoCreatingProcessor.convert_to_video(paudioaddress,pimageaddress)
     end

     ....
     end
  • Why can't curl download the ffmpeg-2.7.tar.bz2 ?

    12 juin 2015, par Jerikc XIONG

    I’m working on OS X Yosemite 10.10.2. I want to use curl command to download the ffmpeg-2.7.tar.bz2 as following :

    curl -O http://ffmpeg.org/releases/ffmpeg-2.7.tar.bz2

    It can’t work.

    However it works fine with other url.

    The message as following when add the —verbose option :

    $ curl --verbose -O http://ffmpeg.org/releases/ffmpeg-2.7.tar.bz2
    * Hostname was NOT found in DNS cache
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 192.190.173.55...
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to ffmpeg.org (192.190.173.55) port 80 (#0)
    > GET /releases/ffmpeg-2.7.tar.bz2 HTTP/1.1
    > User-Agent: curl/7.37.1
    > Host: ffmpeg.org
    > Accept: */*
    >
    * HTTP 1.0, assume close after body
    < HTTP/1.0 302 Found
    < Location: http://211.167.105.70:80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/ffmpeg.org/releases/ffmpeg-2.7.tar.bz2
    < Connection: Close
    <
    { [data not shown]
     0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
    * Closing connection 0

    Where did I go wrong ?

    PS :

    $ curl --version
    curl 7.37.1 (x86_64-apple-darwin14.0) libcurl/7.37.1 SecureTransport zlib/1.2.5
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
    Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz
  • hwcontext_vulkan : correctly download and upload flipped images

    21 avril 2020, par Lynne
    hwcontext_vulkan : correctly download and upload flipped images
    

    We derive the destination buffer stride from the input stride,
    which meant if the image was flipped with a negative stride,
    we'd be FFALIGNING a negative number which ends up being huge,
    thus making the Vulkan buffer allocation fail and the whole
    image transfer fail.

    Only found out about this as OpenGL compositors can copy an entire
    image with a single call if its flipped, rather than iterate over
    each line.

    • [DH] libavutil/hwcontext_vulkan.c