
Recherche avancée
Autres articles (41)
-
Publier sur MédiaSpip
13 juin 2013Puis-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, parWe 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, parLes 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 SavaleI'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)
endAnd here is my view :
<table class="table">
<tr>
<th>Video</th>
<th>Title</th>
<th>Caption</th>
</tr>
<% @video.each do |video| %>
<tr>
<td>
<%= image_tag video.clip.url(:thumb) %>
<%= video_tag video.clip.url(:medium) %>
</td>
<td>
<%= label_tag video.title %>
</td>
<td>
<%= label_tag video.caption %>
</td>
</tr>
<% 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 -
ffmpeg convert AV_SAMPLE_FMT_S16 to AV_SAMPLE_FMT_FLTP in c++
12 avril 2020, par easy_breezyI want to encode and decode the sound from my Android app to the Opus format using FFmpeg 4.2.2.



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


My code looks like this :



swrContext = swr_alloc();

av_opt_set_int(swrContext, "in_channel_layout", (int64_t) codecContext->channel_layouts, 0);
av_opt_set_int(swrContext, "out_channel_layout", (int64_t) codecContext->channel_layouts, 0);
av_opt_set_int(swrContext, "in_sample_rate", 8000, 0);
av_opt_set_int(swrContext, "out_sample_rate", 48000, 0);

av_opt_set_sample_fmt(swrContext, "in_sample_fmt", AV_SAMPLE_FMT_S16, 0);
av_opt_set_sample_fmt(swrContext, "out_sample_fmt", AV_SAMPLE_FMT_FLTP, 0);

swr_init(swrContext);

memcpy(frame->data[0], data, dataSize); 

uint8_t *outBuffer = (uint8_t *) malloc(sizeof(uint8_t) * frame->nb_samples);

swr_convert(swrContext, &outBuffer, frame->nb_samples, (const uint8_t **)frame->data, frame->nb_samples);




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