Click here to Skip to main content
15,886,720 members
Everything / Multimedia / Video

Video

video

Great Reads

by Maxim Kartavenkov
Articles describes how to create virtual video capture source directshow filter in pure C#
by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
by Sergey Alexandrovich Kryukov
Another variant of the cross-platform replacement for all those office presentation applications in a single file, and now this file is JavaScript
by Maxim Kartavenkov
Article shows how easy to make various video effects using PixelShaders in Direct3D.

Latest Articles

by Maxim Kartavenkov
Make H.264 Video Encoder DirectShow Filter in C# using AMF SDK API from AMD
by V. Subhash
A simple fix for excessively bright video and low-volume audio
by DrABELL
YouTube™ API for ASP.NET, AJAX-extended (C#)
by Peter Huber SG
Detailed article explaining how to make WPF display media files created by mobile phones properly

All Articles

Sort by Title

Video 

20 Aug 2018 by ilostmyid2
platform: Windows application: WinForm application language: C# decoder: ffmpeg Hi We're using ffmpeg to decode frames sent via network to us. The program is written in C# and uses FFmpegInvoke as well as the required DLL's like avcodec-56.dll and avutil-54.dll for decoding the frames. We need...
20 Aug 2018 by Jochen Arndt
Start by reading HWAccelIntro – FFmpeg[^]. For usage with the API check if an appropriate decoder is available and select that for decoding (requires that the library has been built with support for that decoder): // C/C++ example to use the DXVA2 decoder AVCodec* decoder =...
17 Apr 2017 by Atakutabrak
I build project with Microsoft Visual Studio 2010 and get this Error "Unhandled exception has occured in your application.." when play video in project, problem solve with disable LoaderLock in VS2010 toolbar Debug, Exceptions.. , Managed Debugging Assistants, Uncheck LoaderLock but after I...
11 Apr 2017 by User 4180254
Put the code in TRY-CATCH to capture actual error you need to address.. try { videoFile = new AudioVideoPlayback.Video(file) videoFile.Owner = pnlVideo VideoFile.Play() } catch(Exception ex) { // you can get exception information here.. }
17 Apr 2017 by Jochen Arndt
Your complete approach is wrong. Instead of disabling the exception you should find the cause and fix that. Ignoring the execption may lead to a deadlock: loaderLock MDA[^]: Effect on the Runtime Typically, several threads inside the process will deadlock. One of those threads is likely to be...
27 Jan 2011 by Kozlov_Sergey
Where can i take "WMV Splitter Filter"?First i will use it in "Graph Edit" from Direct eXtensions Software Development Kit, then in my program in C++.
27 Sep 2010 by Kozlov_Sergey
I decided to develop filter with 2 input pins and 1 output pin self.
27 Jan 2011 by Kozlov_Sergey
Found and improved open source microsoft member's filter.
21 May 2014 by Pavan Kumar
While recording video by ffmpeg VideoFileWriter class, i am getting error like 'A video file was not opened yet'here is my code : private void butStart_Click(object sender, EventArgs e) { try { FinalVideo = new...
2 Aug 2013 by Hitesh K Gupta
I am working on a live streaming project. In that we need to show live scenes on local screens along with broadcasting. But for this, use of encoded stream is not a good choice as encoded stream has delay which can not be use as live feed. So I got an idea to create an archive file during...
2 Mar 2015 by AmbiguousName
Hello there. I have tried a number of options to convert a RAW mp4 file into mp4 file and showing the timestamp in it. These options are given as under//////////////////////// FIRST METHOD//// Option timestamp cannot be applied to input file. You are trying to apply input option to...
29 Oct 2012 by Sharath2790
I've downloaded DirectX on My PC and I've installed it But unable add reference to my project. I need to embed a video into my application. Thank you!
30 Oct 2012 by ridoy
You not mentioned what type of application you need to embed it,here's some for you..http://www.dotnetspider.com/resources/42801-How-Play-Videos-C-NET-WinForm.aspx[^]http://www.dreamincode.net/forums/topic/111181-adding-video-to-an-application/[^]
30 Oct 2012 by Thomas Daniels
You don't need to use DirectX. You can add a Windows Media Player control[^].If you do that, you don't need to add a reference to the DirectX library.
1 Nov 2012 by Sharath2790
http://www.dreamincode.net/forums/topic/111181-adding-video-to-an-application/[^]
25 Feb 2014 by Member 10334528
Hi, I am currently working on a C# Windows Forms Application within Visual Studio Express 2012.I have a video, which has it's parent set to a Panel the exact same size as the video (Basically a container for the video). What I am after is the video to have a click event handler so a certain...
25 Feb 2014 by Krunal Rohit
I would suggest you to look at ContextMenuStrip[^], which represents a shortcut menu for the any control associated with it.And how to do that, that is pretty simple. You should play around with the property of the control after adding context menu in your application. But still, look at...
29 Jun 2015 by joshi akhilesh
adding a clickable hotspot inside a video on a perticular time ?Any one have any idea about this plz help me i need this or share some link
13 Apr 2015 by Member 11603622
I exported edited videos from imovie to put on a website, and for some reason none will play- they continuously freeze or don't start at all.The video itself is 20,681 KB, and is probably the smallest video file I plan to use. The code is pretty simple, if there is an alternative that works...
13 Apr 2015 by Sergey Alexandrovich Kryukov
Please see my comment to the question, this is what you want to consider. Also please review the issues of video compatibility with HTML video element in this article: http://en.wikipedia.org/wiki/HTML5_video#Supported_video_formats.Also note that the file name pattern like *.mp4 tells next...
19 Dec 2016 by S.A.K
Hi,Is there any way to edit/convert/export video with watermark image without using any third party component and software in c# or wpf.If anyone know the information regarding this kindly please let me know.Thanks in advance,S.KWhat I have tried:I did using ffmpeg...
19 Dec 2016 by KarstenK
It sounds very easy, but you must change every frame of your video to show a watermark. The article Creating a Watermarked Photograph with GDI+ for .NET explains the process for a photo.So you need to decode, than add the watermark and then recode your video. Quite a lot of work not only...
2 Aug 2011 by jyoti87
Our project deals with searching for a video file and playing it from the given date and given time in minutes and seconds.The amount of audiovisual information available in digital format has grown exponentially in recent years. Gigabytes of new images, audio and video clips are generated...
2 Aug 2011 by TheyCallMeMrJames
You don't have a lot of options here.Much like YouTube pre-processes the video to allow for fast time-seeking, you're going to have to 'index' the frames of the video first.I can guarantee that the system compresses video, so each of your frame sizes is going to be different. That means...
22 Aug 2011 by jyoti87
Is it possible to clip particular video by entering time?For example:-If video of 1 hour starting from 1:00-2:00 clock and if we enter time 1:10 T0 1:45 is it possible to clip video in that time and to play? If yes then how is it possible?Please tell. If algorithm is there please provide...
22 Aug 2011 by Simon Bang Terkildsen
Yes it is possible, but it's not as simple as applying an algorithm. I've use FFmpeg[^] in the past to play around with videos, you might wan to give it a look. There are probably some alternatives, but I don't know any other library than FFmpeg.
22 Aug 2011 by TheyCallMeMrJames
You have to keep in mind that video from surveillance will be compressed, so each frame is a different size.Without first indexing the video footage, their is no way to extract video based on timecode. You must first iterate over the video, frame by frame, so that you have an indexed view...
13 Aug 2012 by Jon Larborn
A command promt web server that starts an application or opens a file given in as an argument in an HTTP address. Could potentially be used to show media on screen using QR-codes.
9 Jan 2015 by Qdot543
I've been googling this for a week and I haven't been able to find an answer or a place to start. The resources that exist on the topic are about streaming video files from a webserver or streaming from the androids camera back to a computer. I'm interested in neither of these cases.I need...
21 Jan 2015 by Anoop M Jack
If you are using an ipweb camera you can stream and view the vedio in android using webview..Click me
23 Nov 2014 by Shaik Hayath
I have an Activity which calls a camera service which starts recording in background using the front camera. The requirement is to show the same video being recorded in a surface view. This is my activitypublic class StartTestActivity extends Activity implements SurfaceHolder.Callback...
28 Jun 2010 by burniejm
My company currently has an iPhone app that integrates w/ our CMS (used mainly by news stations) to display stories, videos, etc. The CMS is running on a Windows 2003 box, which is where I'm doing the video encoding.The iPhone video looks and sounds great encoded using h264 and aac. ...
27 Jan 2017 by mianimraniqbal
i am developing an MVC 4 web application and i need to support playing video files of various formats. i.e. User can upload videos files of multiple formats and website shall support those formats. I am having difficulty play .mov files. I have seen the following links already but they dont work...
27 Jan 2017 by Sebastiaan Meijerink
The post you're referring to is from 2013.At the speed the web is evolving that is ages ago.You should need a plugin for that.You can use the video tag.HTML5 Video[^]
9 Aug 2011 by helldevil1912
I'm building a streaming video server. Now I must transfer sequence data (data packets) of a video file to client. But I don't know timer tick to transfer a data packet. If i transfer too fast, client don't have enough time to decode and display.I don't know whether it depend on Bitrate or other...
10 Nov 2011 by Addy Tas
I'm not familiar with streaming video but instead of finding a calculated bit rate i'd first check if i would get buffer notifications of the client. E.g. Buffer 80% like serial ports can provide. Calculating the play rate may lead to glitches in your video presentation depending on the...
10 Oct 2012 by ShashankUpadhyay
My website is in .net 3.5. I want video player on my website that is capable of running all format of videos such as(.avi, .mp4, .3gp and many more). Can anyone suggest me any video player name or its code to integrate with my website.
10 Oct 2012 by bbirajdar
There is no universal video player for the web browsers which can play 'all' video formats. Even if it is available, I am not sure they would have provided the code for it .You need to convert all the videos to a common format such as FLV and then play it in the webpage. This is what Youtube...
27 Oct 2014 by FaizanMubasher
I have converted my Video file into stream and ran the video in browser using HTML5 Video tag.Here is code behind file code: StreamVideo.aspx.vbImports System.IOPublic Class StreamVideo Inherits System.Web.UI.PageProtected Sub Page_Load(ByVal sender As Object, ByVal e As...
20 Oct 2014 by FaizanMubasher
Hi,How to Stream video files in ASP.NET WebForms.I have .flv video in my resources directory and I want to stream it on WebForm.Any step by step tutorial, link or article will be helpful.Note that I do not want video downloadable at client side.Thank You!
2 May 2011 by J imran
Hi Friends,I have an .mkv file that I want to get clips and merge the clips. I have time values that I will use for clipping. Please suggest where to start for extracting audio video clips ( of given times) and merge them using c#.Thanks for the help.Regards
15 May 2015 by kubibay
Hi,I want to cors upload my video file from browser to Amazon S3 storage via asp.net project. But I keep getting this error:the request signature we calculated does not match the signature you providedHere is the javascript code I have;function uploadFile() { var access_key =...
30 Aug 2017 by Ravimal Bandara
An implementation of Bag-Of-Feature descriptor based on SIFT features using OpenCV and C++ for content based image retrieval applications.
19 Apr 2014 by Coding Learner
I would like to ask if there are best practices for choosing audio/video formats for websites to get the widest platform and browser support given limited resources especially in development time (for HTML coding, file format conversion, etc.).I have Googled the answer without success (for...
19 Apr 2014 by karthik Udhayakumar
Hello Coder,pls refer thesehttps://developer.mozilla.org/en-US/docs/HTML/Supported_media_formats[^]Hope this helps:)
5 Feb 2012 by Madzmar25
Hello guys i just want to ask if anyone of you know any video player that supports almost anything? i mean i want a video player that can support any embedded code such as tag or or or even the links from youtube or any source? i been searching the web and all they...
5 Feb 2012 by Christian Graus
You can embed a youtube video in your site, so you could easily create a control that shows a local player, or shows HTML to play a youtube one.
27 Mar 2015 by avlasx
Hi all,I'm tring to develop a SW that extracts single bmp frames from a video file encoded with 3ivx codec. I must use vfw interfaces...First of all I'have installed 3ivx decoder (3ivx_MPEG-4_504) and check that with "mediaplayer classic" video is played correctly. Im'm working on win8.1...
28 Oct 2018 by Manjunath Matathamana
Developer Tutorial on Building a Video Streaming App using OpenTok and React Native
10 Jan 2012 by Member 8375374
Hello!I'm trying to create a separate C# project. I have a requirement that I´m hoping to get some help with.What I am simply trying to do is: Start a movie (. Avi,. Divx or similar format) in full-screen mode while still having a little chat box on the left bottom corner.To get the...
10 Jan 2012 by fjdiewornncalwe
This article shows how to do the opposite, but perhaps you can use some of the methods in there to help you with what you want to do. It is old, but the logic is likely still the same. Transparent Desktop Video[^]
15 Dec 2011 by shynet
Stream a live camera video stream or single images between applications using the TCP protocol.
7 Apr 2012 by neverworks
I'm very new to C#. I've looked at Aforge.net but their examples and documentation are for more than my novice understanding.I want to detect motion from a command line application without the need of extra forms. I would like to grab whatever the default video source is and monitor it for...
7 Apr 2012 by Sergey Alexandrovich Kryukov
It never works. I mean, if the documentation and even the source code of AForge.NET are fairly clear, even though the functionality of the library is quite advanced; in many parts of it is extremely advanced. If understanding of the documentation and interfaces is difficult for someone, frame...
10 Nov 2013 by ibradleyallen
hiim trying to work with video and get access to the streaming data such that i could put a timestamp on about 10 sec of videoi have access to a cheap usb webcam, and at least one iP based camera, i think it streams jpeg and mpegthe goal is to have video coming across and being...
27 Sep 2010 by ASysSolvers
I am having some issue in my code which is showing video using vlc interfacing and at the same time I'm showing an overlay on the top of video full screen using Form transparency capability. But this is fine in my Windows 7 PC and it is getting flickering in XP machine.If you know the...
27 Sep 2010 by keyur soni
Use flash video file and play it into flash player.
28 Sep 2010 by anshudutta
Is your video overlayed on your form. You can use the following code and trypublic static void SetDoubleBuffered(System.Windows.Forms.Form c) { if (System.Windows.Forms.SystemInformation.TerminalServerSession) return; ...
21 Jan 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Here we answer specific questions which members face during programming. We can't work on the whole source code. You need to do that yourself.If you face any difficulty while coding, feel free to come back here and ask another question with specific issue describing the scenario. ...
23 Jun 2010 by Big Al 07
My appolgies, I have tried Googling & Bling this for the past few days and have come across so many ideas many of which may be outdated. It is doing my head in! Before I set off on one of them - MediaDet, AForge etc I would appreciate a sounding of what is the current easiest WPF way to...
23 Jun 2010 by TheyCallMeMrJames
I haven't actually built WPF apps on 4.0 that deal with media but I did in the 3.5 bits. Actually, I worked in this space for a year and a half, and unfortunately, you're not going to be able to do it without creating your own graph (and a bunch of back-and-forth with DirectShow) or using a...
12 Aug 2011 by aissaouikhaldoun
It does not work for mp4 or mov files !!!
8 Sep 2010 by dthom
I am trying to open a video file in binary format and grab the correct pixels to represent an object. I am a little confused. I can open the file correctly and grab the information but I don't know what i am looking at.I am trying to avoid using some foreign libray already designed. I just...
9 Sep 2010 by Dave Calkins
There are many video file formats and within a file format a codec is usually used to encode/decode the actual pixels and such. For example, .avi files. There's the .avi file format which if you understand that would allow you to read the file, but to actually get pixels out of the video you'd...
15 Mar 2021 by tugrulGtx
Header-only C++ tool that supports basic array-like usage pattern and uses multiple graphics cards in system as storage with LRU caching
9 Jan 2011 by venkateshguptha
Hi,We are using 3ivx in our application for transcoding the video files to MPEG-2TS Format. I want to know the transocded video filesize before transcode starts. Is there any method to find it.Thanks in advance.K. Venkatesh.
9 Jan 2011 by OriginalGriff
You would probably be better off talking direct to 3ivx[^] - they will know a lot more about it than anyone here!
9 Jan 2011 by E.F. Nijboer
To calculate the uncompressed size, have a look at this wiki page about it:http://en.wikipedia.org/wiki/Digital_video[^]Good luck!
26 Sep 2012 by Ajesh Kumar.T.T
Hi,I am using H.264 codec to create MP4 file from images. IMFSinkWriter is used for encoding purpose.While encoding, I need to control the quality of the encoded video by adjusting the average bit rate parameter value. But I could not get any equation for calculating this.I tried several...
21 Nov 2018 by Fiínek Cahů
Hi, does anyone have a working code for capture and save video from an integrated camera via Aforge? Who could share it? Thank you What I have tried: I tried directx.capture Public Class Form1 Public cap As Capture Public f As Filters Public Sub Form1_Load(sender As Object, e...
21 Nov 2018 by RickZeeland
Maybe you can use the VideoCaptureDevice Class, see example: VideoCaptureDevice Class[^]
20 May 2017 by Dave Kreskowiak
Way off topic for this site. Contact the author/publisher of the book with what you want to do.
22 Mar 2022 by Member 14992876
How to save a movie in sql serber using blazor c #. I have various ideas but I don't think they are good. What I have tried: The first idea is to make that video byte []. What if I have a ... 1 tb video? The second was to turn that video into...
22 Mar 2022 by M Imran Ansari
In addition to the comments, Making a Movie Library is a good idea, where you will place your movies. For record keeping and retrieval in quick way, you can use SQL to create Movie Library Data Bank. Where you can store movie library...
22 Mar 2022 by Patrice T
Quote: How to save a movie in sql serber using blazor c #. I have various ideas but I don't think they are good. In my opinion, the only sensible answer is to use the file system to store possibly huge files, and store only the filename and a...
20 Dec 2012 by GGev
Hi guys,Read the last EDIT, please.I have a page in which I should display some media data.For this I'm using html tag, like this:
19 Dec 2012 by Member 10510822
This link can help you.HO TO ADD FLASH OR SWF FILE IN MY ASP.NET WEB SITE[^]thankRashed::Bangladesh
20 Dec 2012 by GGev
I've just removed all data for Response Header in http handler and now it works.
16 May 2017 by OriginalGriff
When you post a question in the lounge, you have to expect not to get a solution: it does say at the top that it's not a place for such questions. And you were told what to do: The Lounge[^] As far as I can see, you haven;t tried to post any replies to it, and there is nothing stopping you from...
16 May 2017 by Richard MacCutchan
People here answer questions in there own time and based on their own knowledge and experience. It is quite possible that no one knows what product you are talking about. And since it was posted in the wrong place in the first instance you will just get nonsense replies. Open a new question here...
25 May 2016 by Johannes Bildstein
A tutorial about the Canon SDK to remotely control DSLR cameras. From taking photos to using the LiveView.
26 Feb 2010 by shaz.mrd
This File Has Been Recoded In my Dvr I can Play it on my Dvr But cannot open it on my comp. Plz Help http://www.4shared.com/account/file/230172683/f2b4ef4b/DVR016.html[^]
28 Feb 2010 by DaveAuld
You will need to find out what format your DVR uses.Once you know this, you can obtain a suitable codec/player for your PC.Google is your friend go search there.
23 Jan 2013 by alex_and_ra
I want to write a Windows Store App that can capture video (without any sound) and take pictures. Imagine a digital camera: you can preview the picture on the screen of your device before pushing the button which takes the pic.The problem I'm facing now is the fact that the...
27 Sep 2013 by Sachin Athrady
i am using the c# wrapper for libvlc wich displays the media files in the player as required. I need to catch any error that occurs while playing the media file(vlc related error).
27 Sep 2013 by Sergey Alexandrovich Kryukov
First of all, you need to catch all exception which may be thrown inside the main event loop of the UI thread.First, you need to get Application.ThreadException triggered so don't forget this (in Main()):Application.SetUnhandledExceptionMode( ...
24 Oct 2012 by Member 9244437
I have a binary file containing 0s and 1s. It is 1.8 gb in size. I suspect it is a video file. I don't know how it got stored as 0s and 1s. How can I try some ways of finding out if it is a video file? currently it has extension of txt. It is in a linux directory. Can changing extension help?
24 Oct 2012 by CPallini
If it is actually a video file then, yes, the 'change-extension' trick could work.
25 Apr 2013 by Mohammad Mahdi Nejati
our multi media professor gave us a mkv file and told us that it have a region code on its first byte of the file ! we should change this region code to 0 so that we could play it on any region ! the problem is when i change the first byte of the file get corrupted ! i think that te region code...
25 Apr 2013 by OriginalGriff
it is entirely possible that what you are writing is causing the problem: you aren't writing a zero byte, you are writing a '0' character which is a very different value.Try this instead:file
25 Apr 2013 by Mohammad Mahdi Nejati
i agree with you ! but that what our professor told us ! so the question is if it not in the first byte where it is? by the way thank;)
16 May 2013 by Ag_Sharad
I was on a flash video player project where i got stuck. Everybody must have seen videos in youtube. There there's an option for changing quality setting from hd to 170p. I searched all the Video, stage,stagevideo and other classes in flash as3 but i could only get an option to set low, mediun,...
17 Oct 2011 by Kozlov_Sergey
I check AM_SEEKING_CanSeekAbsolute capability with following code:bool CVideoPlayer::CanMove(void){ HRESULT hr = S_OK; DWORD dwCaps = AM_SEEKING_CanSeekAbsolute; if ( !m_cpMediaSeeking ) { return false; } hr = m_cpMediaSeeking->CheckCapabilities(&dwCaps);#define...
2 Dec 2013 by Member 9500954
Hey,i was wondering if there is a way to cipher a path of a video or iframe src?So the user sees the video or content of the iframe but when turning to source code he sees not the physical path to the content.Is there a way to do that?Thanks!cheers,arthur
10 Oct 2010 by Sandeep Mewara
Why to post the same thing again[^]?Follow at one place. People will respond. Have patience. and Try!
15 Jun 2013 by Hitesh Rohilla
I want to combine two videosvideo details-------------1. Movie1.mp4 Video duration 62 seconds2. Movie2.mp4 Video duration 8 secondsI want to combine [overlay] these two videos with ffmpeg but what i want is that Movie2.mp4 repeat itself again and again and Movie1.mp4 runs as...
30 Oct 2012 by Pascal Ganaye
Very simple program for in-situ video compression.
12 Nov 2013 by ramesh penta
This is the mark-up part of an aspx page: 0.5kbps 1.0kbps 1.5kbps 2.0kbps ...