
Recherche avancée
Autres articles (76)
-
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 ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...)
Sur d’autres sites (13170)
-
How can I capture and record only specific part of the desktop using ffmpeg ?
23 juillet 2018, par Benzi AvrumiThis is how I’m using now to record the desktop.
Using ffmpeg.exe : ffmpeg -f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p out.mp4
Or using csharp :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
namespace Ffmpeg_App
{
class Ffmpeg
{
Process process;
public void Start(string FileName, int Framerate)
{
process = new System.Diagnostics.Process();
process.StartInfo.FileName = @"D:\ffmpegx86\ffmpeg.exe"; // Change the directory where ffmpeg.exe is.
process.EnableRaisingEvents = false;
process.StartInfo.WorkingDirectory = @"D:\ffmpegx86"; // The output directory
process.StartInfo.Arguments = @"-f gdigrab -framerate " + Framerate + " -i desktop -preset ultrafast - pix_fmt yuv420p " + FileName;
process.Start();
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = false;
Close();
}
public void Close()
{
process.Close();
}
}
}And using it like this for example :
Ffmpeg fpeg = new Ffmpeg();
private void Start_Click(object sender, EventArgs e)
{
fpeg.Start("test.mp4", 24);
}
private void Stop_Click(object sender, EventArgs e)
{
fpeg.Close();
}This will record the entire desktop window to a video file.
But how can I record a specific rectangle area in the desktop ? For example to record only the right bottom corner rectangle size 10x10.So when I will play the video file I will see full screen video but only of the right bottom corner of the desktop.
-
Using FFMPEG to Batch Convert a Series of Separate Image Sequences
1er juillet 2018, par RFrendtI am trying to convert a large set of image sequences (each contained within its own subfolder) to video files. I can currently convert one sequence at a time by using ffmpeg and this code :
ffmpeg -r 30 -i "Image%%05d.jpg" -vf scale=1376:768 -qscale:v 2 "Display 1.m2v"
I also occasionally batch convert avi files which are contained within a single folder using :
for %%a in ("*.avi") do ffmpeg -i "%%a" -qscale:v 2 "%%~na.m2v"
I assumed I’d be able to use this batch approach with separate image sequences.
What I’m having trouble with is figuring out the syntax for a similar batch code that will convert whatever image sequence is present in a folder (or subfolder) using theanyfile%%05d
naming convention. The%%a
syntax in the second line of code doesn’t seem to be compatible with the way ffmpeg recognizes image sequencesanyfile%%05d
in the first. Any thoughts ? -
tiff series to mp4 using ffmpeg
11 avril 2018, par Learning from mastersI have a big tiff file which contains several (1000) images inside. How can I convert this file into a mp4 video ?
I tried :
ffmpeg -i test.tiff test.mp4
but it gives me :ffmpeg version N-82966-g6993bb4 Copyright (c) 2000-2016 the FFmpeg
developers built with gcc 5.4.0 (GCC) configuration : —enable-gpl
—enable-version3 —enable-dxva2 —enable-libmfx -
-enable-nvenc —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei 0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-li bbs2b —enable-libcaca —enable-libfreetype —enable-libgme —enable-libgsm —en able-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb
—enable-libopencore-amrwb —enable-libopenh264 —enable-libopenjpeg —enable-li bopus —enable-librtmp —enable-libsnappy —enable-libsoxr —enable-libspeex —e nable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-amrwbenc
—enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable
-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-libzimg —e nable-lzma —enable-decklink —enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 70.100 /
57. 70.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 /
2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [tiff_pipe @ 000000000042a6e0] Stream #0 : not enough frames to estimate rate ; co
nsider increasing probesize [tiff_pipe @ 000000000042a6e0] decoding
for stream 0 failed [tiff_pipe @ 000000000042a6e0] Could not find
codec parameters for stream 0 (Vid eo : tiff, none) : unspecified size
Consider increasing the value for the ’analyzeduration’ and
’probesize’ options Input #0, tiff_pipe, from ’test.tiff’ : Duration :
N/A, bitrate : N/A
Stream #0:0 : Video : tiff, none, 25 tbr, 25 tbn, 25 tbc [buffer @ 0000000000454460] Unable to parse option value "0x0" as image size
[buffer @ 0000000000454460] Unable to parse option value "-1" as pixel
format [buffer @ 0000000000454460] Unable to parse option value "0x0"
as image size [buffer @ 0000000000454460] Error setting option
video_size to value 0x0. [graph 0 input from stream 0:0 @
0000000000454340] Error applying options to the filter. Error opening
filters !