Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 29 results for
mooo
- Page 1
Re: ffmpeg conversion
Programming
Software Development
10 Years Ago
by tinstaafl
>
mooo
as it is diff installation can only be accesed wit its own command prompt. You could use the Process Class to call the program. You can even redirect standard in and out to interact directly with it.
Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by balla4eva33
…Cow (double weight, char * name); void makeNoise(); // Cows should say
Mooo
}; const int ZOO_SIZE=10; class Zoo { Animal * animals[ZOO_SIZE]; int…weight, t_Cow, name) {} // Cows should say
Mooo
void Cow::makeNoise() { cout << "
Mooo
"; } // The following method adds the specified…
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by balla4eva33
… (weight, t_Cow, name) {} void Cow::makeNoise() { cout << "
Mooo
"; } void Zoo::addAnimaltoZoo(Animal *a) { if (animalCount < ZOO_SIZE…
ffmpeg conversion
Programming
Software Development
10 Years Ago
by kamilacbe
… baseline format so everythng went fine as i had a
mooo
ffmpeg but now when trying to access from c# i… couldnt from
mooo
as it is diff installation can only be accesed wit…
PHP MySQL Module Generator - Guys Please take a look. It might help you =)
Programming
Web Development
13 Years Ago
by MooGeek
… $data->Age = "15"; $data->Gender = "
Mooo
"; $data->Address = "USAA"; $data->add…
FFmpeg installation for x264 codec
Programming
Web Development
10 Years Ago
by kamilacbe
… baseline format , everythng was fine with another wrap installer called
MooO
ffmpeg which i found in this link http://www.moo0…
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by Duoas
I haven't looked over [I]all[/I] your code, but the [B]addAnimalToZoo()[/B] function looks fine to me. Polymorphism just means that you can derive from more than one class at a time. So, for example, you could make a SnakeHorse.
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by balla4eva33
I think the way I have my function set up would work normally, but since the zoo array is set to a const max, it won't allow me to "convert from 'Animal *' to ' const Animal &'." Let me know what you think, when you get a chance please!... Thanks
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by Duoas
Sure it will. Pay attention to what is being made [B]const[/B]: [inlinecode]ZOO_SIZE[/inlinecode] is const. After the array is created, it has no other effect (since you can't change the size of an array after creating it anyway). [inlinecode]Animal *[color=green]animals[/color][ ZOO_SIZE ][/inlinecode] is [I]not[/I] const. You can change …
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by balla4eva33
Ok, I uderstand what you're saying, and that's what I thought too. However, when I attempt to compile what I have, Vis Studio tells me that: [B]'Animal::Animal(const Animal &)' : cannot convert parameter 1 from 'Animal *' to 'const Animal &'[/B] Maybe I'm doing something else wrong in there...??
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by Duoas
You need to read up on virtual methods. Currently, [B]Animal.makeNoise()[/B] is [I]statically bound[/I]. In "zoo.h" you must say: [inlinecode]virtual void makeNoise()[/inlinecode] so that the derived classes can override the method with their own versions. Next, in your [B]addAnimalToZoo()[/B] method, you have a memory leak. Let's…
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by balla4eva33
Isn't that how I'm going to do it when I go back and do it polymorphically though? I'm pretty sure the virtual function is for polymorphism.... I took your advice for the addAnimalToZoo function though. That seems to work just fine. The reason we're doing it this way, is that he wants us to truly appreciate polymorphism, so he's making us …
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by Duoas
Ah. Virtual functions are the core of Object Oriented Programming --you can't do it without them. (Otherwise you are just doing "object-based" programming --or playing with [B]struct[/B]s that have functions attached.) I think your professor wants you to understand what it is that OOP offers (i.e. what the benefit is from using …
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by balla4eva33
Yea it's deff a drag to do it this way, but that's why he's hoping we'll REALLY appreciate the beauty of polymorphism after we go through all this mess!! I believe this is how I want my switch statement set up then...right?...: [CODE] void Zoo::makeAllNoisesInZoo() { for (int i=0; i < animalCount; i++) { Animal *a = animals[i…
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
16 Years Ago
by balla4eva33
Nvrmnd I figured the rest out. Thanks for all your help! :)
Re: ffmpeg conversion
Programming
Software Development
10 Years Ago
by rubberman
You may need to build from source for that. I do know that my Linux version of ffmpeg (binary installation) has the x264 lib installed by default. Don't know about the Windows version though.
Re: ffmpeg conversion
Programming
Software Development
10 Years Ago
by kamilacbe
Hi thanks for the reply , as you said am using process to access the cmd but then the problem somewhr in my commanad when i just use the following cmd it works in c# and cmp prompt Aswell. ffmpeg -i input.flv output.mp4 when i go for baseline profile with x264 it gets comverted when using cmd prompt rather doesnt in c# process access pls find …
Re: ffmpeg conversion
Programming
Software Development
10 Years Ago
by tinstaafl
Assuming that the format of the arguments you're passing is correct, your problem could be spacing. you have no space before `-c` or after `faststart`. Also why are you adding an empty string on to the end of the arguments?
Re: ffmpeg conversion
Programming
Software Development
10 Years Ago
by kamilacbe
Hi , thanks for the response , tried with this but didnt work . @"-i"+fpath+"-c:v libx264 -profile:v baseline -movflags faststart"+outputfile; can you please give me example as were am going wrong.thanks for your time.
Re: ffmpeg conversion
Programming
Software Development
10 Years Ago
by tinstaafl
Here's the string modified see how there's extras spaces. `@"-i "+fpath+" -c:v libx264 -profile:v baseline -movflags faststart "+outputfile;` If you still have problems, you may have to consult the ffmpeg documentation a little more and make sure your not missing something or have incompatible options enabled.
Re: ffmpeg conversion
Programming
Software Development
10 Years Ago
by kamilacbe
great!! its works fine now.. thank you so much for your timeply help:)
Re: ffmpeg conversion
Programming
Software Development
10 Years Ago
by tinstaafl
Glad it works. Please remember to mark this solved. Thanks.
Re: PHP MySQL Module Generator - Guys Please take a look. It might help you =)
Programming
Web Development
13 Years Ago
by omol
Its what every good developer should have in his tool box created by themselves and every competent should have in a framework. It's hard to see without seeing your class.
Re: PHP MySQL Module Generator - Guys Please take a look. It might help you =)
Programming
Web Development
13 Years Ago
by MooGeek
class example? I see. I'm gonna put an example then. Thank you :)
Re: PHP MySQL Module Generator - Guys Please take a look. It might help you =)
Programming
Web Development
13 Years Ago
by MooGeek
O_O I Forgot to put the URL LOL
Re: PHP MySQL Module Generator - Guys Please take a look. It might help you =)
Programming
Web Development
13 Years Ago
by MooGeek
[QUOTE=omol;1310530]Its what every good developer should have in his tool box created by themselves and every competent should have in a framework. It's hard to see without seeing your class.[/QUOTE] I'm sorry I forgot to put the URL T____T [url]http://easycode.unoprojects.com/index.html[/url]
Re: PHP MySQL Module Generator - Guys Please take a look. It might help you =)
Programming
Web Development
13 Years Ago
by pritaeas
I suggest you change your gettotalrows function to: [code] SELECT COUNT(*) AS count FROM personinfo [/code] and return that result. There is no need for generating all those rows if you do nothing with them. Also, your previous and next functions may point to an ID that is no longer available. Your last function should be like your first …
Re: PHP MySQL Module Generator - Guys Please take a look. It might help you =)
Programming
Web Development
13 Years Ago
by MooGeek
[QUOTE=pritaeas;1311491]I suggest you change your gettotalrows function to: [code] SELECT COUNT(*) AS count FROM personinfo [/code] and return that result. There is no need for generating all those rows if you do nothing with them. Also, your previous and next functions may point to an ID that is no longer available. Your last function …
Re: FFmpeg installation for x264 codec
Programming
Web Development
10 Years Ago
by geniusvishal
Try this: https://code.google.com/p/ffmpeg-sharp/ http://www.doyourself.org/ffmpeg/588-ffmpeg-x264-encoding-guide/
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC