Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (48)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (8288)

  • Way to bypass video upload when testing using Rspec

    1er mars 2014, par Justin

    I'm testing a page on my app that shows videos. I'm trying to speed up the test by bypassing the video upload process or another way ??

    Maybe I'm using FactoryGirl incorrectly for file uploads..

    Using FactoryGirl, I'm creating the video with

    FactoryGirl.define do
    factory :video do
     user_id 1
     type "Live"
     title "FooBar"
     description "Foo bar is the description"
     video { fixture_file_upload(Rails.root.join('spec', 'files', 'concert.mov'), 'video/mp4') }
    end
    end

    And in the request's spec I'm describing the videos as :

    describe "videos page" do

     let(:user) { FactoryGirl.create(:user) }
     let!(:video1) { FactoryGirl.create(:video) }

     before { visit user_video_path(user) }

     it { should have_title(user.name) }
     it { should have_content(user.name) }

     describe "videos" do
       it { should have_content(video1.description) }
     end
    end

    Now, everytime I run the test for this page it goes through the file upload process which takes more time. I'm also using FFmpeg

    **video.rb (video model)**

    validates :video, presence: true
    has_attached_file :video, :styles => {
                                         :medium => { :geometry => "640x480", :format => 'mp4' },
                                         :thumb => { :geometry => "470x290#", :format => 'jpg', :time => 10 }
                                        },
                             :processors => [:ffmpeg]

    What this does when I test the page is the CLI goes through the video upload process like it would if you were uploading the video and watching your local server.

  • Get 'creation_time' of video using ffmpeg and regex

    5 février 2014, par Foysal

    I have a metadata text of a video file which is produced by ffmpeg.

    Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2011-09-10 21:44:22
       model           : iPhone 4
       model-deu       : iPhone 4
       encoder         : 4.3.5
       encoder-deu     : 4.3.5
       date            : 2011-09-10T17:44:22-0400
       date-deu        : 2011-09-10T17:44:22-0400
       location        : +40.7329-073.9864/
       location-deu    : +40.7329-073.9864/
       make            : Apple
       make-deu        : Apple

    I want to get the *'creation_time'* value using regex of the above text. I am using C#.

  • Get 'location' of video using ffmpeg and regex

    6 février 2014, par Foysal

    I have a metadata text of a video file which is produced by ffmpeg.

    Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2011-09-10 21:44:22
       model           : iPhone 4
       model-deu       : iPhone 4
       encoder         : 4.3.5
       encoder-deu     : 4.3.5
       date            : 2011-09-10T17:44:22-0400
       date-deu        : 2011-09-10T17:44:22-0400
       location        : +40.7329-073.9864/
       location-deu    : +40.7329-073.9864/
       make            : Apple
       make-deu        : Apple

    What regex i need to write if I want to get the 'location' value from above text. I am using C#.