Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (19)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • 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 (5507)

  • Merge commit ’8ddfa5ae5ef64a25dd087d74954ebdb9081f0d67’

    31 mars 2017, par James Almer
    Merge commit ’8ddfa5ae5ef64a25dd087d74954ebdb9081f0d67’
    

    * commit ’8ddfa5ae5ef64a25dd087d74954ebdb9081f0d67’ :
    vf_drawtext : Drop wrong void* cast

    This commit is a noop, see 4c96985af1b8870482b6b6ef9120960633f62cee

    Merged-by : James Almer <jamrial@gmail.com>

  • Headless Selenium not Recording Video

    12 mai 2015, par TIMBERings

    I’m using the Headless gem to create a headless session using xvfb and to record the session using ffmpeg. I’m not able to save the video created by the headless gem. I’m including the relevant snippets of my code and the output.

    Code

    $LOGGER.info("----------Starting test: #{@test_name}----------")

    if Utilities.linux? &amp;&amp; ENV['DRIVER'] != 'sauce'
     @headless = Headless.new ({dimension: '1600x1200x16',
                       pid_file_path: "#{Utilities.get_root_directory}/tmp/headless_ffmpeg_#{@display}.pid",
                       tmp_file_path: "#{Utilities.get_root_directory}/tmp/headless_ffmpeg_#{@display}.mov",
                       log_file_path: "#{Utilities.get_root_directory}/tmp/headless_ffmpeg_#{@display}.txt"})
     @headless.start
     @headless.video.start_capture
     $LOGGER.info 'Creating headless session.'
    end
    $browser = DefaultWatir.initiate_browser(@test_name)

    if Utilities.linux? &amp;&amp; ENV['DRIVER'] != 'sauce'
     $LOGGER.info "Starting video recording"
     @headless.video.start_capture
    end

    .........          .........
    ......... TEST RUN .........
    .........          .........

    $LOGGER.info "----------Ending test: #{@test_name}----------"
    puts "\n\n"

    $browser.close if $browser
    save_video if @headless

    def video_path
     return "#{Utilities.get_root_directory}/video/#{@test_name}_#{Time.now.to_s.gsub(' ', '-')}"
    end

    def save_video
     if Utilities.linux?  &amp;&amp; ENV['DRIVER'] != 'sauce'
       unless self.instance_variable_get(:@exception).nil? &amp;&amp; !$has_errors
         saved_video_path = video_path
         Dir.mkdir("#{Utilities.get_root_directory}/video") unless Dir.exists?("#{Utilities.get_root_directory}/video")
         $LOGGER.info "Video path = #{saved_video_path}"
         begin
           $LOGGER.info 'before save'
           @headless.video.stop_and_save(saved_video_path)
           $LOGGER.info 'after save'
         rescue ex
           $LOGGER.info 'Video save had exception.'
           puts ex.message
           puts ex.backtrace.join("\n\t")
         end
         $LOGGER.info "Video saved at: #{saved_video_path}"
       else
         @headless.video.stop_and_discard
       end
       @headless.destroy
     end
    end

    Output

    [INFO - 2015-03-06 21:58:37 +0000] - ----------Starting test : Example Test----------

    [INFO - 2015-03-06 21:58:37 +0000] - Creating headless session.

    [INFO - 2015-03-06 21:58:40 +0000] - Starting video recording

    [INFO - 2015-03-06 22:02:04 +0000] - ----------Ending test : Example Test----------

    INFO - 2015-03-06 22:02:05 +0000] - Video path = /var/lib/jenkins/workspace/end_to_end_firefox/selenium-tests/video/PoolPlayToSingleEliminationOneDivision_2015-03-06-22:02:05-+0000

    [INFO - 2015-03-06 22:02:05 +0000] - before save

    [INFO - 2015-03-06 22:02:05 +0000] - after save

    [INFO - 2015-03-06 22:02:05 +0000] - Video saved at : /var/lib/jenkins/workspace/end_to_end_firefox/selenium-tests/video/PoolPlayToSingleEliminationOneDivision_2015-03-06-22:02:05-+0000

  • Set RTSP/UDP buffer size in FFmpeg

    16 mars 2015, par chuckleplant

    Note : I’m aware ffmpeg and libav are different libraries. This is a problem common to both.

    Disclaimer : Duplicate of SO question marked as answered but actually didn’t give a proper solution.


    Insufficient UDP buffer size causes broken streams for several high resolution video streams. In LibAV/FFMPEG it’s possible to set the udp buffer size for udp urls (udp ://...) by appending some options to it.

    However, for RTSP urls this is not supported. These are the only solutions I’ve found :

    • Rebuilding ffmpeg/libav changing the UDP_MAX_PKT_SIZE in the udp.c source file.
    • Using a nasty hack to find the required value.
    • Using a different decoding library (proposed solution to aforementioned related SO question).

    None of these is actually a solution. From what I found it should be possible to use the API’s AVOptions to find and set this value. Or else, the AVDictionary.

    It’s very difficult to find how to set these throughout the documentation of either libav or ffmpeg.