Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (53)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7443)

  • ffmpeg split video H264 stutters on Windows Media Player

    9 mars 2019, par Juan Foegen

    I am converting and splitting wmv and mp4 into new mp4 files. I am using ffmpeg to do the conversion with simply :
    ffmpeg -i inputfile.wmv -vcodec libx264 -ss 00:00:10 -t 00:00:15 outputfile.mp4

    So when I create my split video it plays fine on other video players, like VLC, but stutters when initially playing on Windows Media Player and even shows a blank screen for a moment and then after about 5 seconds, the video will play normally. If I then select play again without reloading, Windows Media Player will play the video fine, with no stuttering.

    If I REMOVE the start parameter when doing the conversion, then the resulting video will play without issues on all my players, INCLUDING Windows Media Player.

    I have tried changing the frame rate, the bit rate and altered different optimization options mentioned here - https://trac.ffmpeg.org/wiki/Encode/H.264

    I need the split video to play on Windows machines on Windows Media Player and on the web streamed using the video element. This is why I chose H264 codec and MP4.

    Has anyone had issues playing ffmpeg split videos using H264 codec with Windows Media Player ? I am using the latest version of ffmpeg. Anyone have any other suggestions on any different settings I could try to adjust ?

    Thanks

  • PyCharm terminal not detecting ffmpeg even after succesful installtion on Windows

    26 avril 2020, par Mandar

    I am working on Windows 10 and PyCharm 2019.2.6 Community Edition. I have followed all the steps for installing FFmpeg on windows. I'm currently working on a project in PyCharm. When I enter ffmpeg -h in command prompt, it works fine. However, when I enter the same command in PyCharm's terminal, it shows 'ffmpeg' is not recognized as an internal or external command,
operable program or batch file. I have added ffmpeg/bin to path as well.

    


  • Sidekiq not processing video meta data using stremio-ffmpeg in rails app

    22 juillet 2017, par Arnold

    I am trying to process different video resolutions in background using carrierwave backgrounder, carrierwave-video and sidekiq. everything is working well (all the versions are created in background) except the meta data captured using stremio-ffmpeg. I am completely stuck and can’t figure out why the meta data are not being processed.

    below are my sample codes

    video_uploader.rb

    require 'streamio-ffmpeg'
    class VideoUploader < CarrierWave::Uploader::Base
    include CarrierWave::Video  # for your video processing
    include CarrierWave::Video::Thumbnailer
    include ::CarrierWave::Backgrounder::Delay
    # Include RMagick or MiniMagick support:
    # include CarrierWave::RMagick
    # include CarrierWave::MiniMagick
    # Choose what kind of storage to use for this uploader:
    storage :file
    # storage :fog
    #byebug
    process :save_metadata
    # Override the directory where uploaded files will be stored.
    # This is a sensible default for uploaders that are meant to be mounted:
    def store_dir
    default_path = "/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
    # if FLAVOR == "uglive"
    #   default_path = "/uglive#{default_path}"
    # end
    "#{VIDEO_STORAGE}#{default_path}"
    end
    version :thumb do
    process thumbnail: [{format: 'png', quality: 10, size: 360, strip: false,
    square: false, logger: Rails.logger}]
    def full_filename for_file
     png_name for_file, version_name
    end
    end
    def png_name for_file, version_name
    #remove all accents
    I18n.transliterate(%Q{#{version_name}_#
    {for_file.chomp(File.extname(for_file))}.png})
    end
    #save the video size in the model
    def save_metadata
    video = FFMPEG::Movie.new(file.file)
    if video.valid?
     model.duration = video.duration #(duration of the video in seconds)
     model.size = video.size #size is bytes
     model.video_codec = video.video_codec # "h264"
     model.width = video.width # 640 (width of the video in pixels)
     model.height = video.height # 480 (height of the video in pixels)
     model.audio_codec = video.audio_codec # "aac"
    end
    end
    # Different Video Resolutions
    version :res_480p, :do_not_delay => true do
    process encode_video: [:mp4, resolution: "720X480"]
    end
    version :res_720p do
    process encode_video: [:mp4, resolution: "1280X720"]
    end
    version :res_360p do
    process encode_video: [:mp4, resolution: "640x360"]
    end
    version :res_240p do
    process encode_video: [:mp4, resolution: "426x240"]
    end

    video.rb i called the mount uploader and background_process method (carrierwave video gem)

    mount_uploader :file, VideoUploader
    process_in_background :file

    when i run bundle exec sidekiq -q carrierwavethe version are created in background but the save_metadata method is never processed, so the duration,size,width, height, video_codec and audio_codec are nil in the Video model.

    I am stuck on this the whole day. any help will be highly welcome