OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: iamasmith on March 21, 2005, 02:38:30 pm

Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on March 21, 2005, 02:38:30 pm
Has anyone actually got mplayer running with the bvdd driver on the 3000?

I translated the Japanese page at atty.jp and found a note saying that if you install the mplayer executable from the package manager this chmod a+s in the postinst script doesn't take so I applied that.

When I use Kino2 I get just the track number in the Window - no video.

When I run 'mplayer -vo bvdd <video>' I get a single flicker as the video starts to play then nothing... mplayer freezes and I have to close the terminal.

(installed the bvdd driver and mpayer-noiwmmxt and rebooted)

I'm runnin the stock Kernel from 1.11JP ROM at the moment.. any success stories ? What did you need to do ?

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: Charlovski on March 21, 2005, 03:42:11 pm
Bvdd driver + mplayer really works although it was a little buggy in my case. I had more success starting the mplayer from a remote than from a local shell. Usually I had to give the mplayer command a couple of times before it actually started playing.

I can't give you step by step instructions right now because I'm dealing with another problem (and restored to original settings) but at least you should have the following packages installed: bvdd_0.1.0-1_arm.ipk, mplayer-bvdd_1.0.0-1_arm.ipk and libmad (libmad_0.15.0b-zports-0_arm.ipk?).

To start the mplayer enter something like:
Code: [Select]
bash$ mplayer -framedrop -vo bvdd -vop rotate=1 -ss 10 -ac mad Documents/Movie_Files/file.aviAs I have stated before, I had always had to give this command a couple of times before the movie actually started.

The one thing I didn't succeed in was to play a movie in fullscreen format independent of the source format (so showing a 320x240 format fullscreen on the 640x480 Z display). Kino I didn't use (yet).
Title: Mplayer With Bvdd - Wont !
Post by: darkloran on March 22, 2005, 02:39:56 am
hi,

  i've been able to use first "beta" versions of bvdd and mplayer with bvdd support with Sharp ROM 1.0 kernel. I was not able to get fullscreen.

After that i've updated to the "ipk" packages bvdd, mplayer-bvdd (with or without iwmmxt) and nothing comes up to the screen. kino won't help. since mplayer would not work with sharp kernel, i've updated my kernel to tetsu's one and tested mplayer-bvdd with v17d to v17h versions of kernel without success.

Currently i'm using kernel v17h from tetsu with mplayer-w100 (fbdev and special qvga mode for fullscreen) and it works quite fine... well it has the advantage to work as i'm really unable to find the exact format the builtin movie app will accept playing  

loran
Title: Mplayer With Bvdd - Wont !
Post by: jpmatrix on March 25, 2005, 06:12:15 pm
great! following this method i've finally succeed in playing full screen avi on my C3000 :

https://www.oesf.org/forums/index.php?showt...indpost&p=63621 (https://www.oesf.org/forums/index.php?showtopic=10004&view=findpost&p=63621)

it is not perfect but at least it works!
Title: Mplayer With Bvdd - Wont !
Post by: rickh on March 26, 2005, 02:25:22 pm
So, I FINALLY got a good mp4 file to play with no frame drops and audio is synced properly.

I downloaded PSP Video 9 to do the re-encoding from an XviD file to something that plays beautifully on the C3000 using Kino2/mplayer.

Used the default settings in PSP Video 9.  

I'm going to continue to test other filetypes to convert, but so far, I'm happy with it!

R.
==
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on April 29, 2005, 10:54:51 am
OK, there are new versions of mplayer and bvdd on the atty website ...

http://atty.jp/?Zaurus%2Fmplayer#content_1_2 (http://atty.jp/?Zaurus%2Fmplayer#content_1_2)

With bvdd 0.3.1 and mplayer 1.1.2 I can now run bvdd for QVGA movies simply by passing the arguments -vm -fs and these options work from Kino2.

Tested with the iwmmxt version of mplayer on Cacko 1.23 beta1 for SL-C3000.

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: Jondalar on May 04, 2005, 07:51:50 am
Quote
OK, there are new versions of mplayer and bvdd on the atty website ...

