LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 10-18-2005, 08:45 AM   #1
salahuddin_66
Member
 
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Rep: Reputation: 30
Question mencoder command in C


hello

i wanna create a wmv2ogg using mplayer.

how i can give simple command using C progamming.

like "mplayer -vc dummy -vo null -ao pcm:file=stream.wav *.avi"

i know that it will easy if i can use shell script. i do not shell script (but will learn soon).

i am not sure that it is possible in C.
if it is possible plz give me some hint or link.

thanx
 
Old 10-18-2005, 11:18 AM   #2
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 58
#include <stdlib.h> and just do this:
Code:
system("mplayer -vc dummy -vo null -ao pcm:file=stream.wav *.avi");
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using mencoder masand Linux - Software 10 05-27-2007 02:12 PM
mencoder jackstoage Linux - Software 9 04-22-2005 11:02 PM
How to get MEncoder ? zahoo Linux - Software 1 04-08-2005 08:27 AM
MEncoder: Whats wrong with this command? flamesrock Linux - Software 1 07-15-2004 08:03 PM
mencoder KL2001 Linux - Software 10 12-23-2002 05:39 PM


All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration