i want to convert the any video file into .flv format.. it is worked local server perfectly.. but it is not worked in web server... security exception will be displayed.. i used ffmpeg.exe tool only... pls help me
Process ffmpeg; // creating process
video = Page.MapPath("movie.wmv");
mpg = Page.MapPath("") + "\\video.flv"; // thumb name with path !
ffmpeg = new Process();
ffmpeg.StartInfo.Arguments = "-i " + video + " -f flv -vcodec flv -qscale 10 -s 480x360 -ar 44100 -acodec libmp3lame " + mpg; // arguments !
ffmpeg.StartInfo.FileName = Page.MapPath("ffmpeg.exe");
i receive this error what is this error tell me pls
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
hi! guys this is terrible since a while now i've trying to do a very basic data binding, but i'm failing somewhere.let say in my webpage i have a dropdownlist and a textbox(textArea).so the logic is when a user select a text on the dropdownlist(ddCustom by id) its value should be displayed in the textbox.that it.what i've achieved so far is having the dropdownlist text bound but the value is not loading into the textbox field.
here are my codes
protected void Page_Load(object sender, EventArgs e)
string result = this.validateAll(txtEmail.Text, txtNumbers.Text, txtMessage.Text, txtName.Text, 100);
int resultlen = result.Length;
lblError.Text = resultlen.ToString();
DataSet DsTemplate = new DataSet();
ddCustom.DataSource = DsTemplate;
ddCustom.DataTextField = "name";
ddCustom.DataValueField = "text";
protected void ddCustom_SelectedIndexChanged(object sender, EventArgs e)
//txtMessage is the id of the textbox
txtMessage.Text = ddCustom.SelectedItem.value;
sample of the xml file
<?xml version="1.0" encoding="utf-8" ?>
<text> i'm having a Problem Please call me back at</text>
<text> the meeting is reported</text>
<text> Happy birth Day</text>
simple isn't it? but don't know.
I'm from php backgroung.i would do that by an ajax stuff or with jquery.But here i'm surely forgetting something or thinking that asp.net would do everything for me.i search on google, w3school and my codes seems to be ok.need help on this.please let me know as soon as you have time to check this.Thank you!
PS:i'm so frustrated i can't do anything else<code></code>
eager to learn
<div class="ForumMod">modified on Friday, July 11, 2008 7:39 AM</div>
Your code should also work, but you didn't give us the html from the ASP.NET page.
So... I suppose you did not assign the OnSelectedIndexChanged="ddCustom_SelectedIndexChanged" for your ddCustom <asp:dropdownlist ...="" xmlns:asp="#unknown"> control.
Pretty pretty cool man it's working without any modification.just copy and paste.You are the man!
disturbingly simple.By the way why do you select txtMessage.ClientID instead of txtMessage what i would be tempted to do?