http://atty.jp/?Zaurus%2Fmplayer#content_1_2 (http://atty.jp/?Zaurus%2Fmplayer#content_1_2)

With bvdd 0.3.1 and mplayer 1.1.2 I can now run bvdd for QVGA movies simply by passing the arguments -vm -fs and these options work from Kino2.

Tested with the iwmmxt version of mplayer on Cacko 1.23 beta1 for SL-C3000.

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


Andy,

which kino are you running? I got kino2-bvdd- 0.4.2p6-bvdd and I only get a light glitch and then I am back inthe Kino2 main screen.

starting mplayer standalone with -vo bvdd -fs -vm brings me the usual 270 degree rotation

Cheers
J*
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 04, 2005, 08:03:07 am
Ah, forgot to mention I think you need the special kernel to enable some of the bvdd stuff and certainly you need it for iwmmx version.

I'm running Kino2 0.4.2-1 from the http://cacko/kino2 (http://cacko/kino2) site, bvdd 0.3.1-1 from atty's page and mplayer-bvdd-iwmmxt version 1.1.2-1 again from atty's web page.

The current Kernel being used with Cacko3K is tetsu Special Kernel 17h.
Title: Mplayer With Bvdd - Wont !
Post by: jpmatrix on May 04, 2005, 08:06:12 am
Quote
OK, there are new versions of mplayer and bvdd on the atty website ...

http://atty.jp/?Zaurus%2Fmplayer#content_1_2 (http://atty.jp/?Zaurus%2Fmplayer#content_1_2)

With bvdd 0.3.1 and mplayer 1.1.2 I can now run bvdd for QVGA movies simply by passing the arguments -vm -fs and these options work from Kino2.

Tested with the iwmmxt version of mplayer on Cacko 1.23 beta1 for SL-C3000.

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


can someone tell me why there is a iwmmxt version and why there is a "normal" version ? and which is the best one ?

by the way there's a new v18a testu kernel for the C3000 to try !
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 04, 2005, 08:13:55 am
Quote
Quote
OK, there are new versions of mplayer and bvdd on the atty website ...

http://atty.jp/?Zaurus%2Fmplayer#content_1_2 (http://atty.jp/?Zaurus%2Fmplayer#content_1_2)

With bvdd 0.3.1 and mplayer 1.1.2 I can now run bvdd for QVGA movies simply by passing the arguments -vm -fs and these options work from Kino2.

Tested with the iwmmxt version of mplayer on Cacko 1.23 beta1 for SL-C3000.

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


can someone tell me why there is a iwmmxt version and why there is a "normal" version ? and which is the best one ?

by the way there's a new v18a testu kernel for the C3000 to try !
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78189\"][{POST_SNAPBACK}][/a][/div]

The iwmmxt is certainly the best one, it uses the Intel Wireles MMX extensions present on the PXA270. For some reason, and I haven't studied the PXA270 manual enough to know why, the IWMMX extensions need to be enabled in Kernel mode for you to be able to use them in your apps . Without this you get an Illegal Opcode trap - hence the need for the special Kernel. The standard version doesn't use these extensions and implements the functionality through standard PXA opcodes - hence it's a little slower.

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: devster on May 04, 2005, 09:27:29 am
I installed as per http://my-zaurus.narod.ru/kino.html (http://my-zaurus.narod.ru/kino.html) , using sudo, iwmmx, bvdd, and kino 0.4.2 ....

I try and play a movie, and it just freezes up, difficult to get it back.Using standard ISO MPEG4 and mpeg3 that wok using default player.

using standard sharp rom with C3000 ...

Anyone have any idea why it doesnt work as it should?

cheers,
Devon
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 04, 2005, 09:34:20 am
Quote
I installed as per http://my-zaurus.narod.ru/kino.html (http://my-zaurus.narod.ru/kino.html) , using sudo, iwmmx, bvdd, and kino 0.4.2 ....

