mencoder to make video playable on windows
I'm trying to use mencoder to build a video stream from a series of pictures and I want to play this on Windows through a web browser as an embedded element. I prefer not to ask viewers to download special players or codecs.
I've tried several formats, but none of them will play on windows in media player or quick time.
I'm going by:
I previously tried using flash generated with PHP/ming, but the stream slows down and I need the frame rate to be accurate.
Any suggestions on how to generate a video stream on Linux viewable on Windows?
You won't be able to generate WMV from mencoder, but you could do MPEG certainly. The stock WMP certainly is a useless media player, but it has to support MPEG1/2 at the very least.
Thanks for the answer, but I tried both mpeg1video and mpeg2video. Both play correctly in MPlayer, but not in Windows media player. I'm running:
mencoder mf://@list.txt -mf w=200:h=150:fps=30:type=jpg -ovc lavc -lavcopts vcodec=mpeg1video -o tst.mpg
where list.txt is a list of black and white .jpg files. I'm using Windows media player 11 for playback.
Any ideas to what is wrong or how I could generate a video sequence alternating black and white boxes on Linux that could be played on Windows. (I tried flash through PHP/Ming but it slows down and I need a fixed frame rate).
Somebody figured out how to do it:
Basicly use msmpeg4v2 instead:
mencoder mf://@list.txt -mf fps=30 -o test.avi -ovc lavc -lavcopts vcodec=msmpeg4v2
|All times are GMT -5. The time now is 04:00 AM.|