
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (42)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8311)
-
fate : update fate tests after master:291ad12ea2d1 : ffprobe : show probe_score in the...
1er septembre 2013, par Michael Niedermayerfate : update fate tests after master:291ad12ea2d1 : ffprobe : show probe_score in the format section
Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
-
When using ffmpeg.exe to create video from sequence of images the result is avi file that show green color why ?
9 janvier 2014, par user3163653In Form1 im taking screenshots of my screen I checked they are ok i save them to the hard disk and see they are ok.
private void timer1_Tick(object sender, EventArgs e)
{
using (bitmap = (Bitmap)ScreenCapture.CaptureScreen(true))
{
Image mScreenImage = new Bitmap(Screen.PrimaryScreen.Bounds.Width,
Screen.PrimaryScreen.Bounds.Height);
Graphics g = Graphics.FromImage(bitmap);
g.CopyFromScreen(0, 0, 0, 0, new Size(bitmap.Width, bitmap.Height));
g.Dispose();
bitmap.Save(@"D:\Testbmp\" + counter.ToString("D6") + ".jpg", ImageFormat.Jpeg);
counter++;
ffmp.PushFrame((Bitmap)mScreenImage);
}
}Then in the new class ffmp im using pipe to get the screenshots and build the avi file in real time :
using System;
using System.Windows.Forms;
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;
using System.IO;
namespace ScreenVideoRecorder
{
class Ffmpeg
{
NamedPipeServerStream p;
String pipename = "mytestpipe";
System.Diagnostics.Process process;
string ffmpegFileName = "ffmpeg.exe";
string workingDirectory;
public Ffmpeg()
{
workingDirectory = Path.GetDirectoryName(Application.ExecutablePath);
Logger.Write("workingDirectory: " + workingDirectory);
if (!Directory.Exists(workingDirectory))
{
Directory.CreateDirectory(workingDirectory);
}
ffmpegFileName = Path.Combine(workingDirectory, ffmpegFileName);
Logger.Write("FfmpegFilename: " + ffmpegFileName);
}
public void Start(string pathFileName, int BitmapRate)
{
try
{
string outPath = pathFileName;
p = new NamedPipeServerStream(pipename, PipeDirection.Out, 1, PipeTransmissionMode.Byte);
ProcessStartInfo psi = new ProcessStartInfo();
psi.WindowStyle = ProcessWindowStyle.Hidden;
psi.UseShellExecute = false;
psi.CreateNoWindow = false;
psi.FileName = ffmpegFileName;
psi.WorkingDirectory = workingDirectory;
psi.Arguments = @"-f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v mpeg4 -r " + BitmapRate + " " + outPath;
process = Process.Start(psi);
process.EnableRaisingEvents = false;
psi.RedirectStandardError = true;
p.WaitForConnection();
}
catch (Exception err)
{
Logger.Write("Exception Error: " + err.ToString());
}
}
public void PushFrame(Bitmap bmp)
{
try
{
int length;
// Lock the bitmap's bits.
//bmp = new Bitmap(1920, 1080);
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];
//Marshal.Copy(ptr, rgbValues, 0, 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);
}
catch(Exception err)
{
Logger.Write("Error: " + err.ToString());
}
}
public void Close()
{
p.Close();
}
}
}This is the arguments im using now :
psi.Arguments = @"-f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v mpeg4 -r " + BitmapRate + " " + outPath;
Before that I tried to use libx264 instead the mpeg4 but it didn't create the avi file good.
The problem is that the avi file on the hard disk when I play it show just green color.
I can play any other avi files on my hard disk but when playing this avi file I see green.And this is what I see when im playing the avi file :
I tried to use Gspot to find if I need any codec to install and this is what I see :
And I have ffdshow installed already so what should I do now ?
-
About Ffmpeg,Console show 'frame=0 fps=0.0 q=0.0 Lsize=0kB time=00:00:00.00' No data pull&push
9 janvier 2019, par LusI want to use Ffmpeg to pull&push video stream from HLS to RTMP.at first it’s normal,but when I open more,it’s run normally ,but no video data pull&push
Environment:Windows64+Ngg-§rtmp-static+Ffmpeg-static+Java1.8
It’s useless,even if I restart rtmp-server.
ffmpeg -i xxx/live.m3u8 -vcodec h264-s 720*480 -an -f flv -y rtmp://xxx
The first few video streams is normal,but when I open more streams (5+),
it run normally,but no data pull.like this.2019-01-08 10:58:15.658 INFO ->frame=0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 drop=720 speed= 0x
2019-01-08 10:58:16.598 INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
2019-01-08 10:58:16.984 INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik30.ts' for reading
2019-01-08 10:58:17.083 INFO ->frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 drop=744 speed= 0x
2019-01-08 10:58:18.033 INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
2019-01-08 10:58:18.146 INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik31.ts' for reading
2019-01-08 10:58:18.267 INFO ->frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 drop=770 speed= 0x
2019-01-08 10:58:19.220 INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
2019-01-08 10:58:19.317 INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik32.ts' for reading
2019-01-08 10:58:19.415 INFO ->[http @ 0000015efb138600] Opening 'xxx/1/seghik33.ts' for reading
2019-01-08 10:58:19.494 INFO ->frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 drop=795 speed= 0x
2019-01-08 10:58:20.375 INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
2019-01-08 10:58:20.486 INFO ->[http @ 0000015efb138600] Opening 'xxx/1/seghik34.ts' for reading