I try and play a movie, and it just freezes up, difficult to get it back.Using standard ISO MPEG4 and mpeg3 that wok using default player.

using standard sharp rom with C3000 ...

Anyone have any idea why it doesnt work as it should?

cheers,
Devon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78205\"][{POST_SNAPBACK}][/a][/div]

Yes, firstly you need to go to tetsu's special kernel for and mplayer-iwmmx to work.

I'm assuming that you downloaded the new versions from atty's site and NOT the older versions on the Kino2 site. The new versions are required to get qvga support out of the bvdd driver.

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 04, 2005, 01:57:12 pm
OK, atty has been busy.

Theres a version 0.3-1 of mplayer-iwmmxt on the website.

Notably it implements the rotation stuff within the bvdd handler which is much faster than using the -vo rotate=1 option. Remove the option and it will do it automatically.

Cool stuff and fast...

(Goes off to encode something short at ridiculously high framerates and 640x480)

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 05, 2005, 03:02:38 am
OK I'm stunned with the 640x480 quality with no oveclocking on the new version of mplayer.

Test encoded as follows...

mencoder dvd://1 -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=600:acodec=
mp3:abitrate=112:vhq:vpass=1 -vf scale=640:480 -ofps 18 -alang eng
mencoder dvd://1 -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=600:acodec=
mp3:abitrate=112:vhq:vpass=2:vb_strategy=1 -vf scale=640:480 -ofps 18 -alang eng

That's about 600Mb for nearly 2 hrs but it's awesome for a shorter demo.

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: devster on May 05, 2005, 07:42:50 am
I took your advice and ditched the kino site installs (which, btw, did say worked with the c3000!?), and used atty's ...

Its pretty awesome! compared to Video Player, much better quality, and thats just at 320x240. I'll give 640x480 a go shortly. More importantly, it works without failing...

well, I have one minor problem, when I cancel the video, its wiping out the status bar along the bottom....  ie the whole taskbar is blank , but click on it and it is functional. Figuring it out ...

cheers,
Devon
 
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 05, 2005, 09:02:05 am
Quote
I took your advice and ditched the kino site installs (which, btw, did say worked with the c3000!?), and used atty's ...

Its pretty awesome! compared to Video Player, much better quality, and thats just at 320x240. I'll give 640x480 a go shortly. More importantly, it works without failing...

well, I have one minor problem, when I cancel the video, its wiping out the status bar along the bottom....  ie the whole taskbar is blank , but click on it and it is functional. Figuring it out ...

cheers,
Devon
 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78349\"][{POST_SNAPBACK}][/a][/div]

Yep, that happens in the zoomed mode. In 640x480 it doesn't seem to.

I just go into QKonsole, make it full screen and then come back. I'm sure atty will sort this out eventually.

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: maslovsky on May 05, 2005, 09:37:17 am
Yes, the new mplayer can easily play 640x480 with bitrate of 1024 Kb and even more! Excellent job done by our Japanese friend atty!
Title: Mplayer With Bvdd - Wont !
Post by: devster on May 05, 2005, 10:49:17 am
I tried with windows media encoder (erm , sorry to mention windows!!) 640x480 at 600k, and I had only about a frame every 1.5 seconds... its probably an encoding problem tho ...

320x240 clear as tho

cheers.
D.
Title: Mplayer With Bvdd - Wont !
Post by: gtJormungand on May 05, 2005, 10:59:47 am
What options are you using with mplayer?

<edit>
Or make that, do not forget to reboot after installing the new bvdd drivers.
Title: Mplayer With Bvdd - Wont !
Post by: devster on May 05, 2005, 11:29:46 am
Quote
What options are you using with mplayer?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78379\"][{POST_SNAPBACK}][/a][/div]


-vm -fs

and also tried -vo bvdd
Title: Mplayer With Bvdd - Wont !
Post by: gtJormungand on May 05, 2005, 11:30:48 am
Does anyone know how to change the background color from white to black?
Title: Mplayer With Bvdd - Wont !
Post by: kahm on May 05, 2005, 01:00:53 pm
Quote
Yes, the new mplayer can easily play 640x480 with bitrate of 1024 Kb and even more! Excellent job done by our Japanese friend atty!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78366\"][{POST_SNAPBACK}][/a][/div]

 

