
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (33)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (4627)
-
Use opencv to encode into flv, playable by flash player
13 février 2012, par Hemang ShahI've compiled ffmpeg with libx264 using configure options given at 1.
This results in the following codecs being available in ffmpeg :
$ ffmpeg -codecs | grep "264\|flv"
ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 10 2012 13:54:15 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
DEVSD flv Flash Video (FLV) / Sorenson Spark / Sorenson H.263
D V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
D V D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
EV libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
EV libx264rgb libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGBAfter this, I compiled opencv. Here is partial cmake result :
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: NO
-- FFMPEG: YES
-- codec: YES
-- format: YES
-- util: YES
-- swscale: YES
-- gentoo-style: YES
-- GStreamer: YES
-- UniCap: NO
-- PvAPI: NO
-- V4L/V4L2: /1
-- Xine: NONow, using opencv's VideoWriter, I tried to encode into flv with the following FOURCC codes :
FLV1, X264While the FLV1 results in a video file not playable by flash player, but playabe by vlc ; X264 produces no results at all.
Here is the console output for X264, resulting in a 0 byte file.Output #0, flv, to 'd.flv' :
Stream #0.0 : Video : [0][0][0][0] / 0x0000, yuv420p, 320x240, q=2-31, 4915 kb/s, 90k tbn, 24 tbcDo you see anything amiss or incorrect ?
thanks, -
Use opencv to encode into flv, playable by flash player
13 février 2012, par Hemang ShahI've compiled ffmpeg with libx264 using configure options given at 1.
This results in the following codecs being available in ffmpeg :
$ ffmpeg -codecs | grep "264\|flv"
ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 10 2012 13:54:15 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
DEVSD flv Flash Video (FLV) / Sorenson Spark / Sorenson H.263
D V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
D V D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
EV libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
EV libx264rgb libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGBAfter this, I compiled opencv. Here is partial cmake result :
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: NO
-- FFMPEG: YES
-- codec: YES
-- format: YES
-- util: YES
-- swscale: YES
-- gentoo-style: YES
-- GStreamer: YES
-- UniCap: NO
-- PvAPI: NO
-- V4L/V4L2: /1
-- Xine: NONow, using opencv's VideoWriter, I tried to encode into flv with the following FOURCC codes :
FLV1, X264While the FLV1 results in a video file not playable by flash player, but playabe by vlc ; X264 produces no results at all.
Here is the console output for X264, resulting in a 0 byte file.Output #0, flv, to 'd.flv' :
Stream #0.0 : Video : [0][0][0][0] / 0x0000, yuv420p, 320x240, q=2-31, 4915 kb/s, 90k tbn, 24 tbcDo you see anything amiss or incorrect ?
thanks, -
Raspberry Pi Camera feedback freezes when moving NEMA 17 stepper motor with A4988 stepper motor driver [closed]
31 août 2023, par Broteen DasI have a Raspberry Pi with a camera module and a NEMA 17 stepper motor connected to it. When I run the command
ffplay /dev/video0
, the video runs perfectly. However, whilst the video is running, and I run a script that moves the Stepper motor with the A4988 stepper motor driver, the video feed freezes and needs to be restarted.

At first I thought it was ffmpeg's fault, so I tried viewing the feed with OpenCV, but the same probelem persisted.


I also thought that the CPU prioritization was causing the problem, but this one time, the entire Raspberry Pi froze. The Keyboard, mouse, keys, numlock key, everything was dead (the Numlock light on my keyboard was on, I tried toggling the NumLock, but it did not go off) and so I had to turn off and turn on again the power supply to reboot the Pi.


How do I get rid of this issue ?