[MEncoder-users] Converting wmv to wmv

Ko Ko kkl_sg at yahoo.com
Tue Apr 18 03:03:49 CEST 2006


Just '-of lavf' only? Or anymore parameters? I use wmv2 codecs for lavcopts btw. And I set it at -ofps 100.0 according to some of the notes I saw on the website talking about wmv file format. But when I produce a wmv, it doesn't play automatically with Window Media Player. It prompt warning message, the extension does not match the file format it has and whether I want to play or not. Only when I say yes then it plays. And I think it is not supposed to be this way. 

The Wanderer <inverseparadox at comcast.net> wrote:  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.

_______________________________________________
MEncoder-users mailing list
MEncoder-users at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mencoder-users




Reality starts with Dream 

		
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.


More information about the MEncoder-users mailing list