Click here to Skip to main content
15,894,343 members
Everything / Media

Media

media

Great Reads

by Steve Hoult
Creation of an Audio analysis framework to enable developers with little to no understanding of audio analysis to develop audio-driven games
by Maxim Kartavenkov
This is a guide on how to configure your application, service or driver to handle appearing the new devices or device removal avoiding reboot request.
by Rion Williams
Common approaches to responsive design
by Mukit, Ataul
Why sometimes AVI files captured through video camera recording cannot be opened when the camera loses power (similar case for downloaded AVI when internet goes off) and how to solve it

Latest Articles

by Maxim Kartavenkov
This is a guide on how to configure your application, service or driver to handle appearing the new devices or device removal avoiding reboot request.
by Steve Hoult
Creation of an Audio analysis framework to enable developers with little to no understanding of audio analysis to develop audio-driven games
by Anthony Fountaine
A quick and easy way to extract multiple video clips from GoPro video footage
by Ravimal Bandara
An implementation of Bag-Of-Feature descriptor based on SIFT features using OpenCV and C++ for content based image retrieval applications.

All Articles

Sort by Updated

Media 

23 Sep 2015 by a.anvesh
I will work on FFMPEG , I want a face replacement by my image in a video. For this subject I searched for something which I am describing below. Please let me know if I am wrong, and suggest a more proper procedure for the task.1) I can extract all images from a video frame by frame.2)...
20 Feb 2019 by abdul subhan mohammed
Dear All, I have one windows application where I want to play audio/videos files. First of all, I have added the reference to the WindowsMediaPlay in Com tab in my project solution. I have then added this as the tool by right-clicking in the menu tool and selected the WindowsMediaPlayer. What...
27 Jan 2013 by Abed AlSayed
Hi, how to make like media player visualizations?, but not in a media element in image or rectangle or any thing. I want to make a video/music player with a visualizations on the bottom of the program(like zune). Or if someone gave me the way to get the values that generate the visualizations....
5 Apr 2011 by Abhinav S
You can create one in Silverlight too - as shown here[^].
21 Nov 2011 by Abhinav S
Try outMP3 Player Server Control[^]http://ultidevwebbasedmp3pl.codeplex.com/[^]http://www.asp.net/community/control-gallery/Item.aspx?i=2015[^]http://www.aspnetmedia.com/[^]http://www.wonderhowto.com/how-to-play-mp3s-asp-net-web-applications-259021/[^]
21 Sep 2012 by Abhishek Nandgaonkar
My application has two parts; a server and multiple clients. This project has its implementation both on Windows(Swing) and Android.The Server sends a song which a client receives and starts playing; more like we watch videos on YouTube; streaming.Sending data in chunks and receiving the...
6 Dec 2013 by AdventureDriver
The goal is to clean-up double entries in Windows Media Player playlists because the player doesn’t do that itself. For that, a WPL class has been written, and a program that uses that class.
31 Oct 2010 by After2050
This article demonstrates how to use images in web and the things you have to take care on using them.
17 Dec 2014 by Afzaal Ahmad Zeeshan
Since the IsFullWindow property has to put all other controls to the background, there is no way for you to do this. But yes, there is a way to do this, because many other Media players such as VLC media player makes a use of such technique, to show the subtitles on screen in the Full Window...
25 Aug 2015 by Afzaal Ahmad Zeeshan
In this article I will explain Windows.Media.Capture namespace's MediaCapture element and how it can be used in Windows Runtime to create applications that make use of camera, for capturing photos and videos. Plus, the article shows how to capture the list of photos or videos that are recorded for p
18 Sep 2015 by Afzaal Ahmad Zeeshan
We do not keep a hold of these costs and subscriptions that hosting providers will support. Since the forums are for programming related questions and not about subscriptions and so on and so forth. But as an idea I can say that it would cost you a lot, a fortune cookie! Unlimited HDD space...
18 Jun 2013 by akosisugar
Hello experts! im creating an advanced media player in vb.net. After exectuing the code from the AxWindowsMediaPlayer1_PlayStateChange event I want to autoplay the new selected item inside the listbox. Just like windows media player.Can you help me with my code please!Private Sub...
27 Jan 2013 by Alan N
The lack of up to date documentation makes programming with these VLC plugins a voyage of discovery. I have VLC version '2.0.5 Twoflower' installed and certainly with this one, the useful looking events prefixed with MediaPlayer, e.g. MediaPlayerPositionChanged, never get raised by the...
3 Feb 2013 by Alan N
Buffering can be increased by specifying options in the play list. Although you can test various sizes in the plugin I find it easier and quicker in the VLC player. Just check "Show more options" in the OpenMedia dialog, and adjust the cache value UpDown control.Private Sub...
30 Jan 2014 by AlanSA
What I need to do is to build an application that can playback mediafiles using the Windows media player control (easy part). Is it possible to have events embedded inside the media file so that I can display certain text to the user at certain points in the video without having to track the...
20 Dec 2013 by alex.lee.dd
Hi, We are on SharePoint 2013 and we are using the default SharePoint 2013 Asset Library to upload videos. We are using purely out of the box sharepoint 2013 with no customization at all.When we click on any videos, It will lead us to the videoPlayerPage.aspx and plays the video that we...
25 May 2015 by ambikaksm
Hi,I am beginner for media foundation.I'm using media session topology technique to show preview from USB Camera device.I built the topology to show preview and capture video,both are working successfullyI am facing problem in saving image from image stream(still pin). I'm trying...
16 Jul 2018 by AminMhmdi
i have some mp3 collection and i want to able play it on CD/DVD i write audio player using c# but i dont know how to protect my audio file is there any way to encrypt audio files ?? what is best way to do it to protect this audio file from illegal use? What I have tried: i play sound using...
10 Oct 2010 by Amitux
Hi,I need to get codec or format (e.g. H.264) of movie(.MOV, .3GP) files at runtime in .net.Can anyone help me to get code for it?Many ThanksAmit
2 Apr 2015 by anandblitz
Check the below link and see if it helps.https://www.leadtools.com/blog/multimedia-imaging/how-to-combine-video-audio-separate-sources/
27 Jan 2013 by Andrew Smith
how do i detect the current position in vlc video-playback in vb.net?Basically as the clip is playing, I want in a label for it to say "02:58/21:35" relating to the current clip being played.So I'll need to somehow figure out how to detect current position and end position. Does anyone...
27 Jan 2013 by Andrew Smith
How do I make sure VLC buffers to 5% before playing in VB.NET?So far I can play clips one after the other. But what I'd like to do, is make sure before begins playing each time 5% of the video from the point in video so far is added to buffer. So as to not randomly pause if download speed...
27 Jan 2013 by Andrew Smith
Basically what I'm trying to accomplish is. I want to be able to type a particular time into an input box and for the vlc media player within VB.NET to play from that point, but I don't know how.Code so far: Public Class Form1 Dim Paused As Boolean = False Dim Started...
28 Jan 2013 by Andrew Smith
Is there any method of showing what percentage of a VLC player clip in VB.NET has buffered in a label?For further clarification:What I'm wanting, is to show what percentage of a clip has been buffered into a label. I am viewing this clip in VLC within VB.NETCode so far below: ...
3 Feb 2013 by Andrew Smith
How do I force VLC in VB.NET to buffer before playing? Any help would be amazingBasically videos play well but at times videos will stop randomly and I don't know how to allow for proper buffering which would help tremendously.Could someone please tell me howto do thisCode so...
23 Mar 2013 by André Kraak
You could try using the HTML5 audio[^] tag with a fallback option for browser that do not support it.Here are some resources that explain the fallback option:Using HTML5 audio and video[^]Learn HTML5 in 5 Minutes![^]Working with Media in HTML5[^]
28 Nov 2018 by Anthony Fountaine
A quick and easy way to extract multiple video clips from GoPro video footage
22 Apr 2011 by ashishdalvi123@gmail.com
I want to create a mult-point video conferencing project. I have done the peer to peer video conferencing using RTP protocol and using H263 codec. I am having difficulty making my project multi-point.Any help is greatly appreciated.
11 Oct 2013 by ASP.NET Community
"Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of .NET-based media experiences and rich interactive
11 Oct 2013 by ASP.NET Community
Introduction The CSS media type “print” allows authors to specify a stylesheet that is only used when printing. This can be very useful and
8 Jan 2013 by avikGhosh87
I want to build application in windows form using c#,where in from load a video will running and after completing the video, one label is come(just after completing the video no event will generate) in the center of the form. I am using media player component.If possible not any button of the...
22 Oct 2014 by BillWoodruff
Using Google to search for C#/.Net error messages really does work: look at the top two results for these searches: [^], [^].Very specific issues with specialized, widely-used, 3rd. party .NET tools/libraries are often best asked/answered on the company/open-source-group's Forum, if they...
28 Jun 2023 by BlueVLC
Screenshot Error:Error:Object reference not set to an instance of an object.Error is on the line: AxVLCPlugin21.playlist.items.clear()When I try to clear the vlc playlist within Visual basic.net I get the above...
12 Mar 2014 by Boudi AlSayed
Hello there! I'm making a Video player.. main window contains 2 MediaElements, one of them is full size ( which supposed to show videos in its real quality ), and the other is so small ( 60x60 ) which is supposed to show small preview of the same video and appears as a balloon at the seekbar......
26 Jul 2011 by Brady Kelly
I've been commissioned to implement an application for the design (layout and content) of computer based training courses, the delivery of these courses to learners, and the conducting of exams on these courses. Administrators must have the ability to define their own workflow and content for...
8 Sep 2010 by brochpirate
An iPhone media player designed specifically for listening to audiobooks
7 Feb 2013 by Bun Leap_kh
I have a problem with stream audio with 'video/x-ms-asf' content-type. Here is the testing URL: http://khiptv.org:44412/RC_FM95[^].Please help me how to play it or provide me some sample code.Thanks!
4 Mar 2013 by Bun Leap_kh
I got the answer.http://stackoverflow.com/questions/14746775/how-to-stream-audio-with-video-x-ms-asf-content-type-in-android[^]
11 Nov 2013 by chinahyin
nRet = av_image_alloc(pSrcBuff,nLines,nSrcWidth,nSrcHeight,AV_PIX_FMT_YUV420P,16) ; nDstBuffLen = av_image_alloc(pDstBuff,nDstLines,nSrcWidth,nSrcHeight,AV_PIX_FMT_RGB24,1) ; if (nDstBuffLen
22 May 2021 by Chinedum Ezeozue
I'm trying to use my sound from the raw file that whenever I click my search button, it will make a little sound. But it returns the following error: cannot resolve method create in MediaPlayer Please how do I fix it? My HomeActivity...
18 Aug 2021 by Chinedum Ezeozue
I've just finished implementing my app's weather icons, now I'm trying to play weather sounds on the app based on the icons the app is displaying using MediaPlayer. After doing long hours of thorough research, I found out to my shock that no one...
15 Nov 2015 by ChrisCreateBoss
I'm working in an audio player based on C#The player component I use is made with the CSCore open-source library.I have a circular slider control which has a ProgressValue property based in an Integer. When I play a song, the slider's max value is set to the song's totalSeconds length,...
21 Apr 2010 by Christian Graus
THe media player object can be given a URL to a stream. In fact, the property you set to give it a file path is the URL property, I believe.
27 Apr 2010 by Christian Graus
I don't believe there is any additional codec that could be used, an mp3 is an mp3, it uses the mp3 codec.
7 Aug 2010 by Christian Graus
The media player component is called that because it is a player. You can use directX to record video, if you were to search the web, or even this site, you'd find plenty of examples.
13 Jun 2011 by Christian Graus
This will work fine, so I assume you're not asking a question. I have no idea what you're trying to do by posting this.
13 Aug 2012 by Christian Graus
As was said, you need to set up IIS to server mp3s. You also need to make sure your files are inside the web application folders, as IIS cannot see above them.
8 Jan 2013 by Christian Graus
You can make the player not show any UI, that's a setting. I believe there's an event when the media ends, too, so just handle that event to show your label.
17 Sep 2014 by CliffRat
I have been searching and scouring the web for help with setting audio properties from code. I have several systems in each of several locations that are regularly used to capture spoken audio through the microphone. To insure that the captured audio is sufficiently clear I need to be able to...
26 Sep 2014 by CliffRat
Can anyone show how the check for the value of Microphone Boost in Win 7 using C#? I have been looking at the Core Audio API and a wrapper DLL that was written to cover about half of it (MMDevice and EndpointVolume) and haven't been able to see the setting there. I think I need to figure out...
18 Jul 2015 by Coder1999
How can I play an mp3 song straight after the previous mp3 song has finished? I've checked everywhere but they aren't detailed enough. I'm using WMPLib. How can I change this code so that I can play another song straight after the previous song has come to an end. #region Playing...
12 May 2010 by CPGUID123
I need to be able to play a .wmv video in a Windows Media Player component on a web page starting at a particular specified point in the video right away.I can embed the component and play the video. The problem is that even if I specify the location with the PARAM “currentPosition”, the...
1 Jun 2010 by CPGUID123
Hello,I get the following errors when I attempt video format conversions called from the local host:“An invalid media type was specified” for M4V to WMV conversions.“One or more arguments are invalid” for MP4 to WMV conversions.Here are the details of the problems:I’ve written a...
29 Mar 2011 by crocks256
Floplayer or just link direct to video stored on Youtube ;-)
12 Sep 2016 by Darren_vms
At api 24 it does MediaRecorder | Android Developers[^] not sure if that helps....You would have to stop and start and merge the files, here is an implementation of just that for android GitHub - lassana/continuous-audiorecorder: Implementation of the missing feature in Android SDK: audio...
20 Dec 2010 by Dave Kreskowiak
You're going to have to do a ton of research on the various formats you want to support, what codecs you're going to need, how to write codecs for the formats that don't have a public version already available, how those codecs work, how to build a graph that will decode those various formats,...
5 Jan 2013 by Dave Kreskowiak
I don't think you can play sounds from a service. At least, I've never heard of a single service ever playing a sound. That was always left up to a user-mode application that talks to the service and receives notifications from it, via named pipes or some other communication method.
29 Apr 2013 by Dave Kreskowiak
There is no VLC plugin in the toolbox, so you're using a 3rd party component.The error is message makes it pretty obvious.Either AxVLCPlugin21, AxVLCPlugin21.playlist, or AxVLCPlugin21.playlist.items is returning Nothing, of null is C#. You can't call methods or get/set property values...
2 May 2013 by Dave Kreskowiak
That is an internal problem with the VLC component you're using, not with your VB.NET code.Contact the manufacturer of the component you're using for support on this.
30 Jan 2014 by Dave Kreskowiak
You do not "embed events" since an event is nothing more than code that is kicked off upon receipt of some message to trigger it.You would be adding data to signal these "events" to happen in the metadata for the video and providing a custom video player to read that metadata and kick off...
16 Jul 2018 by Dave Kreskowiak
You don't have a simple method to do that. In order to use the built in player, the data has to be unencrypted. Now, that's not to say it's impossible. You just have to write an audio filter driver[^] (in C) that decrypts the stream on-the-fly. The filter driver would sit in the filter graph...
1 Jan 2012 by DaveAuld
Hi Marcelo,I was reading recently the proposed spec modifications for HTML5, recording capability is being considered, it is currently support in chrome only I believe (thats how google implement the speech search capability, you could see if the Speech Input API helps any...
15 Nov 2012 by Dhaval Bhattji
that is a trick in OS level once you have to right click on file type then chose open with and set you prog. as default for all same kind file,, i don't know at C# level we have any kind of functionality like this
13 Aug 2012 by dhavalmore13986
make one folder in your web project("video")store all videos in that folder("video"),after that play video on local machineif video play than publish your website and check weather your video playing or notI thought your video not getting perfect path when you publishinsert one label...
8 Nov 2010 by dolhaig
How to Resume the User's music after we played a video or audio from our Silverlight/XNA WP7 Application.
25 Aug 2016 by Donny Rebecca
This code is from Modenacam FMS....Everything is working except the chat.When the performer from the cam site logged in it gives this message at the server:onConnectUser is ACEPTEDonConnect, performerId: 16, pasword: 645062a5e513f1cd2e1a8d4e64789b4ccd05e795f51a9e3d4f72c4cc61337a87,...
11 Jul 2012 by druscelli
what's the difference between DXVA and Media foundation?
20 Nov 2011 by dustyfoot
how do i use the WPFMediakit in WPF to capture images from webcam, till now i have been able to read the webcam but i need to capture images through the device also....WPFMediakit is available in codeplex. any help will be appreciated
4 Apr 2010 by dxFrety
Hi!I want to write a plug-in for Windows Media Player 11 to capture screenshots but I find it is really difficult for me. Is there someonewho can give me any suggestion?------------(My English is so-so, there may be some mistakes in my question, I'm so sorry! If you want to help me...
3 Apr 2010 by dxFrety
To Rod Kemp:What I mean is Not Only using Wmp SDK But Also others like DirectX SDK andWindows Media Format SDK.
23 Jan 2014 by E.F. Nijboer
Try put [STAThread] above the main method of your application, like this:[STAThread]static void Main(string[] args) {...Good luck!
1 Dec 2013 by ExcelledProducts CEO
public class SoundMeter { private MediaRecorder mRecorder = null; public void start() { if (mRecorder == null) { mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); ...
10 Dec 2013 by farhad Najib
HiTry it:$ ffmpeg -s 352x288 -i foreman_cif_frame_0.yuv f.pngffmpeg version N-46810-g7750c48 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 21 2013 11:12:24 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: --enable-gpl --enable-libx264 --enable-libmp3lame ...
22 Jul 2012 by Farhan Ghumra
Hi, I have checked this[^] sample. It shows me TimeLineMarker API. Now when I press button "Add Marker" at that time markers are added and text block shows the markers, on which time it was added. Now I want to display those markers onto Slider control in the form of any sign like any shape or...
10 Nov 2010 by fjdiewornncalwe
Hey Mahadevan,If you are doing this as a personal learning project, I encourage you to go ahead and do it, but if you just want to have a tool to help you organize the files, then I would suggest using iTunes or Winamp. Most of the library tools available have that capability built in...
12 Apr 2013 by FlurryKnox
Hi thereI'm creating a media foundation sink to process an avi file. I'm trying to modify some source code that comes with the book: Developing Microsoft Media Foundation Applications by Anton Polinger.I'm am new to windows media foundation.I'm using a class CAviSink that inherits...
13 Apr 2013 by FlurryKnox
HiJust a quick high-level question.I have an application that wants to perform some image processing on a video file. What I need is to access each frame in the video and and process each frame in some way. This is possible with API's like OpenCV.However, I have some particular...
18 Apr 2011 by funniezatee
Hi everyone,recently I implemented a flash audio player on my site, and I have started receiving an error on facebook whenever I share the website link on facebook.Msg says: Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest...
20 Apr 2011 by funniezatee
I found the solution and posted it in my blog here.http://briancjc.blogspot.com/2011/04/facebook-gives-adobe-flash-player-error.html[^]
24 Feb 2012 by Ganesan Senthilvel
Nice reference is available to embed Windows Media Player in the application. Ref: http://msdn.microsoft.com/en-us/library/windows/desktop/dd562851%28v=vs.85%29.aspx[^]
15 Nov 2015 by George Jonsson
First of all you could probably get a better answer here https://github.com/filoe/cscore/issues[^]When it comes to your code snippet you can simplify like thisprivate void songProgress_ValueChanged(object sender, ValueChangedEventArgs e){ player.Position =...
13 Dec 2018 by Gerry Schmitz
Yes; you display the (new) .gif in the "ProgressChanged" handler (because it runs on the caller's UI thread versus DoWork which "is" the background worker thread). And you have to call "ReportProgress" (to invoke ProgressChanged) from DoWork; it doesn't run by itself.
20 Feb 2019 by Gerry Schmitz
You haven't proved that the file is not corrupt. Or the "window" is not "too small". Why don't you get a "working sample" working first (with "that" file)? There is no "quick answer" because you did not do some "quick testing". Embedding the Windows Media Player Control in a C Solution -...
3 Dec 2012 by gopal_nivas84
Hi,I configured my Silverlight site into https.Now I just passing mp4 URL into my video player as a source.(URL is in http) but it shows the media player but nothing is happened(for example my sample mp4 URL is look like http://www.example.com/1.mp4)but it is not playing.note:...
28 Jun 2010 by GPUToaster™
If you want to play other types, then you can use sharpffmpeg (http://code.google.com/p/ffmpeg-sharp/[^]).
26 Dec 2015 by Gregory Morse
Custom Media Sink for use with Media Foundation Topologies and WinRT/WRL MediaCapture
15 Aug 2021 by HackerRhino
Hello. I'm trying to handle events of media in my PHP webpage project using Laravel framework and I'm pretty new to it. I have an audio and an video, the audio will automatically play when the webpage is loaded and I want when the video starts,...
13 Jun 2011 by Henco Eloff
Good day.I have taken a look at the low level audio player on this site....I was wondering if there is any way of making it play mp3's or wma file formats. It should be done in C#Thank you sincerely
1 Dec 2010 by herbutant
Hi all,I have an application that is replaying video via dotNet4.0 MediaElement.Now we have a new requirement to display closed captions that are encoded in the video. Any pointers?ThanksHerb
16 Apr 2010 by imagiro
Ever had to enumerate the supported media files under Windows for example for the filter-string for GetOpenFileName?Here is a simple solution (using ATL for the registry access):void EnumSupportedMediaFileTypes(){ CRegKey key; CString s; DWORD dwLen; DWORD dw =...
18 Nov 2011 by Jackie00100
Hi every one i've been trying for hours now to make WMPLib and AxWMPLib work to be able to rip a wished song from a cd. Before all this is done the user can search in a larger music database such as youtube, local music library and USB/removeable devices. the last thing i need now is to make it...
13 May 2012 by Jackie00100
Hi i have 2 short questions:1.Im thinking of starting to work on a rockband 3 like game that can take input from real instruments as miditones. But i would really like to know if there is any way you can change midi to something more realistic like they do in Guitar pro with RSE(Realistic...
15 Nov 2012 by jaipe
Hi There, created an app embedding windows media player, I am able to play the file by opening the file through open file dialog. My request is how to open the audio file by default with the app i created like (right click on the audio file choose openwith and select the player(app created)) and...
6 Nov 2014 by Jakub Szymanowski
Article presents the problem of the detection and cancelation of impulse noise in acoustic signals using an Exponentially Weighted Least Squares (EWLS) and next step error prediction analysis.
17 Jul 2015 by JamesHadleyChase
Hi,I have a Windows form on which I have a Windows Media Player control placed on it, developed on a Win 7 64 bit machine targeted to any CPU. I can play video files on it seamlessly on my Win 7 machine. However, when the same application is tested on an Win XP SP3 machine, the video...
17 Apr 2014 by JAMESTEL
I am writing a control panel for a .NET application. Using the COM class I am able to run methods successfully, but I am unable to view a return value. I am expecting a value between -1 though 13.
18 Apr 2014 by JAMESTEL
The API shows to call "State" after the method is called. So this should be working code.$archivals = new COM('Unreal.ArchivalCtrl') or die ('Unable to Launch Archival Com');//Open up COM $archivals->ManualStart('localhost', 'test', true, false);//Start Recording$status =...
23 Jan 2014 by JayantaChatterjee
Hi, I searched on google and find code to play mp3 files, but the problems is when the files(.mp3) bit rate is more than 192kbps file not play.My code is(which i found on google) :-[DllImport("winmm.dll")] private static extern long mciSendString(string lpstrCommand,...