Author Topic: Movie Playing  (Read 11974 times)

DaMightyWhightyMan

  • Newbie
  • *
  • Posts: 49
    • View Profile
Movie Playing
« Reply #15 on: October 20, 2004, 02:27:45 pm »
thanks everyone for your help

xrandr -s 1; sleep 1;  mplayer -fstype fullscreen -fs movie.avi; sleep 1; xrandr -s 0

froze my c860 while trying to seek, seems to be a better solution ATM though.

Is there going to be any movie watching improvments in the next pdaxrom release?

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Movie Playing
« Reply #16 on: October 21, 2004, 04:21:00 pm »
I presume, as nobody mentions 640x480, that this resolution of video replay is impossible on the Z - not enough hardware acceleration or something?

DaMightyWhightyMan

  • Newbie
  • *
  • Posts: 49
    • View Profile
Movie Playing
« Reply #17 on: October 21, 2004, 07:42:31 pm »
I was able to play at .5 fps

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Movie Playing
« Reply #18 on: October 22, 2004, 08:59:51 am »
Ha ha ha!  Presumably there's something more wrong than just four times the data rate. though, or you'd only be able to play QVGA at 2fps!

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Movie Playing
« Reply #19 on: October 24, 2004, 05:39:15 pm »
the fact is that there is NO possibility to use direct frame buffer acceleration in 640x480, since the ati chip has 384 k of vram embedded

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Movie Playing
« Reply #20 on: October 25, 2004, 12:34:36 am »
Quote
EDIT: Videos are still freezing once in a while, I'll keep at it...
I think I might have solved the freezing problem by disabling use of the RTC device with the -nortc option.  My movie playing script is:

Code: [Select]
#!/bin/sh

xrandr -s 1
sleep 1
mplayer -nortc -framedrop -fstype fullscreen -fs "$@"
sleep 1
xrandr -s 0

It's still early days in my testing but so far I haven't had any movies freeze on me.

Matt
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Movie Playing
« Reply #21 on: October 25, 2004, 04:38:42 am »
We have also discovered that turning of transparency and other "eye candy" in aterm removes the need for sleep 1 - also try using xterm - it seems to be alot more stable when resizing the screen up and down.
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

Xumbi

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Movie Playing
« Reply #22 on: October 25, 2004, 12:27:51 pm »
Quote
Quote
EDIT: Videos are still freezing once in a while, I'll keep at it...
I think I might have solved the freezing problem by disabling use of the RTC device with the -nortc option.  My movie playing script is:

Code: [Select]
#!/bin/sh

xrandr -s 1
sleep 1
mplayer -nortc -framedrop -fstype fullscreen -fs "$@"
sleep 1
xrandr -s 0

It's still early days in my testing but so far I haven't had any movies freeze on me.

Matt
The -nortc switch seems to do the trick!  I've played through a simpsons mpeg, and another divx movie without any freezing.  Before they would freeze about half way through.

Thanks for writing a better script than I did by the way.

Now all we need is a gui, and some simple instructions on how to encode DVDs into the best format for mplayer pdaXrom.  I'm guessing it would be divx.

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Movie Playing
« Reply #23 on: October 25, 2004, 12:42:40 pm »
Quote
Now all we need is a gui, and some simple instructions on how to encode DVDs into the best format for mplayer pdaXrom. I'm guessing it would be divx.

You can start looking at the video howto  here on the ZUG
SLC-860 cacko / senao wifi

hwkeye

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Movie Playing
« Reply #24 on: October 30, 2004, 05:47:13 pm »
Hi guys,

Anybody knows how to increase font for subtitle ?

Thanks a lot.

Newbix

  • Newbie
  • *
  • Posts: 15
    • View Profile
Movie Playing
« Reply #25 on: November 02, 2004, 10:03:29 pm »
Quote
the fact is that there is NO possibility to use direct frame buffer acceleration in 640x480, since the ati chip has 384 k of vram embedded
So, how does the X server gets 640x480 ?

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Movie Playing
« Reply #26 on: November 03, 2004, 02:23:03 am »
simply, the chip uses ram instead of videoram

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Movie Playing
« Reply #27 on: November 03, 2004, 03:17:21 am »
Quote
Hi guys,

Anybody knows how to increase font for subtitle ?

Thanks a lot.
Download one of the font packs from here and follow the instruction in the file. It works for me on my desktop computer this way, haven't tried on my Z so far.

Hope it works,
Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

hwkeye

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Movie Playing
« Reply #28 on: November 03, 2004, 04:59:29 am »
Hi Zumi,

Thanks for your tips. I will try when I go back home.

Have you ever tested the subtitle ?

mplayer -vobsub subtitle_file movie_file

warning : you must have subtitle_file.idx and subtitle_file.sub in the same directory.

Of course you can use all parameters (for fullscreen) talking above on this thread.

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Movie Playing
« Reply #29 on: November 03, 2004, 05:55:54 am »
Quote
Hi Zumi,

Thanks for your tips. I will try when I go back home.

Have you ever tested the subtitle ?

mplayer -vobsub subtitle_file movie_file

warning : you must have subtitle_file.idx and subtitle_file.sub in the same directory.

Of course you can use all parameters (for fullscreen) talking above on this thread.
I'm using subs with the mplayer quite frequently. You're using wrong options. "-sub <subtitlefile>" goes for subtitles which are in regular subtitle format (.sub, .srt for example). You need -vobsub only when you want to view subs ripped from a DVD. (which consist of a ".idx", ".ifo" and a ".sub")

From the mplayer man page:
Code: [Select]
     -vobsub
              Specify a VOBsub file to use for subtitles.  Has to be the  full  pathname
              without extension, i.e. without the ".idx", ".ifo" or ".sub".
Code: [Select]
      -sub
              Use/display  these  subtitle files.  Only one file can be displayed at the
              same time and the files can be switched with "j".
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!