LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-15-2007, 12:19 PM   #1
desibeli
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
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:

http://www.mplayerhq.hu/DOCS/HTML/en...nc-images.html

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?
 
Old 06-16-2007, 10:44 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
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.
 
Old 06-18-2007, 12:51 PM   #3
desibeli
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
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).

Last edited by desibeli; 07-23-2007 at 01:02 PM.
 
Old 07-23-2007, 01:15 PM   #4
desibeli
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Somebody figured out how to do it:

http://electron.mit.edu/~gsteele/ffmpeg/

Basicly use msmpeg4v2 instead:

mencoder mf://@list.txt -mf fps=30 -o test.avi -ovc lavc -lavcopts vcodec=msmpeg4v2
 
  


Reply

Tags
mencoder, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recording Video and Audio using mencoder OR13 Linux - Desktop 3 01-19-2007 04:19 PM
mencoder/ffmpeg convert video(wmv) for Windows Mobile? paulx Linux - Software 2 06-26-2006 11:24 AM
No video is playable on Suse 10.0 Paul7 Linux - Software 2 10-26-2005 10:35 AM
how do i make a playable dvd from an avi file? joel b Linux - Software 2 08-01-2005 12:46 AM
mencoder with Archos video jukebox johngcarlsson Linux - Software 0 11-19-2004 11:42 AM


All times are GMT -5. The time now is 03:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration