Author Topic: Mplayer Plays High Quality Videos In Beta4 640x480  (Read 9337 times)

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #15 on: May 26, 2006, 04:21:30 am »
This is very nice, i was just reading about this on a directFB mailing list i may have to consider comming back to pdaXrom
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #16 on: May 27, 2006, 07:59:00 am »
Quote
First, I can't get acceptable performance with sound enabled even after trying all possible "-ao" options. Does anyone know how to get sound working smoothly with video?

Which kernel do you use? Type uname -a
On 2.4 you *must* encode at a specific bitrate, 48 000 IIRC, or the CPU will have to handle the conversion and therefore slow down.

Try to convert to 512x384, and see which framerates work better.

Guylhem

wrc4

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #17 on: May 28, 2006, 02:05:24 am »
Quote
Which kernel do you use? Type uname -a
On 2.4 you *must* encode at a specific bitrate, 48 000 IIRC, or the CPU will have to handle the conversion and therefore slow down.

Try to convert to 512x384, and see which framerates work better.

Guylhem
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128582\"][{POST_SNAPBACK}][/a][/div]

I'm using pdaXrom1.1.0beta1 so the kernel is 2.4.18

I have been using DivX/Xvid codec to convert my files. When I converted the film to 512x384, the "-vo w100" stopped working. (I mean the screen started to flickering). It seems any resolutions between 512x384 and 320x240 are not accelerated.

After that I tried a standard NTSC VCD file(352x240x30fps, .DAT file),  The "-vo w100" option had bad performance. Without audio the framerate was much lower than 30fps(like slow-motion, even if I turned "-framedrop" on). When I turned sound on, the speed was normal but there were a lot of framedrops.

However, with "/vo fbdev -fb /dev/fb0" the sound and video are all perfect. the only problem is the "-fs" doesn't work. The screen size is limited to 352x240.

Since mpeg file and avi file use different decoders, maybe the optimum parameters are different.

I think I need to do more research on this.
Zaurus SL-C1000 (Debian)
Zaurus SL-7500C
Nokia N810
KOHJINSHA SC3
ASUS EEEPC 701
ASUS WL-HDD 2.5
ASUS WL-500GPv2
WD MyBookWorldEdition (with a Segate 500G HD inside)

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Mplayer Plays High Quality Videos In Beta4 640x480
« Reply #18 on: May 30, 2006, 01:26:23 pm »
Any here know if we can rotate a video with ffmpeg? I using mencoder in this script todo it ....

Code: [Select]
#!/bin/bash
ffmpeg -i $1 -f avi -r 29.970030 -b 768 -ar 24000 -ab 64 -s 640x480 $1.mpg
mencoder -oac copy -ovc lavc -vf rotate=1 -o $1-r.mpg $1.mpg

If you have a video, and dont want make a new file rotated... can use this command:

Code: [Select]
$ mplayer -vo fbdev -fb /dev/fb0 -vf rotate=1 video.mpg
« Last Edit: May 30, 2006, 03:10:05 pm by anunakin »
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)