The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Musical MIDI Accompaniment 1.4 (Default branch) iBot Software Releases - RSS News 0 10-02-2008 02:20 AM
ALSA MIDI Kommander 0.3.1 (Default branch) iBot Software Releases - RSS News 0 03-24-2008 09:20 PM
Steev's Midi Library 1.2 (Default branch) iBot Software Releases - RSS News 0 03-24-2008 09:20 AM
Musical MIDI Accompaniment 1.3a (Default branch) iBot Software Releases - RSS News 0 03-04-2008 05:10 PM
Midi Flash Cards 1.0.0 (Default branch) iBot Software Releases - RSS News 0 02-09-2008 12:50 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-17-2008
conandor conandor is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 14
converting midi to wav in solaris 10

how can i convert midi to wave in solaris 10

i have found timidity but it lack of documentation.
is there any other suggestion?
  #2 (permalink)  
Old 11-22-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,063
We will be using 3 tools: transcode, mplayer’s mencoder and ffmpeg — all commandline tools. Anybody who has been keeping track of this journal should by now be aware that if I can, I avoid GUI point-n-click apps like the plague. Lastly, this mini howto is by no means exhaustive.

Basics
mencoder
-ovc codec for video output
-oac codec for audio output
-o outfile.avi

mencoder infile.avi -ovc lavc -oac lavc -o outfile.avi

transcode
-i input_filename.mpg
-y codec for audio/video output
-o output_filename.avi

transcode -i infile.mpg -o outfile.avi -y divx

ffmpeg

ffmpeg -i myfile.avi -target vcd /tmp/vcd.mpg

Video CD
ffmpeg -i infile.avi -target ntsc-vcd outfile.mpg

Flash Videos
ffmpeg -i infile.mpg -ab 256 outfile.flv

*note:

Use the “-ab” switch to control the sound quality. 64 is okay for home vidoes. For music you want something higher like 256.
XviD
First, something about video bitrates.

Crummy youtube-like video is around 80-150.
VCD quality is around 400-500.
DVD quality is approx 800.
Default bitrate for mencoder is 687kbps.
mencoder infile.avi -ovc xvid -oac mp3lame -xvidencopts bitrate=687 -o outfile.avi

*notes:

If you want the outfile to have an estimated size (like 700mb), set a negative bitrate and replace the bitrate value with the expected size of the outfile like:
-bitrate=-700000 - will give you a ~700mb avi file.

Two-pass encodings will give a nicer video but will take longer to convert:
mencoder infile.wmv -ofps 23.976 -oac mp3lame -lameopts abr:br=92 -ovc xvid -xvidencopts pass=2:bitrate=150 -o audiofix-150bit-xvid.avi

Audio quality can be set via the -lameopts switch if you’re using mp3lame (-oac mp3lame) for the audio format:
mencoder infile.avi -ovc xvid -oac mp3lame -lameopts abr:br=256 -xvidencopts bitrate=800 -o outfile.avi

Microsoft media files (*.wmv, *.asf, *.wmx)
Just follow the howto for Xvid and replace the infile.avi with any M$.wmv file you have. There’s an issue regarding some players (Xine) not being able to play wmv->xvid files converted using mencoder. Just use the -ofps 23.976 switch for that.

DivX
transcode -i infile.mpg -o outfile.avi -y divx

DVD
ffmpeg -i infile.avi -target ntsc-dvd dvd.mpg
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:42 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0