Recherche avancée

Médias (0)

Mot : - Tags -/gis

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

Autres articles (99)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (8855)

  • ffmpeg flv to flv conversion compress

    23 avril 2013, par leon

    I am using ClipBucket. I have set up ffmpeg environment, I can convert avi, wmv files to FLV video files without any problem, but now I am trying to convert a FLV video file to FLV video file with different video quality. However, there is error in the conversion. Can someone help me please ?

    Logs :

    Preparing file...
    Unknown file details - Unable to get video details using FFMPEG

    Converting Video
    Conversion Command : /usr/local/bin/ffmpeg -i /home/myspace86/myspace86.com/files/conversion_queue/136667418894906.flv -f flv -vcodec libx264 -r 30 -vf 'movie=/home/myspace86/public_html/player_logo.png [watermark] ; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]' -ab 320000 /home/myspace86/myspace86.com/files/videos/136667418894906.flv 2> /home/myspace86/myspace86.com/files/temp/136667424191b8e.tmp

    Conversion Details

    ffmpeg version N-52385-g6d7ec4f Copyright (c) 2000-2013 the FFmpeg developers
    built on Apr 22 2013 16:08:27 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)
    configuration: --prefix=/usr/local --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libx264 --enable-libxvid
    libavutil 52. 27.100 / 52. 27.100
    libavcodec 55. 5.100 / 55. 5.100
    libavformat 55. 3.100 / 55. 3.100
    libavdevice 55. 0.100 / 55. 0.100
    libavfilter 3. 60.101 / 3. 60.101
    libswscale 2. 2.100 / 2. 2.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 3.100 / 52. 3.100
    Input #0, flv, from '/home/myspace86/myspace86.com/files/conversion_queue/136667418894906.flv':
    Metadata:
    metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
    hasKeyframes : true
    hasVideo : true
    hasAudio : true
    hasMetadata : true
    canSeekToEnd : false
    datasize : 40992128
    videosize : 37546219
    audiosize : 3247153
    lasttimestamp : 728
    lastkeyframetimestamp: 727
    lastkeyframelocation: 40978250
    Duration: 00:12:08.16, start: 0.000000, bitrate: 450 kb/s
    Stream #0:0: Video: vp6f, yuv420p, 648x459, 409 kb/s, 29.97 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 32 kb/s
    [libx264 @ 0x146d900] height not divisible by 2 (648x459)
    Output #0, flv, to '/home/myspace86/myspace86.com/files/videos/136667418894906.flv':
    Metadata:
    metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
    hasKeyframes : true
    hasVideo : true
    hasAudio : true
    hasMetadata : true
    canSeekToEnd : false
    datasize : 40992128
    videosize : 37546219
    audiosize : 3247153
    lasttimestamp : 728
    lastkeyframetimestamp: 727
    lastkeyframelocation: 40978250
    Stream #0:0: Video: h264, yuv420p, 648x459, q=-1--1, 90k tbn, 30 tbc
    Stream #0:1: Audio: none, 22050 Hz, mono, s16p
    Stream mapping:
    Stream #0:0 -> #0:0 (vp6f -> libx264)
    Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


    Unknown file details - Unable to get output video details using FFMPEG


    Time Took : 0.3056 seconds

    conversion_status : completed
  • Carrierwave and FFMPEG saving to 2 destinations - Rails, Fog, S3

    20 avril 2013, par dodgerogers747

    I have a video model, which uses Carrierwave, Fog, FFMPEG and S3 to handle video files. I have a method in my video model that takes a screenshot before the video is saved to S3. Both Video and screenshot are saved to S3 using 2 Carrierwave Uploader classes, Image_uploader and video_uploader with the video being saved to the Video.file column and screenshot saved at the Video.screenshot.

    This all works as intended, however, FFMPEG also saves a copy of the screenshot to the rails filesystem, "Rails.root/file_is_saved_here". For now I have FFMPEG saving this file into the Rails.root/public/uploads folder along with the tmp files created by Carrierwave.

    How can I get one screenshot saved to S3 without the second being saved on the filesystem ?

    Commit & trace data and

    Running transcoding...
    /opt/local/bin/ffmpeg -y -i /Users/me/rails_projects/teebox_network/public/uploads/tmp/200/14_jan_2013_hk.mov -ss 3 -vframes 1 -f image2 /Users/garyrogers/rails_projects/teebox_network/public/uploads/14_jan_2013_hk.mov_screenshot.png

    Transcoding of /Users/me/rails_projects/teebox_network/public/uploads/tmp/200/14_jan_2013_hk.mov to /Users/garyrogers/rails_projects/teebox_network/public/uploads/14_jan_2013_hk.mov_screenshot.png succeeded

    Started POST "/videos" for 127.0.0.1 at 2013-04-19 17:03:07 -0700
    Processing by VideosController#create as */*
     Parameters: {"utf8"=>"✓", "authenticity_token"=>"DjFIu3971GxKYJzjDFu7LaBx85iOHPa5HzO6PLdSW+8=", "video"=>{"user_id"=>"5", "file"=>#quicktime\r\n", @tempfile=#var/folders/1g/d9qbm7_s0_5fcljtvzysp1gc0000gn/T/RackMultipart20130419-751-19kisab>>}}
     User Load (0.5ms)  SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 LIMIT 1
      (0.2ms)  BEGIN
     SQL (14.9ms)  INSERT INTO `videos` (`created_at`, `file`, `question_id`, `screenshot`, `updated_at`, `user_id`) VALUES ('2013-04-20 00:03:20', '14_jan_2013_hk.mov', NULL, '14_jan_2013_hk.mov_screenshot.png', '2013-04-20 00:03:20', 5)

    video.rb

    class Video < ActiveRecord::Base

     attr_accessible :user_id, :question_id, :file
     belongs_to :question
     belongs_to :user

     default_scope order('created_at DESC')

     before_save :take_screenshot

     mount_uploader :file, VideoUploader
     mount_uploader :screenshot, ImageUploader

     def to_param
       "#{id} - #{File.basename(self.file.path)}".parameterize
     end

     private

     def take_screenshot
       FFMPEG.ffmpeg_binary = '/opt/local/bin/ffmpeg'
       movie = FFMPEG::Movie.new(self.file.current_path)
       self.screenshot = movie.screenshot("#{Rails.root}/public/uploads/#{File.basename(self.file.path)}_screenshot.png", seek_time: 3 )
     end
    end

    image_uploader class

    class ImageUploader < CarrierWave::Uploader::Base

      include Sprockets::Helpers::RailsHelper
      include Sprockets::Helpers::IsolatedHelper

     storage :fog

     process resize_and_pad: [270, 135, '#000']

     def store_dir
       "uploads/#{model.class.to_s.underscore}_screenshots/#{mounted_as}_images/#{model.id}"
     end

     def extension_white_list
       %w(png jpg)
       # %w(ogg ogv 3gp mp4 m4v webm mov)
     end

    Video uploader class

    class VideoUploader < CarrierWave::Uploader::Base

      include Sprockets::Helpers::RailsHelper
      include Sprockets::Helpers::IsolatedHelper

     storage :fog

    def store_dir
       "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
     end

     def extension_white_list
       %w(ogg ogv 3gp mp4 m4v webm mov m2v 3g2)
       # %w(ogg ogv 3gp mp4 m4v webm mov)
     end
  • x264_encoder_encode() how to watch function body ?

    25 février 2016, par ULTRANj

    I’m working with VLC player source code (GitHub link) and I need to study how the function x264_encoder_encode() in codec h.264 works. This function is used in file x264.c but i couldn’t find it’s body and decloration. Where can I see it ?