LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-18-2004, 01:06 AM   #1
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
WMV to AVI


I have a few videos in WMV that I would like to convert to AVI to save some room. 259MB for 24 minutes just seems to large to me.

I have tried to convert a test WMV with the following command:

Code:
mencoder FILENAME.wmv -sws 2 -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -vop scale=320:240 -ofps 25 -o FILENAME.avi
This works, but the file is only slightly smaller. Is this the best I can do? Should I try to convert them to something else?
 
Old 06-18-2004, 06:37 AM   #2
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Rep: Reputation: 30
WMV and AVI are both micro$oft file types. I'd try converting it into an MPEG and see if that makes any difference.
 
Old 06-18-2004, 01:42 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Ok, and how would I do that?
 
Old 06-18-2004, 01:49 PM   #4
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
mencoder blah ... blah -of mpeg -o whatever.mpg
 
Old 04-18-2006, 02:30 AM   #5
lovalixir
LQ Newbie
 
Registered: Apr 2004
Location: Singapore
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX
I have a few videos in WMV that I would like to convert to AVI to save some room. 259MB for 24 minutes just seems to large to me.

I have tried to convert a test WMV with the following command:

Code:
mencoder FILENAME.wmv -sws 2 -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -vop scale=320:240 -ofps 25 -o FILENAME.avi
This works, but the file is only slightly smaller. Is this the best I can do? Should I try to convert them to something else?
Seems like you have experiment wmv a bit before. I am actually trying to convert wmv to wmv but a shorter clip.

And I write it like

mencoder -of lavf -oac lavc -lavcopts vcodec=wmv1 -ofps 100.o test.wmv -o output.wmv -endpos 10

It does produce wmv file. But it is played 'Fast forward'. Doesn't sync with sound and video. Any idea how to solve this?
 
  


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 04:57 AM
cannot play .avi .wmv, mpg files WRXHokie Linux - Software 22 12-05-2005 09:57 PM
Convert .WMV to another Format (.avi) mikedeatworld Linux - Software 1 08-13-2005 12:34 PM
playing avi and wmv files in xine ? BajaNick Linux - Software 21 08-29-2004 03:34 PM
Mplayer issues. Trying to convert WMV to AVI or MPEG mandika Linux - Software 3 06-20-2004 06:12 PM

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

All times are GMT -5. The time now is 03:58 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