Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (41)

  • 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

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

  • video playing with paperclip ffmpeg

    30 mars 2014, par Ameya Savale

    I've been having problems playing uploaded videos in my ruby on rails app.

    So I am using the paperclip-ffmpeg gem to process my videos when uploaded, and I am able to create a thumbnail of the video but I am not able to play the video. When I right click on the video I am able to download and I can play it using the player on my computer but I am not able to play it in my view. Also when I right click on it the options for "play", "skip", etc. are all blocked. Here is my model :

    class Video < ActiveRecord::Base
       has_attached_file :clip, :styles => {
               :medium => { :geometry => "640x480", :format => 'flv'},
               :thumb => {:geometry => "100x100#", :format => 'jpg', :time => 10}
           }, :processors => [:ffmpeg]
       do_not_validate_attachment_file_type(:clip)
    end

    And here is my view :

    <table class="table">
                       <tr>
                           <th>Video</th>
                           <th>Title</th>
                           <th>Caption</th>
                       </tr>
                       &lt;% @video.each do |video| %>
                           <tr>
                               <td>
                                   &lt;%= image_tag video.clip.url(:thumb) %>
                                   &lt;%= video_tag video.clip.url(:medium) %>
                               </td>
                               <td>
                                   &lt;%= label_tag video.title %>
                               </td>
                               <td>
                                   &lt;%= label_tag video.caption %>
                               </td>
                           </tr>
                       &lt;% end %>
                   </table>

    I have also tried using the videojs_rails gem but I wasn't able to play the video using that either. I would greatly appreciate it if someone could help me out, I've been searching for an answer everywhere but haven't come across one that has worked for me.

    Thanks in advance

  • libavformat/gdv : Fix parsing for soundless video

    2 juillet 2017, par Azamat H. Hackimov
    libavformat/gdv : Fix parsing for soundless video
    

    Added 2 byte skipping if there no sound present, that fixes playback
    files without sound stream.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/gdv.c
  • ffmpeg convert AV_SAMPLE_FMT_S16 to AV_SAMPLE_FMT_FLTP in c++

    12 avril 2020, par easy_breezy

    I want to encode and decode the sound from my Android app to the Opus format using FFmpeg 4.2.2.

    &#xA;&#xA;

    The problem is that my Android app provides a raw PCM sound in AV_SAMPLE_FMT_S16 format, but the FFmpeg opus encoder requires only AV_SAMPLE_FMT_FLTP. So, I decided to resample the sound using FFmpeg swr_convert() function but it crashes with SIGSEGV error and I can't understand why.

    &#xA;&#xA;

    My code looks like this :

    &#xA;&#xA;

    swrContext = swr_alloc();&#xA;&#xA;av_opt_set_int(swrContext, "in_channel_layout", (int64_t) codecContext->channel_layouts, 0);&#xA;av_opt_set_int(swrContext, "out_channel_layout", (int64_t) codecContext->channel_layouts,  0);&#xA;av_opt_set_int(swrContext, "in_sample_rate", 8000, 0);&#xA;av_opt_set_int(swrContext, "out_sample_rate", 48000, 0);&#xA;&#xA;av_opt_set_sample_fmt(swrContext, "in_sample_fmt", AV_SAMPLE_FMT_S16, 0);&#xA;av_opt_set_sample_fmt(swrContext, "out_sample_fmt", AV_SAMPLE_FMT_FLTP,  0);&#xA;&#xA;swr_init(swrContext);&#xA;&#xA;memcpy(frame->data[0], data, dataSize); &#xA;&#xA;uint8_t *outBuffer = (uint8_t *) malloc(sizeof(uint8_t) * frame->nb_samples);&#xA;&#xA;swr_convert(swrContext, &amp;outBuffer, frame->nb_samples, (const uint8_t **)frame->data, frame->nb_samples);&#xA;

    &#xA;&#xA;

    I am new to C++ so sorry for some mistakes if I made them.

    &#xA;