
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (109)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (15805)
-
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 record sound/audio via FFmpeg, Alsa, PulseAudio or Sox without a soundcard (using the commandline)
13 avril 2019, par Heart Of A LionI’m trying to record audio on an Ubuntu server that has no soundcard or any other audio device. When I use the following Alsa command to list any audio devices, then it can’t find any devices.
arecord -l
I’ve tried recording/capturing audio using the following packages, but because there is no soundcard they all fail to record any audio :
ffmpeg, alsa, pulseaudio, sox
Now it should be possible to record sound on a server that has no soundcard, as some people have managed to do it. The question is how.
Can someone give a step by step commandline walk-through of how to do this on an Ubuntu server, so that audio can be recorded on the server using any of the above-mentioned packages ?
-
ffmpeg record before and after applying filters
7 mai 2019, par MarkI’m trying to use
ffmpeg
to do the following things :- acquire input streaming [OK]
- save to disk the video as is [TODO]
- apply filter, i.e. drawtext [OK]
- save to disk the overlayed video [OK]
- preview the overlayed video [OK]
Here my current command line :
ffmpeg -rtsp_transport tcp -i -vf "[in]drawtext=textfile='text.txt': reload=1: font=arial: fontcolor=red: fontsize=80: box=1: boxcolor=yellow@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2[out]" -vcodec libx264 -f tee -map 0:v "[f=mp4]test.mp4|[f=nut]pipe:" | ffplay pipe:
The only thing I don’t understand how to do is the recording of the video before
drawtext
. I guess I have to create anothertee
:INPUT ---> TEE ---->RECORD
|
|-->FILTERS---> TEE ---->RECORD
|
|-->PLAYSo I tried with this cumbersome command :
ffmpeg -rtsp_transport tcp -i -vcodec libx264 -f tee -map 0:v "[f=mp4]before.mp4|[f=nut]pipe:" | ffmpeg -f mp4 -i pipe: -vf "[in]drawtext=textfile='text.txt': reload=1: font=arial: fontcolor=red: fontsize=80: box=1: boxcolor=yellow@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2[out]" -vcodec libx264 -f tee -map 0:v "[f=mp4]after.mp4|[f=nut]pipe:" | ffplay pipe:
It doesn’t throw errors, records "before.mp4" but neither "after.mp4" nor the preview are working. Surely I forgot something in the syntax.