
Recherche avancée
Autres articles (48)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (7096)
-
avformat/rtmppkt : Convert ff_amf_tag_size() to bytestream2
28 juillet 2017, par Michael Niedermayeravformat/rtmppkt : Convert ff_amf_tag_size() to bytestream2
Fixes : out of array accesses
Fixes : crash-9238fa9e8d4fde3beda1f279626f53812cb001cb-SEGVFound-by : JunDong Xie of Ant-financial Light-Year Security Lab
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
Picturebox from AForge FFMPEG empty - C#/WinForms
1er août 2017, par Jake DelsonI’ve done a ton of research and looked at a lot of questions here but can’t seem to find anything to help me. I should preface I’m very new to C#, Windows Forms, and SO ! I’m a 1st year CompSci student coming from C++ experimenting with my own projects for the summer. I’m trying to display a series of bitmaps from a .avi using the AForge.Video.FFMPEG video file reader.
It seems to be finding the file, getting its’ data (console prints dimensions, framerate, and codec) and creating the picturebox, but the picturebox comes up blank/empty. I get the bitmap from the frames of a .avi :
Then I’m trying to display it with a picture box :
From MS example code here as well
And here’s my code. Essentially a combination of the two :
public class Simple : Form
{
Bitmap videoFrame;
public Simple()
{
try
{
// create instance of video reader
VideoFileReader reader = new VideoFileReader();
// open video file
reader.Open(@"C:\Users\User\Desktop\ScanTest3.AVI");
// check some of its attributes
Console.WriteLine("width: " + reader.Width);
Console.WriteLine("height: " + reader.Height);
Console.WriteLine("fps: " + reader.FrameRate);
Console.WriteLine("codec: " + reader.CodecName);
PictureBox pictureBox1 = new PictureBox();
// read 100 video frames out of it
for (int i = 0; i < 100; i++)
{
videoFrame = reader.ReadVideoFrame();
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox1.ClientSize = new Size(videoFrame.Width, videoFrame.Height);
pictureBox1.Image = videoFrame;
// dispose the frame when it is no longer required
videoFrame.Dispose();
}
reader.Close();
}
catch
{
Console.WriteLine("Nope");
}
}
}
class MApplication
{
public static void Main()
{
Application.Run(new Simple());
}
}So that’s it pretty much. Just a blank picture box coming up, when it should have the first frame of the video, even though no exception caught (though I’m pretty confident I’m using the try/catch very poorly), and the console printing the correct data for the file :
width: 720
height: 480
fps: 29
codec: dvvideo
[swscaler @ 05E10060] Warning: data is not aligned! This can lead to a speedlossThough if anyone could tell me what that warning means, that would be great as well, but I’m mainly just lost as to why there’s no picture printing to the screen.
Thanks !
-
creating thumbnail image through ffmpeg.exe
18 septembre 2017, par Aniruddha DasI am creating thumbnail image(small size) from a big image. for same images it unable to create the thumbnail. if i move the image from one place to another it works.
case :
if image x is created in year 2000 and i tried to extract thumbnail from that and let i failed. then i moved the same image to another place and again try to extracted the thumbanil and it successfully extracted the thumbnail. even if i am again transforming the same image to the same place it is working.
Edit : The command is :
C:/xampp/htdocs/jcert6/seyretfiles/tools/converter/ffmpeg.exe
-i "\\myip\knowledge base\videos\user_62\RHSSNet_Image_Library\images\Touchport_II\CD302_14_TPII_17in_PPR_Scanner.jpg"
-y -f mjpeg -s 72x92 -vframes 1
-an c:/xampp/htdocs/jcert6/seyretfiles/uploads/thumbnails/user_62/user_62_tz2jliomkfunsrhd1291976903_0.jpg –While debugging, I found that if any images do not have created date is not processed by the ffmpeg and generate error image codec parameter.
is it possible to process images without having a create date in ffmpeg ???