LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-11-2003, 09:30 AM   #1
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
Converting .wmv files?


Is there any way I can either convert .wmv files to avi or mpegs, or is there a way to join several .wmv's?
 
Old 06-11-2003, 09:35 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I think mencoder, which is part of mplayer, will do the trick.
 
Old 06-11-2003, 10:16 AM   #3
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
I use the command "mencoder test.wmv -oac copy -ovc divx4" but when I play the video the quality is bad, and it's choppy (skipping frames). The same thing happens if I use copy instead of divx4.
When mencoder is running I get this error alot, which is probably the cause of the problem.

66 duplicate frame(s)!
Pos: 10.3s 155f ( 5%) 7fps Trem: 6min 4mb A-V:0.001 [67:32]

Is there a way to make it copy the frames anyway, even if they are duplicates?
I tried mencoder --help, but it didn't work..
 
Old 06-11-2003, 10:19 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
try "man mencoder" instead. and use lavc output instead of divx4, which sucks.
 
Old 06-11-2003, 10:31 AM   #5
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
Ok, I read the man file and tried the command "mencoder test.wmv -oac copy -ovc lavc -noskip"
I get this error:
Skipping frame!
Pos: 3.1s 3193f (100%) 18fps Trem: 0min 1mb A-V:-0.000 [4600:32]

test.wmv is 3 minutes, but when I play test.avi it's only the first 3 seconds..
What am I doing wrong?
 
Old 06-11-2003, 10:34 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
no idea what the structure of a wmv file really is... try things like setting -ofps to the correct value, maybe it's generally not detectable...
 
Old 06-11-2003, 10:46 AM   #7
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
Well that works, but when I set ofps to 29.97 that was too fast.. any idea what the fps of a wmv file is, or where I can find out?
 
  


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
For people how want to play WMA files without converting MP3 files waelaltaqi Linux - Software 15 11-17-2005 09:30 AM
WMV Video Converting matthewa Linux - Software 2 03-07-2005 07:29 PM
wmv files jon_206 Linux - Newbie 1 10-04-2004 12:09 AM
xine plays only (a part of) the sound of a wmv, some divx files and crushes mp4 files bezoomny Linux - Software 1 03-10-2004 08:33 PM
Converting perl files to executable mac files mrozkan Programming 0 04-16-2002 10:56 AM


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