Audio/Video Player on Beagle Board

Hi All,

I am writing an audio video player for beagleboard.

I wanted information about the audio and video devices and the help about the ioctl calls.

I have the file utDstream_tennis.c which is source code of “stream_video” in beagleboad, I suppose.

I am able to test video out with my DVI-D supported monitor and its playing the file with “stream_video” command.

I wanted

  • More information about the structure “v4l2_format” and want the file “omap24xxvout.h”
  • I am not able to understand ret = ioctl(fd, VIDIOC_S_FMT, &fmt);
  • What is VIDIOC_S_FMT? I was using LCDFB_YUV420_MODE i.e. _IO(LCDFB_MAGIC, 2) for another device I am working on. Please help me in figuring out what shall be the format here?
  • What will be the audio device name? (For video it is /dev/video1 and /dev/video2)
  • Can I get the similar source for “aplay”?

As of now I am stuck here.

Please help me or point me to some resources for this work I am doing.

Thanks in advance.

Regards,

Devilal Sharma