Recherche avancée

Médias (91)

Autres articles (70)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6799)

  • How to downloaded embedded videos on Instagram that have multiple media network requests ? (ffmpeg / curl)

    21 octobre 2022, par flhu

    I was wondering whether it is still possible to download the stories on Instagram that have multiple media network requests nowadays. Previously, I could simply download them using the Firefox Media Page Info View. This is still possible for some content such as reels or by using ffmpeg / curl. I have posted the network behaviour when I load a story on Instagram and a Reel on Instagram. I could not figure out which of the network requests is the relevant one (assuming it is the request with the biggest size) and when downloading it, the VLC player does not recognise the video.

    


    Instagram Reel Network Request

    


    Instagram Stories Network Request

    


    When using the Firefox Media Page Info View, it is possible to download the content from the reel directly whereas the mp4 media file is greyed out.

    


    I tried to copy the URL from the network request using :

    


    ffmpeg -i  -c copy  


    


    Copying the corresponding curl request but also only works for the Reel where the HTTP response status codes is 206 (Reel) instead of 200 (Story).

    


  • How to overlay a video on an image with rounded edges ffmpeg

    24 septembre 2022, par Wendel Gomes

    I use Windows 10 and I need to automate this process. I will use these videos in instagram story.
The background is an image, the video needs to be inside a frame with rounded corners.

    


    Example <<

    &#xA;

  • ffmpegthumbnailer error with carrierwave-video-thumbnailer

    30 janvier 2014, par scientiffic

    I am getting the error "No such file or directory" when I try to run ffmpegthumbnailer using the carrierwave-video-thumbnailer gem.

    I confirmed that ffmpegthumbnailer is working correctly on my computer since I can generate a thumbnail image from a video straight from the command line.

    From my logs, it looks like my app thinks that it has generated a thumbnail image. However, when I look in the directory, there is no file tmpfile.png, and my app fails with the error.

    Has anyone successfully used the carrierewave-video-thumbnailer gem to create thumbnails, and if so, what am I doing wrong ? Alternatively, if there is some way I can just run ffmpegthumbnailer within my model, I could do that too.

    Here are my logs :

    Running....ffmpegthumbnailer -i /Users/.../Website/public/uploads/tmp/1380315873-21590-2814/thumb_Untitled.mov -o /Users/.../Website/public/uploads/tmp/1380315873-21590-2814/tmpfile.png -c png -q 10 -s 192 -f
    Success!
    Errno::ENOENT: No such file or directory - (/Users/.../Website/public/uploads/tmp/1380315873-21590-2814/tmpfile.png, /Users/.../Website/public/uploads/tmp/1380315873-21590-2814/thumb_Untitled.mov)

    video_path_uploader.rb

    class VideoPathUploader &lt; CarrierWave::Uploader::Base
     include CarrierWave::Video
     include CarrierWave::Video::Thumbnailer

     process encode_video: [:mp4]

     # 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

     # 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
       "#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
     end

      version :thumb do
         process thumbnail: [{format: &#39;png&#39;, quality: 10, size: 192, strip: true, logger: Rails.logger}]
         def full_filename for_file
           png_name for_file, version_name
         end
     end

       def png_name for_file, version_name
         %Q{#{version_name}_#{for_file.chomp(File.extname(for_file))}.png}
       end

    end

    Video.rb

    class Video &lt; ActiveRecord::Base
     # maybe we should add a title attribute to the video?
     attr_accessible :position, :project_id, :step_id, :image_id, :saved, :embed_url, :thumbnail_url, :video_path
     mount_uploader :video_path, VideoPathUploader
    ...
    end