[MEncoder-users] MEncoder Settings - Pls Help

NHW3W at aol.com NHW3W at aol.com
Tue Dec 26 10:05:29 CET 2006


 
Can anyone tell me what setting in mecoder I  need to change to encode at 
41000Hz instead of 48000Hz? 

Here's the  context for my question: 

Below is the code which is part of a PERL  script to convert TV shows from my 
ReplayTV overnight for playback on my _Palm TX_ 
(http://forums.afterdawn.com/thread_view.cfm/401584#)  using TCPMP. I didn't write this, I just use it.  
Generally it works just fine. 

Here's the problem...Sometimes I want to  use my Plantronics 590A Bluetooth 
headset to wirelessly watch the shows on my _Palm_ 
(http://forums.afterdawn.com/thread_view.cfm/401584#)  TX (using TCPMP) instead of using wired headphones. 
 With many videos it works well. 

When I try to play videos that are the  product of the PERL script(below), 
the Palm TX crashes. Here's the _solution_ 
(http://forums.afterdawn.com/thread_view.cfm/401584#)  I picked up in another forum: 

"The Palm  TX will crash if you play videos or music thats not 44100Hz. All 
of my videos  used to be encoded with 48000Hz audio now i just set that to 
44100Hz during the  conversion and it works." 

I thought my code (below) WAS setting to  encode at 44100Hz but when I check 
the output it seems to be still at 48000Hz.  

Can anyone tell me what setting in mecoder I need to change to encode at  
41000Hz instead of 48000Hz?  


**************************************************************  
$mencoderString = "mencoder.exe $stub"."_DVD.mpg -srate 44100 -af  
lavcresample=44100 -oac copy -vf scale=480:320,lavcdeint -sws 2 -ovc lavc  -lavcopts 
vcodec=mpeg4:vhq:vmax_b_frames=2:vbitrate=400:vpass=1 -ofps 30  -ffourcc DX50 -o 
$stub".".avi"; 
_print_ (http://forums.afterdawn.com/thread_view.cfm/401584#)  
$mencoderString ."\n"; 
`$mencoderString`;  
$mencoderString = "mencoder.exe $stub"."_DVD.mpg -srate 44100 -af  
lavcresample=44100 -oac mp3lame -lameopts mode=3:preset=128:aq=0 -vf  
scale=480:320,lavcdeint -sws 2 -ovc lavc -lavcopts  
vcodec=mpeg4:vhq:vmax_b_frames=2:vbitrate=400:vpass=2 -ofps 30 -ffourcc DX50 -o  
********************************************************************** 




More information about the MEncoder-users mailing list