Looking for a command line tool that converts a .wmv file into .mpg

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Looking for a command line tool that converts a .wmv file into .mpg
# 1  
Old 09-22-2007
Looking for a command line tool that converts a .wmv file into .mpg

I need a simple command line executable that allows me to convert a wmv file into an mpg file like this:
wmv2mpg inputfile.mwv > outputfile.mpg

I cannot find it on internet. I tried installing mencoder but I cannot get it to work.

Thanks.
# 2  
Old 07-31-2008
Try ffmpeg.
And specifically for the Mac, ffmpegX.

Last edited by cassj; 07-31-2008 at 05:25 PM..
# 3  
Old 09-26-2008
i use ffmpeg a lot. Just do "sudo port install ffmpeg" (assuming you use macports).

Quote:
ffmpeg -i file.wmv file.mpg
(it understands from the extension of your second file that you want an mpg and does the job)
# 4  
Old 05-09-2009
Quote:
Originally Posted by karman
I need a simple command line executable that allows me to convert a wmv file into an mpg file like this:
wmv2mpg inputfile.mwv > outputfile.mpg

I cannot find it on internet. I tried installing mencoder but I cannot get it to work.

Thanks.
if you only want to see these movies install Flip4Mac, allows you to play Windows Media (wmv) with QuickTime.
# 5  
Old 05-11-2009
FFMpeg must have improved since I used it last.

Unless they've changed something since I've used ffmpegX, it seemed a little iffy with the WMV format. I recall it usually losing the audio stream or squinching the video track or something along those lines. The Flip4Mac route is probably best, though for full conversion you have to shell out a little $$, as it is the Microsoft endorsed, approved and maintained means of viewing and manipulating WMV in Mac OS X.

Not too long ago there was VirtualHub by Techspansion, but neither of those are any longer with us. VH did a pretty good job of converting WMV to MPG; there were only a few I ever used it on that it had problems with, and I suspect this was because they were encoded in a version of the wmv codec too new (or too weird) for the ffmpeg, mencoder and other core utils it used behind the GUI to do the job.

BZT
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command-line tool for .gif files

Hello! I'm searching for a little (as basic as possible) command -line tool for viewing gif animations. I found gThumb and animate (imagemagick), but they both have a little problem... gthumb: no possibility of changing the background when viewing in fullscreen animate: no possibility of... (0 Replies)
Discussion started by: al0x
0 Replies

2. OS X (Apple)

Command line tool to join multiple .wmv files?

I need a simple command line executable that allows me to join many wmv files into one output wmv file, preferrably in a simple way like this: wmvjoin file1.wmv file2.wmv .... > outputfile.wmv So what I want is the wmv-equivalent of mpgtx I cannot find it on internet. Thanks. (2 Replies)
Discussion started by: karman
2 Replies

3. UNIX for Dummies Questions & Answers

linux command line admin tool

Dear All, I am new to linux administration. what is the tool that is used to admin the linux server from remote client using telnet session. It can be used on the server also but start from command line with out Xwindows. just like SMIT in AIX. With Regards, Varma. (1 Reply)
Discussion started by: jarkvarma
1 Replies
Login or Register to Ask a Question