
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (78)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (6443)
-
choosing outbound IP (eth0 or eth1) in FFMPEG
4 septembre 2018, par Ba TaI have 2 IP addresses on my server.
$curl --interface eth0 ifconfig.co
111.111.111.111
$curl --interface eth0:0 ifconfig.co
222.222.222.222So via curl I can switch via interfaces so my IP address changes when I visit any url based on eth IP
How can I use same thing via ffmpeg ?
For example, if want to access this video via ffmpeg (it uses 111.111.111.111 to access it)
ffmpeg -i 123.com/video.mp4
how can I access same video from my second IP 222.222.222.222 ?
Is there any command like this, perhaps ?
ffmpeg --interface eth0:0 -i 123.com/video.mp4
-
Create a rolling X second webcam buffer in Linux, press button saves to file
13 août 2016, par Grant GibsonI’m working on a webcam installation with an ’instant replay’ feature. The concept is basically this :
- Webcam captures live, 24/7
- When user presses a key, the last (previous) 30 seconds of video saves to a file
- I’ll then compress that video using something like FFMPEG and upload to a remote server
I’m fine with step 3 and beyond, but I haven’t been able to find a solution that does the equivalent of a FIFO buffer for video streams [i.e. pretty much what the ’rewind live tv’ buffer on TiVo does].
Does anyone know of a way to keep a rolling webcam video/audio buffer that can be exported to a file ?
Design considerations :
- I’m planning to use a standard webcam, but open to other suggestions
- Recording would ideally be 1080p, 30fps
- Recording must include sound
- Linux hardware and OS can be specified in the answer, there are no existing pre-requisites. Raspberry Pi would be nice if that’s possible, but equally fine with a small Intel machine (e.g. NUC).
- There’s no requirement to save the 24/7 stream, but it’s ok if that’s a by-product. So, storage permitting it can be saving to a file continuously for say 12 hours and just ’cat’ the last 30 secs to a separate file, if that’s an option ? But better would be the 30 sec rolling FIFO buffer that could potentially do the whole job in RAM.
- The ’save instant replay’ button will eventually be a physical pushbutton rather than a keyboard key. However, I’ve got that side of things covered (if the solution is RPi I’d use the GPIO pins, if it’s an Intel box I’d probably use an Arduino in HID mode to simulate a keyboard press).
-
SDL2 C++ Capturing Video of Renderer Animation/Sprite
27 octobre 2016, par alokI have an animation/sprite created using SDL2. The animation works fine when it is being rendered to a screen. But now I also want it to be recorded into a video file (locally stored). For this, I am planning on using FFmpeg APIs, to which I’ll be sending a raw RGB pixel data array.
My problem is with fetching the data from SDL2 APIs.
What I’ve tried is :
// From http://stackoverflow.com/questions/30157164/sdl-saving-window-as-bmp
SDL_Surface *sshot = SDL_CreateRGBSurface(0, 750, 750, 32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
SDL_RenderReadPixels(gRenderer, NULL, SDL_PIXELFORMAT_ARGB8888, sshot->pixels, sshot->pitch);
// From https://wiki.libsdl.org/SDL_RWFromMem
char fName[50];
sprintf(fName, "/tmp/a/ss%03d.bmp", fileCnt);
char bitmap[310000];
SDL_RWops *rw = SDL_RWFromMem(bitmap, sizeof(bitmap));
SDL_SaveBMP_RW(sshot, rw, 1);Above does not work. But dumping a single frame into a file with following code works :
SDL_SaveBMP(sshot, "/tmp/alok1/ss.bmp")
This obviously is not an acceptable solution - Writing to thousands of BMPs and then using FFmpeg from command-line to create a video.
What am I doing wrong ? How do you extract data from SDL_RWops ? Is the use of SDL_RWFromMem the right approach to my problem statement ?