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

ctjhai@gmail.com writes:

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:

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?

You must update u-boot.

mplayer hangs the system and I continue hear a piece of audio of about
1 second forever. see details of video playing.

recalcati@recalcati-laptop:/var/www$ ffmpeg -i nwnintro640x480.mpg
FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3, Copyright (c)
2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-
x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-
libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-
libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --
disable-armv5te --disable-armv6 --disable-altivec --disable-vis --
enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Oct 3 2008 22:40:31, gcc: 4.3.2
Input #0, mpeg, from 'nwnintro640x480.mpg':
  Duration: 00:02:05.8, start: 0.766000, bitrate: 3902 kb/s
    Stream #0.0[0x1c0]: Audio: mp2, 44100 Hz, stereo, 192 kb/s
    Stream #0.1[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [PAR
200:219 DAR 800:657], 3584 kb/s, 29.97 tb(r)

only audio , mp3 and wav , works well

recalcati <lamiaposta71@gmail.com> writes: