
Recherche avancée
Autres articles (25)
-
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...) -
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" ; -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (3952)
-
FFmpeg command to transcode video in order to bypass YouTube Content ID
18 août 2015, par 阿尔曼This is the code I use to crop and add subtitles to the video :
ffmpeg -y -i VTS_01_1.VOB -filter_complex "[0:v] crop=720:432:0:72 [crop]; [crop] ass=VTS_01.ass" -c:v libx264 -c:a aac -strict -2 output.mp4
and this is the result I published on YouTube :
https://www.youtube.com/watch?v=8vwUFO9uF-U
My problem : Some of the videos received Content ID claim and were blocked in 244 countries, for example :
https://www.youtube.com/watch?v=IVt24GLmfVY
My question : Is it possible to transcode video a little bit with FFmpeg in order to bypass YouTube Content ID and how to do it ?
-
Stream video content through Web API 2
12 février 2016, par FaNIXI’m in the process of working out what the best way is going to be to do the following :
I have a bunch of CCTV footage files (MP4 files, ranging from 4MB-50MB in size), which I want to make available through a web portal. My first thought was to stream the file through Web API, so I found the link below :
http://www.strathweb.com/2013/01/asynchronously-streaming-video-with-asp-net-web-api/
After implementing a sample project, I realised that the example was based on Web API 1, and not Web API 2.1, which is what I’m using. After doing some more research, I got the code to compile with WebAPI 2.1. I then realised that if I want to do streaming I cannot use MP4 files, there is a fair amount of technical detail behind this, so here is the thread :
Best approach to real time http streaming to HTML5 video client
It seems for this to work I need to encode my MP4 files to something like WebM, but that is going to take too much time. Icecast (http://icecast.org/), which is a streaming server, but I haven’t tried it out yet, again not sure if this is what I need to do.
Now that I think of it, I actually don’t need live streaming, I just need to allow the client to play the video file through their browser, perhaps using HTML5 video element ? The thing is, my application needs to work on IOS as well, so I reckon that means I cant even encode my MP4 to FLV and just use flash.
All I really need is to have all my video clips as thumbnails on a web page, and if the client clicks on one, it begins to play ASAP, without having to download the entire file. Think of the "Watch Trailer" feature on imdb.com. Simply just play a video file, thats really what I want. I don’t need LIVE streaming, which is what I think WebM is for ? Again, not sure.
-
FFprobe reading incorrect resolution value despite players rendering it correctly
24 juillet 2015, par BoehmiI’m creating a video from a stream with the help of FFMPEG and I also use FFPROBE to gather information for use on a status page like resolution, codecs et cetera.
When FFProbe parses my video for information, I get a resolution value of 544x576 (almost a square !), but an aspect ratio of 16:9.
These values are consistent on both the input stream and my saved video.
When I watch the video in the standard HTML5 Player, VLC or FFPLAY however, I get a video with the proportions of 16:9 and a resolution (measured using an image editing program) of 1024x576 that does look native and not stretched in any way.
Even if I re-encode the video using slightly different codecs, this incorrect resolution value persists, even though every player I use displays it correctly.
This is slightly inconvenient because I am relying on getting the correct resolution value from the video for further processing.
I’m also using a recent FFMPEG+FFPROBE version that was compiled on the 15th of July.
Is this a bug within FFMPEG or is there anything I’m doing wrong ?
Used command lines :
FFMPEG :
ffmpeg -i source -loglevel debug -vcodec copy -acodec copy -bsf:a aac_adtstoasc -movflags +faststart -t 360 -y video.mp4
FFPROBE (I parse the output of this directly and save the values) :
ffprobe -i source -show_format -show_streams
FFProbe output :
width=544
height=576
coded_width=544
coded_height=576
has_b_frames=2
sample_aspect_ratio=32:17
display_aspect_ratio=16:9I can see that the sample aspect ratio is different from the display aspect ratio, but how come the video looks proper in 16:9 when it’s supposedly encoded at a near square resolution ?