[MEncoder-users] Converting wmv to wmv

The Wanderer inverseparadox at comcast.net
Mon Apr 17 22:27:12 CEST 2006


Ko Ko wrote:

> Hi,
> 
> I manage to encode other movie format like avi, mpg and mpeg without
> much problems. I am actually trying to shorten the movie length to
> make some preview clips for my website. But when it comes to wmv
> format i cannot encode wmv to wmv. I can encode wmv to avi.

That's because that is what MEncoder is intended to encode to. Any other
output (container) formats are later additions.

> But this is not exactly what I want. Normally how I encode is
> 
> mencoder -oac copy -ovc lavc -lavcopts vcodec=msmpeg4v2 $upfile -o 
> $imagepath/$filename -endpos 10

This command line does not specify an output format (-of), so it creates
a file with the default container type, AVI. You want to add '-of lavf'
and make sure that $filename ends in '.wmv'. If that doesn't work, then
assuming you're using the latest CVS versions, it's probably not
supported and I almost certainly can't help you.

> This codes produce 10 seconds video clip of my uploaded file to the
> specified file path on the server. But it doesn't really work for
> wmv. Is there any codecs available to encode wmv to wmv and how?

Codecs are probably not relevant, at least not at this stage. The
problem is a matter of container formats.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the MEncoder-users mailing list