
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
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 (46)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (6304)
-
swscale/ppc : VSX-optimize non-full-chroma yuv2rgb_1
31 mars 2019, par Lauri Kasanenswscale/ppc : VSX-optimize non-full-chroma yuv2rgb_1
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 -sws_flags fast_bilinear \
-s 1200x1440 -f null -vframes 100 -pix_fmt $i -nostats \
-cpuflags 0 -v error -32-bit mul, power8 only.
1.8-2.3x speedup :
rgb24
18192 UNITS in yuv2packed1, 32767 runs, 1 skips
9983 UNITS in yuv2packed1, 32760 runs, 8 skips
bgr24
18665 UNITS in yuv2packed1, 32766 runs, 2 skips
9925 UNITS in yuv2packed1, 32763 runs, 5 skips
rgba
20239 UNITS in yuv2packed1, 32767 runs, 1 skips
8794 UNITS in yuv2packed1, 32759 runs, 9 skips
bgra
20354 UNITS in yuv2packed1, 32768 runs, 0 skips
8770 UNITS in yuv2packed1, 32761 runs, 7 skips
argb
20185 UNITS in yuv2packed1, 32768 runs, 0 skips
8761 UNITS in yuv2packed1, 32761 runs, 7 skips
bgra
20360 UNITS in yuv2packed1, 32766 runs, 2 skips
8759 UNITS in yuv2packed1, 32764 runs, 4 skipsThis is a low speedup, but the x86 mmx version also gets only 2x. The mmx version
is also heavily inaccurate, while the vsx version has high accuracy. -
Can't record full screen using FFMEG Video File Writer - C#
2 avril 2019, par nsdsMy app need to record entire screen as video. For that I have installed
AForge.Video.FFMPEG
and did like below. Now I can record the screen. But some bottom area and right end area of screen is missing. Can anyone suggest what causes the issue ? I want to record the entire screen.
SystemInformation.VirtualScreen
is used to calculate screen size. it is getting as 1536*864
private ScreenCaptureStream _streamVideo;
private VideoFileWriter _Screenwriter;
private Rectangle _screenArea;
private bool _isScreenRecording;
private int _Screenwidth;
private int _Screenheight;
public RecordVideo()
{
InitializeComponent();
this._Screenwriter = new VideoFileWriter();
this._Screenwidth = SystemInformation.VirtualScreen.Width;
this._Screenheight = SystemInformation.VirtualScreen.Height;
this._isScreenRecording = false;
this._screenArea = Rectangle.Empty;
}
private void btn_startRecord_Click(object sender, EventArgs e)
{
try
{
if (btn_screenRecord.Text == "Record")
{
FolderBrowserDialog fbd = new FolderBrowserDialog();
if (fbd.ShowDialog() == DialogResult.OK)
{
_isScreenRecording = true;
this.StartRecScreen(fbd.SelectedPath);
}
}
else
{
_isScreenRecording = false;
btn_screenRecord.Text = "Record";
MessageBox.Show(@"Recorded !");
}
}
catch (Exception EX)
{ MessageBox.Show(EX.Message); }
}
private void StartRecScreen(string path)
{
btn_screenRecord.Text = "Stop";
this.SetScreenArea();
_isRecording = true;
string fullName = string.Format(@"{0}\{1}_{2}.mp4", path, "Record_", DateTime.Now.ToString("d_MMM_yyyy_HH_mm_ssff"));
// Save File option
_Screenwriter.Open(
fullName,
this._Screenwidth,
this._Screenheight,
10, VideoCodec.MPEG4, 1000000);
// create screen capture video source
this._streamVideo = new ScreenCaptureStream(this._screenArea);
// set NewFrame event handler
this._streamVideo.NewFrame += new NewFrameEventHandler(this.video_NewScreenFrame);
// start the video source
this._streamVideo.Start();
}
private void video_NewScreenFrame(object sender, NewFrameEventArgs eventArgs)
{
if (this._isScreenRecording)
{
this._Screenwriter.WriteVideoFrame(eventArgs.Frame);
}
else
{
_streamVideo.SignalToStop();
_Screenwriter.Close();
}
}
private void SetScreenArea()
{
// get entire desktop area size
foreach (Screen screen in Screen.AllScreens)
{
this._screenArea = Rectangle.Union(_screenArea, screen.Bounds);
}
} -
How to force "full range" flag on export
28 janvier 2019, par Emanuele VissaniI have an ffmpeg command to remap audio tracks to descrete channels in a ProRes 4444 quicktime file. Even if the input video is copied to the output, the exported file is interpreted by a professional video player software as video range (16-234 values) instead of the original full range (0-255 values), making it look more contrasted.
The content is actually correct, changing manually the range setting in the player software gives back the right light range, so I think the output file just lose some kind of range flag.I already tried the following options without results :
-colorspace bt709 -movflags +write_colr
-dst_range 1 -color_range 2
-vf scale=out_range=full
-vf scale=in_range=full:out_range=full
Original command is :
ffmpeg -i F:\_IMPORT\TST_ProRes4444_4k.mov -map 0:0 -c copy -map 0:1 -c copy -map_channel 0.2.0:0.2 -c:a pcm_s24le F:\_EXPORT\TEST\test.mov
Thank you for your help.