
Recherche avancée
Autres articles (99)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)
Sur d’autres sites (9713)
-
FFMpeg - how to encode a F4M manifest file to mp4
20 novembre 2015, par RoeeI’m working on a project, where we want to encode flash videos to mp4 (for example, we want to encode a f4v file), and live-stream them (which means we can’t just download all the f4f files, then encode them to a single mp4 and just then stream it. The encoding and streaming has to be done while downloading the files).
If the format of the flash video is flv for example, FFMpeg can do what I’ve described without any problem. I just give the address of the flv file to FFMpeg, and it encodes and streams it as mp4.
But, if the format of the flash video is something more complicated as f4v (which gets downloaded as many f4f files), I don’t have a single url to give to FFMpeg as input - I have many addresses of f4f files. I don’t even know how many f4f files the video has before playing it - it looks like the flash player just fetches the next f4f file when needed.
I read online that there is a manifest file (its extension is f4m), that "describes" to the flash player which f4f files it should download and play, and what’s their playing-order and everything.
My question is - if I have the url of this f4m file, what should I do in order to encode all its f4f files to mp4 ?
I’ve tried to give to FFMpeg just the f4m file as input, but it doesn’t know what to do with it...I’ll really appreciate any response that might help, as I’ve been working on this issue for few days now and I still haven’t found any answer...
Thanks,
Roee. -
How to record browser animation to video, on Server/VPS
11 novembre 2015, par Andy BI have one big question : How to record an animation that plays in the browser on a server/VPS ? We’re looking for a open/source or even proprietary solution.
The use-case :
We have an online project that generates animations and we want to record them on the server side.
Practically it’s as simple as that, as opening a url(eg : https://greensock.com/gsap) in the browser and record the animation.On the local PC it works if we use ffmpeg, but we want to record the video on the server side, especially on a VPS without GUI.
There are some solutions :
- Install a Lightweight GUI on the VPS, accesible through VNC
Something like this :
https://vpsboard.com/topic/2786-running-a-lightweight-gui-on-your-vps/Then create a cron job that will do the following :
- open the browser with the correct url and play the animation
- use ffmpeg to record the animation
- save the video somewhere
This solution allows a SINGLE execution thread at the same time and I don’t really like the setup.
- Use a fake X server
Create/use a fake X server, tell the browser to run in there, tell ffmpeg to record that screen !?
The question is : HOW ?
- Virtual Machines within the VPS
The question is : HOW ?
I would like to have the possibility to execute this job in a sort of container (be it docker or virtual machines within the VPS), having also the possibility to execute multiple jobs in parallel.
Thank you all in advance !
-
RoutingError No route matches GET videos/original/missing.png
4 novembre 2015, par D.GravesOkay so Im having an issue uploading videos using paperclip av transcoder. Im getting just a blank black image for my video and cant play anything. So no error pops up online but on my GitBash I see an ActionController Routing Error.
This is the Error I see in my Gitbash
My model that has the video :
class Pin < ActiveRecord::Base
belongs_to :user
has_attached_file :video, :styles => {
:medium => { :geometry => "640x480", :format => 'mp4' },
:thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 }
}, :processors => [:transcoder]
validates_attachment_content_type :video, :content_type => ["video/mp4", "video.mov", "video/mpeg","video/mpeg4", "image/jpg", "image/jpeg"]
endMy show view for the video :
<%= video_tag @pin.video.url %>
<p>
<strong>Description:</strong>
<%= @pin.description %>
</p>
<% if @pin.user == current_user %>
<%= link_to 'Edit', edit_pin_path(@pin) %>
<% end %>
<%= link_to 'Back', pins_path %>I believe I installed ffmpeg correct and here is what it shows on my Gitbash for my version of ffmpeg
I also have the newest version of paperclip and paperclip av transcoder installed. Am I just missing a route ? If you all need any other code to maybe help just let me know and ill post it