
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (19)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (2869)
-
ffmpeg .mp4 to .h264 avcc formatted bitstream
20 juillet 2014, par user2517182I have a .mp4 file. I would like to convert it to an .h264 file of the form of avcc bitstream.
When I run
ffmpeg -i somfile.mp4 -vcodec libx264 somefile.h264
, a .h264 file is produced, but of the form annexb bitstream. I also tried it withlibx264rgb
argument to -vcodec
and got the same result.I ran
ffmpeg -codecs
and the line that I believe applies to my situation isDEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_vda ) (encoders: libx264 libx264rgb )
According to this post and this post (they seem to be highly recommended on stackoverflow), although there are differences between the two bitstreams ; I should be able to produce either one of the bitstreams if the bits are packed correctly.
Any help with this would be greatly appreciated.
-
IP Webcam on OpenCV for Java
14 novembre 2015, par Vinicius NogueiraI am using IP Webcam APP for android and it is streaming MJPEG video through the local url :
http://192.168.0.2:8080/video
I was able to show the video using VLC player and this piece of code in C++.
On the OpenCV 2.2 I opened the url using :VideoCapture cap;
cap.open("http://192.168.0.2:8080/video?dummy=param.mjpg");It worked in C++, but I want it to work in Java. I was able to run OpenCV2.4.9 using Java when taking pictures from my built in webcam. This is my code for taking the images from a url in Java.
System.loadLibrary("opencv_java249");
VideoCapture capture = new VideoCapture();
capture.open("http://192.168.0.2:8080/video?dummy=param.mjpg");But the capture.open does not open the streaming and I could not debug it properly. I know that it might be a issue with the ffmpeg, since it works on OpenCV2.2. I also know that my OpenCV2.2 is specific for MS 2010 and might be more complete.
Would it help if I compile the OpenCV2.4.9 from sources ? Is there a file that I could add to solve that problem ? Is there another way of receiving the video from the IP camera and using on OpenCV ?
-
Piping file contents to ffmpeg
30 juin 2014, par user2739431I’m currently using this ffmpeg command to generate 2 png images from the raw image fb0 file on an android device.
ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 720x1280 -i fb0
-f image2 -vcodec png image_%03d.pngI’m pulling the fb0 file with adb pull before running this command but I’m wondering if I can just cat and pipe the output of it to the ffmpeg command rather than having to save the file locally beforehand. Is this possible, and if so how would it be done ? Thanks
edit : this post from 2010 says piping in ffmpeg can only be done with video, is this still the case ?
I tried to do this, and it does work except my image is distorted, any suggestions ?
adb shell cat /dev/graphics/fb0 | ffmpeg -vcodec rawvideo -f rawvideo
-pix_fmt rgb32 -s 720x1280 -i pipe:0 -f image2 -vcodec png image_%03d.pngit gives an "Invalid buffer size" error too.