
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (63)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (8482)
-
How to ffmpeg resize 2.7k DJI Phantom Standard video to 1080p good quality ?
23 mai 2016, par augreffmpeg -i :
Duration: 00:01:59.99, start: 0.000000, bitrate: 39988 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 2704x1520 [SAR 1:1 DAR 169:95], 39984 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
creation_time : 2016-05-22 11:04:26
handler_name : DJI.AVC
encoder : Dji AVC encoderI used :
ffmpeg -i DJI_0002.MOV -vf scale=1920:1080 DJI_0002FullHD.MOV
But the output quality is much worse than it should be.
How to improve the quality ?
-
Using ffmpeg.exe making the computer slow in task manager it takes over 1GB of memory how can i fix it ?
29 mai 2013, par Revuen Ben DrorIn mt Form1 i have this code :
private void StartRecording_Click(object sender, EventArgs e)
{
ffmp.Start("test.avi", 25);
timer1.Enabled = true;
}ffmp is a variable of my class : Ffmpeg
In this class i add frames to a pipe and create an avi file.using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.IO.Pipes;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace ScreenVideoRecorder
{
class Ffmpeg
{
NamedPipeServerStream p;
String pipename = "mytestpipe";
byte[] b;
System.Diagnostics.Process process;
public Ffmpeg()
{
}
public void Start(string FileName, int BitmapRate)
{
p = new NamedPipeServerStream(pipename, PipeDirection.Out, 1, PipeTransmissionMode.Byte);
b = new byte[1920 * 1080 * 3]; // some buffer for the r g and b of pixels of an image of size 720p
process = new System.Diagnostics.Process();
process.StartInfo.FileName = @"D:\pipetest\pipetest\ffmpegx86\ffmpeg.exe";
process.EnableRaisingEvents = false;
process.StartInfo.WorkingDirectory = @"D:\pipetest\pipetest\ffmpegx86";
process.StartInfo.Arguments = @"-f rawvideo -pix_fmt bgr0 -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v libx264 -r " + BitmapRate + " " + FileName;
process.Start();
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = false;
p.WaitForConnection();
}
public void PushFrame(Bitmap bmp)
{
int length;
// Lock the bitmap's bits.
Rectangle rect = new Rectangle(0, 0, bmp.Width, bmp.Height);
//Rectangle rect = new Rectangle(0, 0, 1280, 720);
System.Drawing.Imaging.BitmapData bmpData =
bmp.LockBits(rect, System.Drawing.Imaging.ImageLockMode.ReadOnly,
bmp.PixelFormat);
int absStride = Math.Abs(bmpData.Stride);
// Get the address of the first line.
IntPtr ptr = bmpData.Scan0;
// Declare an array to hold the bytes of the bitmap.
//length = 3 * bmp.Width * bmp.Height;
length = absStride * bmpData.Height;
byte[] rgbValues = new byte[length];
int j = bmp.Height - 1;
for (int i = 0; i < bmp.Height; i++)
{
IntPtr pointer = new IntPtr(bmpData.Scan0.ToInt32() + (bmpData.Stride * j));
System.Runtime.InteropServices.Marshal.Copy(pointer, rgbValues, absStride * (bmp.Height - i - 1), absStride);
j--;
}
p.Write(rgbValues, 0, length);
bmp.UnlockBits(bmpData);
public void Close()
{
p.Close();
}
}
}The problem is when i'm running my application in this from my visual studio 2012 pro and click the button it's openning a console window and start the processing .
I tracked over it through the task manager on ffmpeg.exe and saw that it started from 996mb and very quick jumped ot 1040mb memory usage. The cpu usage was only 16%
Once i close ended this task the ffmpeg.exe everything was back to move smooth.
When it's working and i tried to drag my Form around the screen for example it was moving slow and also with some stuttering .Closed the ffmpeg.exe and i could drag the Form around smooth and quick like in regular way as it should be.
I tried to google for it and found some others with the same problem i think but i'm not sure where is the problem and how to fix it.
I'm not sure what version of ffmpeg.exe i have i'm using now but i read in some places that it's not working better with new versions but maybe i mistake here .
My windows is 8 with 6gb of ram .
-
Bash script not working with ffmpeg + images
30 mars 2017, par user1816546I created a bash file with the name "run.sh" with the following instructions :
ffmpeg -i texture/texture%03d.bmp -vf "scale='min(1920,iw)':min'(1080,ih)':force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" pad_texture/pad_texture%03d.bmp
ffmpeg -i depth/depth%03d.bmp -vf "scale='min(1920,iw)':min'(1080,ih)':force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" ../pad_depth/pad_depth%03d.bmpHowever, when I run my bash file I get the following error :
Input #0, image2, from 'texture/texture%03d.bmp':
Duration: 00:00:20.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: bmp, bgr24, 1024x768, 25 fps, 25 tbr, 25 tbn, 25 tbc
[NULL @ 0x1defec0] Unable to find a suitable output format for 'pad_texture/pad_'exture%03d.bmp
: Invalid argumentxture%03d.bmpI cannot understand why when I copy and paste the commands line by line into the command prompt, they are accepted, but in a bash script they are not. Any feedback is greatly appreciated !