On Thu, 15 Jan 2009 13:18:40 -0500, Ray Lopez <[email protected]> wrote:

> The problem was with not calling avdevice_register_all(). I have since  
> made
> some headway after making this call, but have questions on some
> AVFormatParameter variables. I don't have a clear understanding of
> time_base, sample_rate and channels. Can someone explain or point me to
> somewhere that explains these?

The Dranger tutorial covers it all.   http://www.dranger.com/ffmpeg/

But the quick answer is that

  * time_base is a unit of measurement for which all pts/dts values are  
based on.  So instead of making the pts/dts a count of microseconds, they  
make it a count of time_base units.  Basically they do this to eliminate  
roundoff errors.
  * sample_rate is the number of samples per second that should be  
delivered to your soundcard
  * channels is the number of independent sound channels, such as  
"left,right" (2), or "frontleft,frontright,backleft,backright,center,sub"  
(6)

-- 
Michael Conrad
IntelliTree Solutions llc.
513-552-6362
[email protected]
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to