640x480 at 1024 kb/s?

(!!!!?!?!?!!!)

(!!)

Really?

Wow.
All hail wireless MMX extensions. I really didn't think the Z had it in it.
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 05, 2005, 01:45:18 pm
Quote
Quote
Yes, the new mplayer can easily play 640x480 with bitrate of 1024 Kb and even more! Excellent job done by our Japanese friend atty!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78366\"][{POST_SNAPBACK}][/a][/div]

 

640x480 at 1024 kb/s?

(!!!!?!?!?!!!)

(!!)

Really?

Wow.
All hail wireless MMX extensions. I really didn't think the Z had it in it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78400\"][{POST_SNAPBACK}][/a][/div]

Yep, I haven't actually tried it cranked up to 1024kb/s but 600kb/s gives pretty smooth 18fps at 640x480.

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: maslovsky on May 05, 2005, 02:30:05 pm
Quote
Quote
Yes, the new mplayer can easily play 640x480 with bitrate of 1024 Kb and even more! Excellent job done by our Japanese friend atty!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=78366\")

 

640x480 at 1024 kb/s?

(!!!!?!?!?!!!)

(!!)

Really?

Wow.
All hail wireless MMX extensions. I really didn't think the Z had it in it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78400\"][{POST_SNAPBACK}][/a][/div]

There are a couple of issues with current mplayer version, which will hopefully be fixed soon:

This sample movie (1024 kb/s) plays nicely with a bit of overclocking:

