[MPlayer-users] FAAD bitrate never gets set, and channels always fall back to 2 (stereo)

Nico Sabbi Nicola.Sabbi at poste.it
Thu May 8 15:51:50 CEST 2008


On Thursday 08 May 2008 15:43:45 Justin Randall wrote:
> So you're saying the line that says:   sh->i_bps = 128*1000/8; //
> XXX: HACK!!! ::atmos
> is good enough?  Even if the bitrate is variable there must be a
> way to calculate an average if given the sample rate, total track
> time, and total byte size. 


mencoder -oac copy -ovc frameno -o /dev/null file.mp4

> IMO setting it to 128kbps if it's not 
> defined in the header seems like a hack to me (as it is clearly
> commented).  I wasn't trying to be rude, I was just trying to
> understand why it's being done that way.
>

it is a hack, of course, and it sucks having to set it in 
order to permit playback



More information about the MPlayer-users mailing list