Click here to Skip to main content
14,421,863 members
   

C#

 
SuggestionRe: Which object's destructor is getting called in vector? Pin
Richard Deeming9-Dec-19 3:06
communityengineerRichard Deeming9-Dec-19 3:06 
AnswerRe: Which object's destructor is getting called in vector? Pin
Richard MacCutchan9-Dec-19 4:56
communityengineerRichard MacCutchan9-Dec-19 4:56 
QuestionWrite program Wpf C# calculator (OEE ) Pin
Member 146803725-Dec-19 22:39
MemberMember 146803725-Dec-19 22:39 
QuestionRe: Write program Wpf C# calculator (OEE ) Pin
Richard MacCutchan5-Dec-19 23:32
communityengineerRichard MacCutchan5-Dec-19 23:32 
AnswerRe: Write program Wpf C# calculator (OEE ) Pin
OriginalGriff5-Dec-19 23:41
communityengineerOriginalGriff5-Dec-19 23:41 
QuestionC# Passing password to Web API Pin
Kevin Marois5-Dec-19 10:00
professionalKevin Marois5-Dec-19 10:00 
AnswerRe: C# Passing password to Web API Pin
Richard Deeming5-Dec-19 10:06
communityengineerRichard Deeming5-Dec-19 10:06 
QuestionNaudio C# ASP.net Using MPG Video Pin
Member 1394308730-Nov-19 0:45
MemberMember 1394308730-Nov-19 0:45 
I had a problem which I cannot solve for weeks and could not found any solution for it even I tried to look at NLayers but still not sure on how to do it. Can I ask that how can I read MPG Video into Naudio and control the left right channel? My customer does not want to change the video format to MP4, insist on using MPG file format for their KTV System.

Below is my snippet of codes

Im using Object as Player

<object id="Player" width="50" height="50" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT>
                    <param name="SendPlayStateChangeEvents" value="true" />
                    <param name="autostart" value="true" />
                    <param name="URL" value="<%=mySrc %>"/>
                    <param name="enabled" value="True"/>
                    <param name="balance" value="0"/>
                    <%--<param name="currentPosition" value="<%=myFForRewind %>"/>--%>
                    <param name="enableContextMenu" value="True"/>
                    <param name="fullScreen" value="true"/>
                    <param name="mute" value="False"/>
                    <param name="playCount" value="1"/>
                    <param name="rate" value="1"/>
                    <param name="stretchToFit" value="false"/>
                    <param name="uiMode" value="none"/>
                    <param name="volume" value="<%=myVolume %>"/>
                    <!--[if !IE]>-->
                    
                    <!--<![endif]-->
                </object>


The Naudio Code as below:


protected void ImageButton7_Click(object sender, ImageClickEventArgs e)
            {
                Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "StartMeUp()", true);
                player.player1 = new DirectSoundOut();
                player.player1.Init(player.mono);
                player.player1.Play();
            }

AnswerRe: Naudio C# ASP.net Using MPG Video Pin
Gerry Schmitz2-Dec-19 6:15
mveGerry Schmitz2-Dec-19 6:15 
AnswerRe: Naudio C# ASP.net Using MPG Video Pin
jkirkerx2-Dec-19 10:30
professionaljkirkerx2-Dec-19 10:30 
QuestionDrawString with opacity option not print properly Pin
Le@rner29-Nov-19 20:19
MemberLe@rner29-Nov-19 20:19 
AnswerRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 21:17
communityengineerOriginalGriff29-Nov-19 21:17 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 21:28
MemberLe@rner29-Nov-19 21:28 
AnswerRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 22:16
communityengineerOriginalGriff29-Nov-19 22:16 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 22:23
MemberLe@rner29-Nov-19 22:23 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 22:29
communityengineerOriginalGriff29-Nov-19 22:29 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 22:30
MemberLe@rner29-Nov-19 22:30 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 22:30
communityengineerOriginalGriff29-Nov-19 22:30 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 22:35
MemberLe@rner29-Nov-19 22:35 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 22:41
communityengineerOriginalGriff29-Nov-19 22:41 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 23:06
MemberLe@rner29-Nov-19 23:06 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 23:33
communityengineerOriginalGriff29-Nov-19 23:33 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 23:39
communityengineerOriginalGriff29-Nov-19 23:39 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner30-Nov-19 0:20
MemberLe@rner30-Nov-19 0:20 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff30-Nov-19 0:23
communityengineerOriginalGriff30-Nov-19 0:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.