15,898,374 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Sachin Athrady (Top 23 by date)
Sachin Athrady
21-Sep-13 8:22am
View
same result bro
Sachin Athrady
21-Sep-13 8:18am
View
thx fr ur reply.. But tht gives some error ... i ve tried this ( "D:\\myfolder\\game.avi");
but still no change :(
Sachin Athrady
20-Sep-13 0:14am
View
Thanks for your reply.. IT almost worked for me.. But when it reaches media ended state if I do vlcControl.stiop() my form gets hung... Annoying..
Sachin Athrady
18-Sep-13 0:41am
View
thx for ur reply sir.. I am new here.. I have downloaded those dll files and added them to reference.. then wrote this code.. Nothing else i did... Please guide me here
Sachin Athrady
17-Sep-13 5:21am
View
i am using the windows media player control from com components
Sachin Athrady
17-Sep-13 3:19am
View
no sir.. i was just replying SA's comment...
Sachin Athrady
17-Sep-13 2:38am
View
no sir... i am creating new instace for each portion and also each portion is playing in different threads
Sachin Athrady
17-Sep-13 2:31am
View
no sir... i am creating new instace for each portion and also each portion is playing in different threads
Sachin Athrady
17-Sep-13 2:30am
View
yea sir... but atleast it should play usual formats like mov,avi,mkv etc..
Sachin Athrady
16-Sep-13 3:11am
View
one more question bro... Is der any better way of playing media files instead of using vlc or windows media player in my windows form application?
Sachin Athrady
16-Sep-13 3:05am
View
i am getting the exception at "vlc.Media = media;"
Sachin Athrady
16-Sep-13 2:39am
View
it returns an error "An unhandled exception of type 'System.NullReferenceException' occurred in Vlc.DotNet.Forms.dll
Additional information: Object reference not set to an instance of an object.
Sachin Athrady
16-Sep-13 2:38am
View
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Vlc.DotNet.Core.Medias;
using Vlc.DotNet.Forms;
using Vlc.DotNet.Core.Interops;
namespace videoAudio
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
VlcControl vlc = new VlcControl();
LocationMedia media = new LocationMedia(@"D:\Parafait Home\Signage\Dhoni.mp4");
panel1.Controls.Add(vlc);
vlc.Media = media;
vlc.Play();
}
}
}
Sachin Athrady
16-Sep-13 2:28am
View
SA says to use libvlc.net and the link which u gave has some dlls other than libvlc.net... Whats the difference?
Sachin Athrady
16-Sep-13 2:18am
View
sorry for asking like a noob...
Sachin Athrady
16-Sep-13 2:09am
View
yea i went der before but didnt understand it.. Can u please tell me step by step what i have to do... Please...
Sachin Athrady
16-Sep-13 2:06am
View
steps... or pointers(tips)
Sachin Athrady
13-Sep-13 7:15am
View
i dont understand it.. how can i use it in my as a player like i was using wmp...
Sachin Athrady
13-Sep-13 6:39am
View
just install it and add reference?
Sachin Athrady
13-Sep-13 6:20am
View
thx for ur reply.. thts just an audio player r8? i want a player similar to wmp but not wmp.. hope u understand it...
Sachin Athrady
12-Sep-13 8:23am
View
yea.. Exactly i played only ticker this time... commented whole video thread.. now only ticker is playing... and now i open up a video in windows media player outside the application.. Same problem still exists.. Now this is hard bro....
Sachin Athrady
12-Sep-13 7:48am
View
as i am new to this.. i dont knw how to ident my code here..
Sachin Athrady
12-Sep-13 7:47am
View
Sir.. this is my new approach... Calling each player as separate ui thread.. but it still doesnt do it for me... same problem.. here each player is in form1(video) and form2(ticker) respectively.. code is same..
namespace replicaThread
{
public partial class Form3 : Form
{
public Form3()
{
InitializeComponent();
Thread thread1 = new Thread(() =>
{
Form2 f2 = new Form2();
Application.Run(f2);
});
thread1.ApartmentState = ApartmentState.STA;
thread1.Start();
Thread thread = new Thread(() =>
{
Form1 f1 = new Form1();
Application.Run(f1);
});
thread.ApartmentState = ApartmentState.STA;
thread.Start();
}
}
}
Show More