
Recherche avancée
Autres articles (104)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (12137)
-
C# process to get image from ffmpeg stdout [duplicate]
12 avril 2019, par AlexThis question already has an answer here :
We need to read some RTSP streams in C# using ffmpeg and pipe the stdout to a
MemoryStream
. We need to get a snapshot out of each stream. Here’s my code so far :var arguments =
$@" -y -i {imageUri.AbsoluteUri} -vframes 1 -pix_fmt yuvj420p -vf select='eq(pict_type\,I)' -q:v 1 pipe:1";
var processStartInfo = new ProcessStartInfo
{
Arguments = arguments,
FileName = AppDomain.CurrentDomain.BaseDirectory + @"\lib\ffmpeg.exe",
CreateNoWindow = true,
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true
};
var process = new Process
{
StartInfo = processStartInfo,
EnableRaisingEvents = true
};
process.Start();
var output = process.StandardError.Read();
process.StandardOutput.BaseStream.CopyTo(memoryStream);But with above
memoryStream.Length
is always0
. What’s going on ? I’ve looked at this : How to get output from ffmpeg process in c# but I’m reading binary from stdout. And this answer gives little implementation details : https://stackoverflow.com/a/4535927/177416Wasn’t sure how to use this answer : .NET Process - Redirect stdin and stdout without causing deadlock
-
Ruby on Rails 4 Heroku App Crash while uploading large size video
22 juillet 2016, par Krishna Vyaslarge video file isn’t uploading on heroku and throwing Application Crash error
Here is my Model Code :has_attached_file :video, :styles => {
:medium => {
:geometry => "640x480",
:format => 'mp4',
:convert_options => {
:output => {
:vcodec => 'libx264',
:acodec => 'copy'
}
}
},
:thumb => {
:geometry => "300x300#",
:format => 'jpg',
:time => 2,
:auto_rotate => true
}
}, :processors => [:transcoder]
validates_attachment_content_type :video, content_type: /\Avideo\/.*\Z/Here is my log from heroku
2016-07-22T13:15:13.616340+00:00 app[web.1]: Command :: file -b --mime '/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-1e90wvf.mp4'
2016-07-22T13:15:13.771935+00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
2016-07-22T13:15:13.773078+00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
2016-07-22T13:15:13.774121+00:00 app[web.1]: [AV] Found ["ffmpeg"], using: Ffmpeg
2016-07-22T13:15:13.774159+00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
2016-07-22T13:15:13.775225+00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
2016-07-22T13:15:13.776771+00:00 app[web.1]: [AV] Found ["ffmpeg"], using: Ffmpeg
2016-07-22T13:15:13.776807+00:00 app[web.1]: [AV] Running command: ffmpeg -i "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4" 2>&1
2016-07-22T13:15:13.814982+00:00 app[web.1]: [paperclip] [transcoder] Transocding supported file /tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4
2016-07-22T13:15:13.815056+00:00 app[web.1]: [AV] Adding output parameter ["acodec", "aac"]
2016-07-22T13:15:13.815103+00:00 app[web.1]: [AV] Adding output parameter ["strict", "experimental"]
2016-07-22T13:15:13.815289+00:00 app[web.1]: [AV] Adding output parameter [:s, "640x480"]
2016-07-22T13:15:13.815379+00:00 app[web.1]: [AV] Running command: ffmpeg -i "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4" -acodec aac -strict experimental -s 640x480 -y "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt20160722-3-1pwdg2k.mp4"
2016-07-22T13:15:43.237749+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/courses/5/sections/7/lessons/11" host=xxxxx.herokuapp.com request_id=a1408ac7-c7c3-40f4-8365-86156d2d2314 fwd="43.255.56.1" dyno=web.1 connect=0ms service=188655ms status=503 bytes=0 -
Anomalie #4651 : Supprimer l’option de configuration avancée "Se limiter au HTML4 sur le site public"
7 février 2021, par cy_altern -Ben non : en 3.2 la meta version_html_max ne semble utilisée que pour la fonction html5_permis() cf [1] qui retourne simplement true / false...
Alors l’idée est donc d’avoir maintenant par défaut "true" (donc HTML 5 autorisé) et d’utiliser un plugin de compatibilité qui permet de "brider" à HTML 4 (d’où le nom de la constante et le jour où on aura besoin d’indiquer une version de HTML précise il sera toujours temps d’en ajouter une autre...)