LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Converting .wmv files? (https://www.linuxquestions.org/questions/linux-software-2/converting-wmv-files-64958/)

pilot1 06-11-2003 08:30 AM

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?

Crashed_Again 06-11-2003 08:35 AM

I think mencoder, which is part of mplayer, will do the trick.

pilot1 06-11-2003 09:16 AM

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..

acid_kewpie 06-11-2003 09:19 AM

try "man mencoder" instead. and use lavc output instead of divx4, which sucks.

pilot1 06-11-2003 09:31 AM

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?

acid_kewpie 06-11-2003 09:34 AM

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...

pilot1 06-11-2003 09:46 AM

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?


All times are GMT -5. The time now is 11:18 AM.