
Recherche avancée
Autres articles (64)
-
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (9667)
-
Getting error on video with Ruby on Rails 4 App
30 avril 2016, par D.GravesSo this is the error I get right after I try and upload my video
This is my post show
<%= video_tag @post.video.url(:medium), controls: true, style: "max-width: 100%;" %>
<p>
<strong>Description:</strong>
<%= @post.description %>
</p>
<% if @post.user == current_user %>
<%= link_to 'Edit', edit_post_path(@post) %>
<% end %>|
<%= link_to 'Back', posts_path %>This is my post model
class Post < ActiveRecord::Base
belongs_to :user
has_attached_file :video, styles: {
:medium => {
:geometry => "640x480",
:format => 'mp4'
},
:thumb => { :geometry => "160x120", :format => 'jpeg', :time => 10}
}, :processors => [:transcoder]
validates_attachment_content_type :video, content_type: /\Avideo\/.*\Z/
endI am curious if anyone has run into this before and I am wondering if I can get any help on how to fix this. I am using paperclip av-transcoder gem, ffmpeg and paperclip gem. I can add any more information if needed
Here is my post controller if this helps
def index
@posts = Post.all
end
def show
end
def new
@post = current_user.posts.build
end
def edit
end
def create
@post = current_user.posts.build(post_params)
if @post.save
redirect_to @post, notice: 'Post was successfully created.'
else
render :new
end
end
def update
if @post.update(post_params)
redirect_to @post, notice: 'Post was successfully updated.'
else
render :edit
end
end
def destroy
@post.destroy
redirect_to posts_url
end
private
def set_post
@post = Post.find_by(id: params[:id])
end
def correct_user
@post = current_user.posts.find_by(id: params[:id])
redirect_to posts_path, notice: "Not authorized to edit this post" if @post.nil?
end
def post_params
params.require(:post).permit(:description, :video)
end
end -
How to process video stream ?
27 avril 2016, par sharpenerI would like to ask some experienced multimedia professional how to proceed with following task :
Given URL provides video stream and we would like to get access to decoded frames (byte stream in memory) in managed
Win7+
application (C#
). We don’t want to render/present the frames the standard way. The video format is known but not fixed (might get changed between two successive sessions, but we will know the parameters).So far, I have found there are several methods and I have build following picture in my mind :
ffmpeg
wrapper- Pros
- Self contained (no dependency to windows technologies)
- Powerful
- Cons
- Little more complex to understand
- Lot of different wrapping variants (
FFmpeg.NET
,ffmpeg-sharp
,ffmpeg-shard
,FFmpeg.AutoGen
, ...)
- Pros
DirectShow
wrapper- Pros
- Widely used/supported technology (variaous filters freely available)
- Nice/detailed documentation on
MSDN
- Cons
- Quite old
- Considered obsolete from the point of author’s view (available only for
desktop
model on runtime >= Win8)
- Pros
MediaFoundation
wrapper- Pros
- Theoretical successor of
DirectShow
, so should be available in the future
- Theoretical successor of
- Cons
- Seems to be not as good as
DirectShow
- Not very popular, limited "community" support
- Seems to be not as good as
- Pros
FFmpegInterop
wrapper- Pros
- Microsoft’s open source wrapper alternative
- Cons
- Not available for runtime < Win8
- Pros
-
ffmpeg 2.8.x cross compile error on mac os x 10.10
22 avril 2016, par alijandroI want to cross compile ffmpeg 2.8.x on Mac OS X 10.10, but I got the following error.
HOSTCC libavcodec/cabac_tablegen.o
In file included from libavcodec/cabac_tablegen.c:25:
In file included from libavcodec/cabac_functions.h:43:
libavcodec/arm/cabac.h:96:25: error: value '24' out of range for constraint 'M'
[byte]"M"(offsetof(CABACContext, bytestream)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.2/include/stddef.h:120:24: note:
expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [libavcodec/cabac_tablegen.o] Error 1The error show some error in host cc, the host cc is
clang-700.1.81
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posixBefore I upgrade Xcode to 7.2, it worked fine.
For ffmpeg 3.x, there is no such problem. But the ffmpeg version I need is 2.8.x. How can I fix without downgrade Xcode to previous version ?