LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2006, 12:32 PM   #1
shooters
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 6.06 (Dapper)
Posts: 18

Rep: Reputation: 0
WMV to MPG


Hi,

I need to convert a WMV file to a MPG format... what free software should I use do to the conversion?

Thanks,

Shooters
 
Old 03-27-2006, 01:02 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Here are a couple links.
http://www.mplayerhq.hu/DOCS/HTML/en...feat-mpeg.html
http://gentoo-wiki.com/HOWTO_Mencode...oduction_Guide
 
Old 03-27-2006, 02:09 PM   #3
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
I use transcode to convert wmv to xvid4. You could just change xvid4 to mpeg4 and movie.avi to movie.mpg if you want to, but xvid4 is just as good or better (and it's open source). This command line has all the options you could ever need. You may also need to change a few things like size, framerate, audio stuff, etc. The transcode man page is great. You also need mplayer and w32codecs installed to decode the wmv. A more simplified one is given below, but no guarantee that it will work. Both of these use two pass encoding and should give you a very high quality transcode (assuming you change the necessary parameters to match your video).
Code:
transcode -i movie.wmv -f 24 -g 320x240 -y xvid4 -x mplayer,mplayer --export_fps 24 -N 0x50 -b 160,0,5,0 -E 44100,0,2 -e 44100,16,2 -J filter=hqdn3d:luma=4:chroma=3:luma_strength=6:chroma_strength=4.5:pre=1 -R 1,vid.log -o /dev/null --video_max_bitrate 3000 && transcode -i movie.wmv -f 24 -g 320x240 -y xvid4 -x mplayer,mplayer --export_fps 24 -N 0x50 -b 160,0,5,0 -E 44100,0,2 -e 44100,16,2 -J filter=hqdn3d:luma=4:chroma=3:luma_strength=6:chroma_strength=4.5:pre=1 -R 2,vid.log -o movie.avi --video_max_bitrate 3000
Code:
transcode -i movie.wmv -y xvid4 -x mplayer,mplayer -N 0x50 -b 160 -R 1,vid.log -o /dev/null --video_max_bitrate 3000 && transcode -i movie.wmv -y xvid4 -x mplayer,mplayer -N 0x50 -b 160 -R 2,vid.log -o movie.avi --video_max_bitrate 3000
 
  


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
convert .wmv to .avi or .mpg PeaceTank Linux - Software 9 08-16-2009 03:57 AM
ffmpeg on slack 10.2 wmv to mpg Pier Slackware 2 01-05-2006 04:39 PM
cannot play .avi .wmv, mpg files WRXHokie Linux - Software 22 12-05-2005 08:57 PM
change wmv to mpg Knowledgements Slackware 12 09-27-2005 06:51 AM
WMV to MPG conversion abattoir Linux - Software 3 05-10-2005 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:04 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
Open Source Consulting | Domain Registration