
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (36)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (8502)
-
What is wrong with this code ? Not working on Windows 10 / Ubuntu 14
3 avril 2017, par SomenameTrying to convert a
.gif
to.mp4
:var express = require('express');
var bodyParser = require('body-parser');
var app = express();
var ffmpeg = require('fluent-ffmpeg');
var proc = new ffmpeg({ source: 'myfile.gif' })
.withAspect('4:3')
.withSize('640x480')
.applyAutopadding(true, 'white')
.saveToFile('myfile.avi', function(stdout, stderr) {
console.log('file has been converted succesfully');
});
app.listen(3000, function() {
console.log("Server Running on 3000");
});Getting the same error on Windows 10 and Ubuntu 14 :
Error: Cannot find ffmpeg
.What is wrong with the code ? Please help.
-
ffmpeg compilation issue on Windows phone 8.1
24 février 2017, par Mirko PuliafitoTaking a look at Build ffmpeg for windows phone 8
I was able to compile ffmpeg on Windows phone 8using these steps :My configuration
OS : Windows 8.1 VS : Ultimate 2013 Update 3 (If armasm fails, msvcdis110.dll missing download it from dllsearch ) Mingw (be sure that "link" and "cl" commands point to MS "link" and "cl") FFmpeg 2.1.5
Follow prerequisites listed here : https://ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b-or-Intel-C_002b_002b-Compiler-for-Windows
-) Download c99toc89 : https://github.com/libav/c99-to-c89/downloads/. Be sure all files from c99toc89 are in Mingw PATH (copy in /bin)
-) FFMPEG requires stdint.h and inttypes.h headers standardized as a part of C99. Unfortunately, Visual Studio does not include these files. Fortunately, there is a project that fixes this issue. Download the latest version and unpack it to Visual Studio includes (C :\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include).
-) Launch cmd and "c :\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat x86_arm" and then msys
-) configure :
./configure --toolchain=msvc \
--disable-programs \
--disable-network \
--disable-protocols \
--extra-cflags="-D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE -D_M_ARM -D_WINAPI_FAMILY=WINAPIFAMILY_APP" \
--enable-cross-compile \
--target-os=win32 \
--arch=arm \
--as=armasm \
--cpu=armv7 \
--disable-yasm \
--extra-ldflags="-MACHINE:ARM" \
--disable-dxva2 \
--disable-asm \
--disable-docI was able to get .a static libs but I wasn’t able to generate an app using it. I have problems while linking for kernel32.lib and libcmt.lib misses.
Anyone ?
-
OpenCV cv2 not working in Windows 7
6 septembre 2014, par Subhendu Sinha ChaudhuriI have a Windows 7 SP1 64 Bit machine with open cv2.4.9 installed and python 2.7.6 installed.
I use pre compiled version of opencvThe following code works perfectly for me
import cv2.cv as cv
import time
cv.NamedWindow("camera", 0)
capture = cv.CaptureFromCAM(0)
while True:
img = cv.QueryFrame(capture)
cv.ShowImage("camera", img)
if cv.WaitKey(10) == 27:
break
cv.DestroyAllWindows()Now when I try to use this code
import cv2
import numpy as np
cam = cv2.VideoCapture(0)
s, img = cam.read()
winName = "Movement Indicator"
cv2.namedWindow(winName, cv2.CV_WINDOW_AUTOSIZE)
while s:
cv2.imshow( winName,img )
s, img = cam.read()
key = cv2.waitKey(10)
if key == 27:
cv2.destroyWindow(winName)
break
print "Goodbye"The window is opened , the camera is initialized (as camera lights are on) , but nothing is displayed and the window closes and the program exits.
WHERE am I going wrong ??
QUESTION 2
Can any one also suggest me how to capture live video stream from my Linux machine 192.168.1.3 . The stream is being generated by ffmpeg.The video stream can be opened in web browser. But I want to capture it with opencv and python.