-----Original Message----- From: juneau-lug-bounce@xxxxxxxxxxxxx on behalf of Kevin Miller Sent: Fri 3/24/2006 6:36 PM To: juneau-lug@xxxxxxxxxxxxx Subject: [juneau-lug] Re: Flash Video James Zuelow wrote: > Check out the flash link here: > > http://madpenguin.org/cms/?m=show&id=6521&page=2 > > (OK, page 1 is a good read too, but it doesn't have flash) > > Anyone know how to make that on Linux? >Nevermind, I found it. Pretty trick. Kinda pixelated, but gotta keep >the bandwidth down I 'spose... I figured out how to make .flv files with ffmpeg. Like that was hard: ffmpeg -i inputfile outfile.flv the input file can be anything that ffmpeg can decode, which in effect means anything. An flv uses mp3 for audio, so if the original has an audio bitrate that ffmpeg doesn't support you have to set it: ffmpeg -i inputfile -ra 44100 outfile.flv It's important to put the -ra flag AFTER the input filename so that it applies to the mp3 encoding, not the input decoding. Now to figure out how to wrap the .flv file into a .swf player. It looks like you can't just drop an .flv file into a directory and have Apache serve it up. At least not with my browser (Firefox on Linux with Flash 7 player). There is a c library called ming out there, with perl and PHP hooks. Since I need to refresh my perl skills anyway maybe I'll put together a perl script to encase foo.flv into a standard player for web, or a gtk standalone player. There is some example code out there to play with. But it seems like a whole lot of work for what on an iMac is probably "drag movie to box, select skin, click save." Alternatively, I have huge numbers of .avi and .mpeg files laying around from my digital video to DVD experiments. I put an mpeg movie into my local gnump3d music folder, and it will serve it to a browser. But gnump3d doesn't stream it in my experience - you download the whole file, which then plays in the default player (ie xine). I want the movie to stream. Anyone played with other streaming servers - shoutcast, what-have-you? I'd like to put video up on my homepage once I start redesigning it and updating the content. (And once I actually get around to talking to live human beings about hosting the site!) James ------------------------------------ The Juneau Linux Users Group -- http://www.juneau-lug.org This is the Juneau-LUG mailing list. To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the word unsubscribe in the subject header.