
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (12)
-
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" ; -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
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 (...)
Sur d’autres sites (3680)
-
Pass ID3D11Texture2D back buffer to libx264 encoder
17 janvier 2019, par Chris SixsmithI’m writing a C++ program to encode frames from a DirectX game to the H.264/MPEG-4 AVC format. I am using libx264 alone with no other dependencies at the moment.
I have a
ID3D11Texture2D*
resolved back buffer of the next game frame. I need to somehow copy this into thex264_picture
input (apparently YUV420P format according to limited help I’ve found) but I cannot find any way to do so online.Here is my code at the moment :
void Fx264VideoEncoder::Fx264VideoEncoderImpl::InitFrameInputBuffer(const FTexture2DRHIRef& BackBuffer, FFrame& Frame)
{
x264_picture_alloc(Frame.InputPicture, X264_CSP_I420, x264Parameters.i_width, x264Parameters.i_height);
// We need to take the back buffer and convert it to an input format that libx264 can understand
{
ID3D11Texture2D* ResolvedBackBufferDX11 = (ID3D11Texture2D*)(GetD3D11TextureFromRHITexture(Frame.ResolvedBackBuffer)->GetResource());
EPixelFormat PixelFormat = Frame.ResolvedBackBuffer->GetFormat();
// ...?
}
} -
Debayer video with ffmpeg
23 février 2023, par Andrew SpenceLooking to debayer video with ffmpeg. I can't find a way to do it without piping raw video between two instances of ffmpeg, because I can't change the pixel format of my input video "in place" from gray to bayer_gbrg8. So, this command works :


ffmpeg -i fr_losslessmovie_png_codec.avi -f image2pipe -pix_fmt gray \
-vcodec rawvideo - | ffmpeg -r 25 -f rawvideo -s 2048x700 \
-pix_fmt bayer_gbrg8 -i pipe:0 -y -pix_fmt yuv420p -b:v 25000k \
fr_debayer_compressed.mp4



I would have given the source movie this pixel format, but didn't realize ffmpeg suported bayered pixel formatting.


Didn't see this exact question online, and have not found a way to change the pixel format with video filters etc. without ffmpeg thinking i'm trying to convert the data. I just want to change the pixel format that the already existing gray data has been assigned.


Thanks in advance !


-
How to keep the last 1 min video streaming using ffmpeg ?
4 août 2020, par Lawrence songI have a UVC camera /dev/video1. The Camera will be always on. but I only care about the last 1 min data stream.


after searching online I got a ffmpeg cmd :


./ffmpeg -f v4l2 -input_format mjpeg -video_size 320x240 -i /dev/video1 -c copy -f segment -segment_time 60 -segment_wrap 2 output.mkv



However I got a error and here is the result


libavutil 56. 56.100 / 56. 56.100
 libavcodec 58. 97.100 / 58. 97.100
 libavformat 58. 49.100 / 58. 49.100
 libavdevice 58. 11.101 / 58. 11.101
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, matroska,webm, from '/sdcard/Movies/output.mkv':
 Metadata:
 ENCODER : Lavf58.49.100
 Duration: N/A, start: 0.000000, bitrate: N/A
 Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 320x240, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
[matroska @ 0x3899e10] Invalid segment filename template 'output.mkv'
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument