Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (99)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

Sur d’autres sites (6822)

  • Mp3 streaming still download in progress

    10 mars 2018, par edadam

    I have streaming an mp3 file, from my server, while that’s not fully downloaded for the server. The client detects just the already downloaded audio length. How can I show the original length, if I know that ? Can I write it as id3 tag, for example ?

    Server : Debian, Lighttpd, Ffmpeg, bash cgi

  • ffmpeg youtube livestream stops after a while

    15 janvier 2021, par ohroblot

    I'll update this question

    


    ffmpeg -version

    


    ffmpeg -version
ffmpeg version 4.3.1-4ubuntu1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10 (Ubuntu 10.2.0-9ubuntu2)


    


    I run this command to use ffmpeg to stream to youtube ;

    


    ffmpeg -y -threads 12 \
-loop 1 -framerate 30 -re \
-i ./1280x720.jpg \
-i ./audio.mp3 \
-video_size 1280x720 \
-vcodec libx264 -pix_fmt yuv420p \
-b:v 4500k -maxrate 5500k -bufsize 22000k \
-preset ultrafast -crf 23 -tune stillimage \
-b:a 128k -ar 44100 -ac 2 -acodec aac \
-filter_complex "dynaudnorm=f=150:g=15" \
-r 30 -g 60 \
-f flv rtmp://a.rtmp.youtube.com/live2/xxxx 2>&1 | tee _LOG


    


    The stream is excellent for 45-53 minutes then i'll get an error like this from ffmpeg :

    


    [flv @ 0x56077027cd80] Delay between the first packet and last packet in the muxing queue is 10034000 > 10000000: forcing output


    


    then youtube starts to say, no data being received and the stream will end, which it does.

    


    This is the full log : http://0x0.st/-zUH.txt

    


  • 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