On Wed, 06 Jan 2010 21:38:55 -0000 (GMT) (Ted Harding) Ted.Harding@manchester.ac.uk allegedly wrote:
I wanted to put it up on my Zen web-site so that others can view it from there (and they will mostly be using WIndows). So I first created an AVI file usingmencoder as follows (following an example in 'man mplayer'):
mencoder dvd://1 \ -o denvermilllookeast2010.01.05.avi \ -oac copy \ -ovc lavc \ -lavcopts vcodec=mpeg4
The resulting .avi file plays fine using totem. I then ftp'd it to my website, and tried playing it from there using IE on Windows Vista. It failed, saying a codec was missing. However, the file on the website still plays fine on Debian with totem.
So I then created a WMV file using "wmv2" format with:
mencoder dvd://1 \ -o Denver.wmv \ -oac copy \ -ovc lavc \ -lavcopts vcodec=wmv2
Then I uploaded this one as well. Once again, this played fine in totem both from the file on the Debian laptop and from the copy on the web-site.
This time, when I try IE from Vista on the web-site copy, I get the video OK, but no sound.
Ted
The output video and audio codecs are wrong. You have selected a straight copy for audio and mpeg4 for video. By default, MS windows media player always seems to have problems with this. aac is a better bet for audio (though mp3 works fine too - particularly the mp3lame codec) and msmpeg4 for video. They should work without problems. So try -oac libfaac and -vcodec msmpeg4.
For straight file to file conversion, ffmepg tends to be faster than mencoder (which simply uses the ffmpeg libraries anyway). So if you have the original file in digital format on the linux pc and want to play the output file (in an avi container) on windows, try this:
ffmpeg -i infile -vcodec msmpeg4 -acodec aac outfile.avi"
There is a pretty good gui for ffmepg called WinFF which comes with loads of presets too. I recently read about another gui called synthgunt (unfortunate name). I tried that and it is not nearly as good as WinFF.
HTH
Mick
---------------------------------------------------------------------
The text file for RFC 854 contains exactly 854 lines. Do you think there is any cosmic significance in this?
Douglas E Comer - Internetworking with TCP/IP Volume 1
http://www.ietf.org/rfc/rfc854.txt ---------------------------------------------------------------------