| PLEX86 | ||
|
mecoder adding audio Sender: Linux
Well in case it would help someone else, I did find something better, but it's definitely a hack; but I will share it anyways. The trick I used was to split the video to a wav file and gif89a animation, which seems to allow more frames, than a jpg dump. mplayer -vo gif89a:fps=24.0 -ao pcm:file=`basename $1 .avi`.wav $1 Printing all arguments pbutted to a bash script 2473 Well, it is not the same. To see why, test each one with an argument that contains at least one space. Here is a test script to show... which will produce an "output.gif". Now comes the tricky part, you then need to explode the gif89a with something like "gifsicle -e output.gif". Then you must convert the gif files to jpg, name them appropriately, (0000001.jpg, etc) and you must replace any smaller-than-normal gif's with adjacent good ones. I noticed the first 20 (or so) gif images, were empty, and it would cause mencoder to segfault, unless they were replaced. Then you can process the jpgs for visual effects. Then the recombine script above, will do a pretty fair job of resyncing the audio, and you can set the fps to 24 instead of 8. It's still not perfect, but it does let you put mustaches on people in videos. :-) Printing all arguments pbutted to a bash script 2472 On 2006-09-07, Angel Tsankov for var do : do something with $var done Or: do : do something with $var done man bash: Compound Commands ... for name in word ; do...
-- I'm not really a human, but I play one on earth.
|
||||
Printing all arguments pbutted to a bash script 2472 Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||