mplayer and omapfbplay hang

Hi folks,

I have just installed Angstrom to my beagleboard (rev B7) (http://
www.angstrom-distribution.org/demo/beagleboard/). I downloaded the
following files:

MLO
u-boot.bin
uImage
Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-test-20090326-
beagleboard.rootfs.tar.bz2

and followed the instruction given in http://code.google.com/p/beagleboard/wiki/HowToGetAngstromRunning

I did not change my X-loader, it is still U-Boot 1.3.3 (Jul 10 2008 -
16:33:09). I used the following bootcmd and bootargs:

bootcmd=mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000

bootargs=console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2 rw
rootfstype=ext3 rootwait omapfb.video_mode=1024x768MR-16@60 omap-
dss.def_disp=dvi omapfb.vram=2M,4M,4M y

I wanted to try mplayer and omapfbplay with direct framebuffer on
beagleboard. So, I disabled X by executing chmod a-x /etc/init.d/gpe-
dm, then restarted beagle. Within my SD card, I have a sample AVI file
which I downloaded from the Internet. I played it with this command:

mplayer -nosound -vo fbdev:/dev/fb1 Bolt.HD.sample.avi

After running for two seconds, the beagle hung. This happens all the
time on my system. Do any of you have the same problem? What
parameters do you use to avoid this problem?

I then tried omapfbplay and the same problem occurred. Here is the
output of omapfbplay:

root@beagleboard:~# omapfbplay Bolt.HD.sample.avi
Input #0, avi, from 'Bolt.HD.sample.avi':
  Duration: 00:01:20.37, start: 0.000000, bitrate: 1794 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 720x404 [PAR 1:1 DAR 180:101],
23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
    Stream #0.2: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Using 132 frame buffers, frame_size=505344
23 fps, buffer 130

Your input is really appreciated.

Thanks
CJ

Hi folks,

I have just installed Angstrom to my beagleboard (rev B7) (http://
www.angstrom-distribution.org/demo/beagleboard/). I downloaded the
following files:

MLO
u-boot.bin
uImage
Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-test-20090326-
beagleboard.rootfs.tar.bz2

and followed the instruction given in http://code.google.com/p/beagleboard/wiki/HowToGetAngstromRunning

I did not change my X-loader, it is still U-Boot 1.3.3 (Jul 10 2008 -
16:33:09). I used the following bootcmd and bootargs:

bootcmd=mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000

bootargs=console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2 rw
rootfstype=ext3 rootwait omapfb.video_mode=1024x768MR-16@60 omap-
dss.def_disp=dvi omapfb.vram=2M,4M,4M y

I wanted to try mplayer and omapfbplay with direct framebuffer on
beagleboard. So, I disabled X by executing chmod a-x /etc/init.d/gpe-
dm, then restarted beagle. Within my SD card, I have a sample AVI file
which I downloaded from the Internet. I played it with this command:

mplayer -nosound -vo fbdev:/dev/fb1 Bolt.HD.sample.avi

After running for two seconds, the beagle hung. This happens all the
time on my system. Do any of you have the same problem? What
parameters do you use to avoid this problem?

I then tried omapfbplay and the same problem occurred. Here is the
output of omapfbplay:

root@beagleboard:~# omapfbplay Bolt.HD.sample.avi
Input #0, avi, from ‘Bolt.HD.sample.avi’:
Duration: 00:01:20.37, start: 0.000000, bitrate: 1794 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 720x404 [PAR 1:1 DAR 180:101],
23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
Stream #0.2: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Using 132 frame buffers, frame_size=505344
23 fps, buffer 130

Your input is really appreciated.

Thanks
CJ