[a href=\"http://picard.exceed.hu/samples/RL_HQ_640x352_1024_128.avi]http://picard.exceed.hu/samples/RL_HQ_640x352_1024_128.avi[/url]

... but background is transparent, you can see desktop behind the move

And this one (1500 kb/s) plays too with -nodouble and -quiet additional mplayer options:

http://picard.exceed.hu/samples/RL_XQ_640x480_1500_128.avi (http://picard.exceed.hu/samples/RL_XQ_640x480_1500_128.avi)

... but audio gets out of sync with video

But in any case it's much much better than previous w100 versions!
Title: Mplayer With Bvdd - Wont !
Post by: steliosx on May 06, 2005, 10:58:32 am
I suppose that in order to achieve such impressive performance, one has to use the iwmmx kernel, right?

I will probably go the safe way and wait for cacko rom for C1000
Title: Mplayer With Bvdd - Wont !
Post by: drnick on May 17, 2005, 12:45:09 pm
I got Kino2 working (from cacko feed) with bvdd and iwmmx mplayer packages from atty's site.  inside kino2 i am using the string -vm -fs -vo bvdd as suggested elseware on this forums.  I can play my music videos great, even the ones that dont play well (or at all) in the sharp video player.  But one thing i cant get to work is getting the video to play full screen.  Im confused because i figured the -fs would give me full screen but it doesnt.  Im using cacko beta 1 and tetsu's kernel 18a.  I have not installed tetsu's kernel module package.  Is this needed to play full screen?  i dont care if the video is scaled or what not i just dont want to see kino2 in the background of the videos.  I am at work right now and cannot test anything until tonight.  Any reply would be great.
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 17, 2005, 01:36:19 pm
Quote
I got Kino2 working (from cacko feed) with bvdd and iwmmx mplayer packages from atty's site.  inside kino2 i am using the string -vm -fs -vo bvdd as suggested elseware on this forums.  I can play my music videos great, even the ones that dont play well (or at all) in the sharp video player.  But one thing i cant get to work is getting the video to play full screen.  Im confused because i figured the -fs would give me full screen but it doesnt.  Im using cacko beta 1 and tetsu's kernel 18a.  I have not installed tetsu's kernel module package.  Is this needed to play full screen?  i dont care if the video is scaled or what not i just dont want to see kino2 in the background of the videos.  I am at work right now and cannot test anything until tonight.  Any reply would be great.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80212\"][{POST_SNAPBACK}][/a][/div]

I would always recommend installing the Kernel module package that ships with the Kernel, it contains a bvdd driver, however, I think that the atty bvdd driver is used if installed.

My config...

Basic Cacko3K + 18a Kernel + 18a IPK + atty bvdd (0.3.1) + atty mplayer (1.1.2) + Kino2 (0.4.2)

Works great apart from QVGA, this corrupts the status line once the movie has finished.

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: spartan on May 30, 2005, 12:15:28 am
I can't get full screen to work either, through zplayer and kino2 despite the -fs flag

Sharp 1.11, 18a kernel, atty bvdd 0.3.1-1 kernel-modules v18, mplayer-bvdd-iwmmxt 1.1.4-1, zplayer 0.0.5

Additionally, zplayer does not enable the "Enable iWMMXt" checkbox despite the 18a kernel. There's definitely a speed improvement though.
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 30, 2005, 06:23:32 am
Quote
I can't get full screen to work either, through zplayer and kino2 despite the -fs flag

Sharp 1.11, 18a kernel, atty bvdd 0.3.1-1 kernel-modules v18, mplayer-bvdd-iwmmxt 1.1.4-1, zplayer 0.0.5

Additionally, zplayer does not enable the "Enable iWMMXt" checkbox despite the 18a kernel. There's definitely a speed improvement though.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82089\"][{POST_SNAPBACK}][/a][/div]

Are you using -vm -fs ?
Title: Mplayer With Bvdd - Wont !
Post by: spartan on May 30, 2005, 12:41:09 pm
Still doesn't appear fullscreen...
Code: [Select]
bash-2.05$ mplayer -vo bvdd -fs -vm -ao -framedrop Test.avi
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: ARM

85 audio & 196 video codecs
Playing Test.avi.
AVI file format detected.
VIDEO:  [DIV3]  512x352  24bpp  29.970 fps  505.9 kbps (61.8 kbyte/s)
==========================================================================
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
Audio: no sound
Starting playback...
VDec: vo config request - 512 x 352 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [bvdd] 512x352 => 512x352 Planar YV12  [fs] [vm]
vo_bvdd: config() was called
st_bvdd_frame.x = 64
st_bvdd_frame.y = 64
st_bvdd_frame.width = 352
st_bvdd_frame.height = 512
I've also tried manually setting the width and height (-x 640 -y 480), in which case this appeared:
Code: [Select]
VO: [bvdd] 512x352 => 640x480 Planar YV12  [fs] [vm]
vo_bvdd: config() was called
st_bvdd_frame.x = 64
st_bvdd_frame.y = 64
st_bvdd_frame.width = 352
st_bvdd_frame.height = 512
Thanks
Title: Mplayer With Bvdd - Wont !
Post by: iamasmith on May 30, 2005, 01:11:42 pm
Just one more thing to try Spartan.

Remove the bvdd IPK and the Kernel modules IPK. then reinstall Kernel Modules first then bvdd.

The Kernel Modules package has a bvdd driver but it is an older version. It does seem to install to a different place but maybe the install order is significant. I certainly installed bvdd after the Kernel modules IPK.

- Andy
Title: Mplayer With Bvdd - Wont !
Post by: spartan on June 02, 2005, 12:40:32 am
Thanks--I tried doing that with older versions of everything and it worked. However, there appears to be compatibility issues with certain codecs that prevent specifically DivX files from playing fullscreen. Ironically, Xvid encoded files always play full screen, regardless of the flags.
I have the 2003-03-04 version of libffmpeg, the latest I could find. I think whatever recent optimizations that were added brought the decoding process closer to the video buffer but further away from filtering. It runs faster, regardless.
It's a little unusual though. I don't have anything that's in a format other than DivX or Xvid (and my desktop is in the middle of a time-sensitive batch render for Combustion). Thus, I can't really test the phenomena further.
Has anyone else had a similar problem?