Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Video performance on AT91SAM9263-EK?
PostPosted: Fri Apr 11, 2008 3:42 pm 
Offline

Joined: Sat Jul 07, 2007 5:39 pm
Posts: 11
Location: The Netherlands, Dordrecht
Hello all,

I wonder if I can play a video bigger than QVGA + sound on a AT91SAM9263.

I connected a VGA 8" TFT to my AT91SAM9263-EK and this works fine.
I compiled MPlayer and this works fine too.
A 320x240 MPEG4 + OSS sound (22050Hz) uses about 75% of the processor.

But how to play a full screen VGA video? Is this possible? Has anyone done this?

Bye Arjan


Top
 Profile  
 
 Post subject: 9263 - VGA implementation
PostPosted: Fri Apr 18, 2008 9:54 am 
Offline

Joined: Fri Apr 18, 2008 9:37 am
Posts: 1
Location: Salzburg
good day,

I am starting to work with the 9263 Ek board
and I will connect a TFT VGA to 9263 Ek - Linux board.
How to configure and how to connect the TFT VGA to the 9263Ek board correctly.

The kernel version 2.6.23.14

thanks
Thomas


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 18, 2008 10:51 am 
Offline

Joined: Sat Jul 07, 2007 5:39 pm
Posts: 11
Location: The Netherlands, Dordrecht
I changed the kernel (my kernel is version: 2.6.22.9):
file: arch/arm/mach-at91/board-sam9263ek.c
Code:
static struct fb_videomode at91_tft_vga_modes[] = {
   {
           .name           = "FG080012DNCWAG0Z @ 60",
      .refresh   = 60,
      .xres      = 640,      .yres      = 480,
      .pixclock   = KHZ2PICOS(25000), // clk speed

      .left_margin   = 1,      .right_margin   = 33,
      .upper_margin   = 1,      .lower_margin   = 0,
      .hsync_len   = 5,      .vsync_len   = 1,

      .sync      = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
      .vmode      = FB_VMODE_NONINTERLACED,
   },
};


And I would like the traditional VSYNC HSYNC instead of HSYNC DTMG. So I changed:
file: arch/arm/mach-at91/at91sam9263_devices.c
and added to void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data):
Code:
at91_set_A_periph(AT91_PIN_PC0, 0);   /* LCDVSYNC */


I soldered the TFT to the board by using a prototype board (RE450LF at www.farnell.com)
The one extra line, the VSYNC can be found on the EK board on J25 pin 28.
(But my TFT is working without VSYNC. Which is a bit strange!)

Back to topic:
I'm using the VGA TFT portaid. I used mencoder to encode a video to a resolution of 480x200 at the top of the screen. This runs lipsync if you are using framedrop. But the quality is not very high. I can't get more out of it. Anyone else?

Here is my mencoder line:
mencoder -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=500 -vf rotate=2,crop=200:480,rgb2bgr=swap,scale -oac pcm -af resample=22050:1:0,pan=1:0.5:0.5 InputFile.mp4 -o OutputFile.mp2


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 20, 2008 4:23 pm 
Offline

Joined: Sat Jul 07, 2007 5:39 pm
Posts: 11
Location: The Netherlands, Dordrecht
We stopped the AT91SAM9263 project because of this low video performance. We're starting all over with another processor. This time an ARM11 with MPEG hardware acceleration.

Maybe this problem can be solved. But I believe there is no processor power left to do some background stuff.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: