Can anyone tell me what setting in mecoder I need to change to encode at 41000 instead of 48000?
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 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 TX (using TCPMP) instead of using wired headphones. With many videos it works well.
When I try to play videoes that are the product of the PERL script(below), the Palm TX crashes. Here's the solution I picked up in another forum:
"The Palm TX will crash if you play videos or music thats not 44100K. All of my videos used to be encoded with 48000K audio now i just set that to 44100 during the conversion and it works."
I though my code (below) WAS setting to encode at 44100 but when I check the output it seems to be still at 48000.
Can anyone tell me what setting in mecoder I need to change to encdoe at 41000 instead of 48000?
**************************************************************
$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 $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
**********************************************************************
|