
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (53)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (10166)
-
Fade in/out gif in particular time in ffmpeg
29 juin 2016, par Ahmad Ali MukashatyI want to fade in gif file (mygif.gif) with video in every 10 minute and for 15 seconds
is there any way to implement that ?
ffmpeg -re -i test.mp4 -i logo.png -ignore_loop 0 -i mygif.gif -filter_complex
"[0][1]overlay=0:0[a];[a][2]overlay=0:H-90,scale=1920:1080" -f mpegts
udp://127.0.0.1:port -
Why when creating video file with ffmpeg when playing the video file the video is moving very fast ?
22 août 2013, par user2704319This is how I am using the
ffmpeg
arguments :public void Start(string pathFileName, int BitmapRate)
{
try
{
string outPath = pathFileName;
Logger.Write("Output Video File Directory: " + outPath);
Logger.Write("Frame Rate: " + BitmapRate.ToString());
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
ProcessStartInfo psi = new ProcessStartInfo();
psi.WindowStyle = ProcessWindowStyle.Hidden;
psi.UseShellExecute = false;
psi.CreateNoWindow = true;
psi.FileName = ffmpegFileName; // the ffmpegFileName is the ffmpeg.exe !
Logger.Write("psi.FileName: " + psi.FileName);
psi.WorkingDirectory = workingDirectory;
Logger.Write("psi.WorkingDirectory: " + psi.WorkingDirectory);
psi.Arguments = @"-f rawvideo -pix_fmt bgr0 -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v libx264 -r " + BitmapRate + " " + outPath;
Logger.Write("ProcessStartInfo Arguments" + @"-f rawvideo -pix_fmt bgr0 -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v libx264 -r " + BitmapRate + " " + outPath);
//psi.RedirectStandardOutput = true;
process = Process.Start(psi);
process.EnableRaisingEvents = false;
p.WaitForConnection();
}
catch (Exception err)
{
Logger.Write("Exception Error: " + err.ToString());
}
}I guess it is something with the arguments command, but I am not sure where the problem is.
I tried to google and saw that you can use h264 or libx264 only with an mp4 output file ?How can I fix this ?
When I am running the video file on any player I see everything moving very fast.
This is a screenshot of the ffmpeg cmd window :
And this is a link for the video file it created 1.37MB size and only 3 seconds length playing it with Media Player Classic :
https://skydrive.live.com/redir?resid=EB1C71C44C3976D5 !295&authkey= !AJjCZ-zINYp7h4A
https://skydrive.live.com/redir?resid=EB1C71C44C3976D5!295&authkey=!AJjCZ-zINYp7h4A
The ffmpeg command from the cmd window :
ffmpeg version N-53885-gf97e28e Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 7 2013 00:32:38 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 35.100 / 52. 35.100
libavcodec 55. 15.100 / 55. 15.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 75.101 / 3. 75.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100And this is when its working :
ffmpeg version N-53885-gf97e28e Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 7 2013 00:32:38 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 35.100 / 52. 35.100
libavcodec 55. 15.100 / 55. 15.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 75.101 / 3. 75.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, rawvideo, from '\\.\pipe\mytestpipe':
Duration: N/A, start: 0.000000, bitrate: 1658880 kb/s
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 1658880 k
b/s, 25 tbr, 25 tbn, 25 tbc
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 003bc420] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 003bc420] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
Output #0, avi, to 'D:\okwow.avi':
Metadata:
ISFT : Lavf55.8.102
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv444p, 1920x1080,
q=-1--1, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> libx264)
Press [q] to stop, [?] for help
frame= 10 fps=1.9 q=0.0 size= 6kB time=00:00:00.00 bitrate=N/A -
Display image every X second and during Y second in ffmpeg
29 juin 2016, par Ahmad Ali MukashatyI want to stream video with gif image (myimage.gif) but I want to display it every X minute (every 10 minutes) and during this time I want to make it loops Y time and then disappear (fade out).
or
dispaly myimage.gif every X minute and still appear during Y minute and then disappear (disappear after 5 minute for example )
I want to make this every 10 minutes until video finishes
how can I do it ?ffmpeg -re -i test.mp4 -i logo.png -i myimage.gif -filter_complex
"[0][1]overlay=0:0[a];[a][2]overlay=0:H-90,scale=1920:1080" -f mpegts
udp://127.0.0.1:port