Re: qtmoko videoplayer

2013-05-10 Thread robin
if I run via ssh -X everything is fine (the output is pasted below)
if I run via qmplayer I get only the sound but no video (instead about
a quarter of the background image is displayed).

here is the output from the
ssh -X 

is there a way I can get the output from qmplayer?


root@neo:~# /opt/qtmoko/qpe.env 
root@neo:~# mplayer /media/card/Ch2_TaijiBailongBall_DVD2010_h264_mp3.mkv 
MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /media/card/Ch2_TaijiBailongBall_DVD2010_h264_mp3.mkv.
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
libavformat file format detected.
[matroska,webm @ 0x40c4c558]Estimating duration from bitrate, this may be
inaccurate
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (mp3), -aid 0
VIDEO:  [H264]  320x240  0bpp  29.970 fps0.0 kbps ( 0.0 kbyte/s)
Load subtitles in /media/card/
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
VO XOverlay need a subdriver
[VO_SDL] SDL initialization failed: Unable to open mouse.
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
notice: Can't open /dev/tty: No such device or address
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==
==
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 1 ch, floatle, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 1ch floatle (4 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x40b6b978]No accelerated colorspace conversion found from
yuv420p to rgb565le.
[swscaler @ 0x40b6b978]using unscaled yuv420p -> rgb565le special converter
VO: [fbdev] 320x240 => 320x240 BGR 16-bit 
A:   3.7 V:   1.7 A-V:  2.040 ct:  0.033   0/  0 54% 87% 88.2% 50 0 


   
    Your system is too SLOW to play this!  
   

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko videoplayer

2013-05-10 Thread Radek Polak
On Thursday, May 09, 2013 04:50:48 PM robin wrote:

> hi,
> 
> I try to watch some video on qtmoko using qmplayer but I only have audio.
> I tried h264, mpeg2, mpeg4, vp3 but always the same result: audio only
> the aspect ratio is standard 320x240 and I installed the glamo version
> of mplayer when being asked for the first time.
> 
> in case I would need the other mplayer version, how could I revert?

I think glamo is the best option - it works for me on fresh v55 wheezy 
install. Maybe the video is wrongly encoded? Can you try over ssh:

. /opt/qtmoko/qpe.env
mplayer /path/to/video.mp4

if that prints anything useful?

Regards

Radek
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qtmoko videoplayer

2013-05-09 Thread robin
what actually works:

ssh -X root@192.168.0.202
mplayer movie.mvk

this results in the movie being played on the freerunner screen. 
Apparently also other sizes and aspect ratios than 320x240 work fine.

any help appreciated to get this working with a "native" qtmoko app.

robin



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


qtmoko videoplayer

2013-05-09 Thread robin
hi,

I try to watch some video on qtmoko using qmplayer but I only have audio. 
I tried h264, mpeg2, mpeg4, vp3 but always the same result: audio only
the aspect ratio is standard 320x240 and I installed the glamo version
of mplayer when being asked for the first time.

in case I would need the other mplayer version, how could I revert?

best regards

rboin


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community