Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Jul 2019, 03:27
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
This Thread is depreciated
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [52 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sat 22 Oct 2005, 14:59    Post subject:  This Thread is depreciated  

Packages mentioned here should no longer be used, and will be removed soon.


Read here instead:





http://www.murga.org/~puppy/viewtopic.php?t=9000


******************************************************
************************************************
**************************************
















This Dotpup may replace the previous Dotpup provided by GuestToo.

Installation:
Go here:
http://noforum.de/dotpups/mplayer-1.0-pre7-try2/

Download and install the mplayer-Dotpup (if you use the X.org -Xserver, try the "xorg"-Dotpup).
Now you have a Menue-Entry "Dotpups - run-mplayer".

If you click on it, you should see this program:




On that page you also find "mencoder".
You just will need that one, if you want to create/convert videos.

tip:
If you don't like the way mplayer looks like, download one of the skins available here:
http://www.mplayerhq.hu/homepage/design7/dload.html#skins

Extract them to
/usr/local/share/mplayer/Skin
Now you can select it with the "skin"-Button in mplayer.
I already included these nice skins in the last update:



tip2:
If you use the X.org-xserver and your driver supports hardware-accelleration, select "xv" in "preferences - video" (right-click the mplayer-window to get that menue).
Then the videos will scale with nice interpolation, if you resize the Video-Window.

To force scaling with xvesa, see GuestToos tips further down.

tip3:
Drag /usr/local/bin/gmplayer to your Desktop from rox-filer.
Now you can watch videos by dragging'n'dropping them to this icon.

tip4:
To watch videos embedded in Mozilla, install this addon: http://www.murga.org/%7Epuppy/viewtopic.php?t=3133
That Dotpup also includes tons of Codecs you will need for many videos.

Mark

Last edited by MU on Tue 27 Jun 2006, 11:41; edited 20 times in total
Back to top
View user's profile Send private message Visit poster's website 
Guest
Guest


PostPosted: Sat 22 Oct 2005, 15:45    Post subject: did I miss one?  

libXxf86vm.so
Quote:
mplayer: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory
Back to top
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sat 22 Oct 2005, 15:54    Post subject:  

ok, added it to the download-page.
Does it work now?

Mark
Back to top
View user's profile Send private message Visit poster's website 
Guest
Guest


PostPosted: Sat 22 Oct 2005, 17:17    Post subject: compiled for which CPU?  

Closer to the goal.

Quote:

Illegal instruction
# mplayer /mnt/hdc1/Program\ Files/VideoLAN/VLC/problem_with_popplers.mpeg
MPlayer 1.0pre7try2-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Playing /mnt/hdc1/Program Files/VideoLAN/VLC/problem_with_popplers.mpeg.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52


MPlayer interrupted by signal 4 in module: init_audio_codec
- MPlayer crashed by an 'Illegal Instruction'.
It usually happens when you run it on a CPU different than the one it was
compiled/optimized for.
Verify this!
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
Smile
Back to top
Guest
Guest


PostPosted: Sat 22 Oct 2005, 17:21    Post subject: compiled for which CPU?  

Closer to the goal.

Quote:

Illegal instruction
# mplayer /mnt/hdc1/Program\ Files/VideoLAN/VLC/problem_with_popplers.mpeg
MPlayer 1.0pre7try2-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Playing /mnt/hdc1/Program Files/VideoLAN/VLC/problem_with_popplers.mpeg.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52


MPlayer interrupted by signal 4 in module: init_audio_codec
- MPlayer crashed by an 'Illegal Instruction'.
It usually happens when you run it on a CPU different than the one it was
compiled/optimized for.
Verify this!
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
Smile
Back to top
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sat 22 Oct 2005, 17:32    Post subject:  

oh..
Thanks for the feedback! Smile

I currently also have another error, it can't scale videos using the gui Crying or Very sad

I compiled the first version using a puppy, where I had installed the X.org -libs.
Now I will try it on a Puppy without these libs.
This gives me errors with xinerama, so it will take some time to get it done.
I will tel you when there is a new version.

Please also test it with other videos.
I wonder if the reason is your AMD-Processor, or theAC3-Codec of your video.
I might try to disable mmx and 3Dnow!.

Mark
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8917
Location: Perth, Western Australia

PostPosted: Sat 22 Oct 2005, 18:43    Post subject:  

Mark,
Don't forget there are some "hidden" files in /usr/X11R6/lib/, prefixed
with "HIDE", that you might want to unhide. They are static library
files, so won't be needed afterward.
This is for compiling in Puppy.
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sat 22 Oct 2005, 19:13    Post subject:  

Thanks Barry, I "unhided" them now.

i still get an error when i try to play this video: http://noforum.de/pics/filmtwos2.avi (2 MB, divx-encoded).

I can play it from the comandline:
mplayer filmtwos2.avi

But not from GUI:
gmplayer filmtwos2.avi

I get a Messagebox:
Error opening/initializing the selected video_out (-vo) device

I also had to uncomment parts in the /gui -subfolder of the mplayer-source to avoid error-messages.
I am still testing...

Mark
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 22 Oct 2005, 19:44    Post subject:  

mplayer needs to be compiled with the option that allows runtime detection of the cpu
--enable-runtime-cpudetection

there should be a message when you run it like this:

Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

the video device for vesa needs to be x11 or vesa
the audio device needs to be oss

you can specify this from the command line with these switches:
-vo x11 -ao oss
which can be put in a wrapper script that starts mplayer

or you can put these options in an mplayer config file, like /root/.mplayer/config
vo=x11
ao=oss

there is a file called /root/.mplayer/gui.conf on my machine, which includes these lines:
vo_driver = "x11"
ao_driver = "oss"

vesa does not rescale using the video card ... it must be done by the cpu in software ... to enable video rescaling when using a vesa driver, add the -zoom option (or zoom=1 to .mplayer/config)

it's a good idea to add the -quiet or -really-quiet option, or xerrs.txt will fill up quickly with megs of mplayer messages
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sat 22 Oct 2005, 20:30    Post subject:  

Thanks GuestToo.

I compiled 2 versions now, one with cpu-detection and support for mmx and so on (i586).
And another one for i386, if the i586 does not work.

See first message.

Quote:
it's a good idea to add the -quiet or -really-quiet option, or xerrs.txt will fill up quickly with megs of mplayer messages


thanks for the tip, in this version it seems so be the default. I don't get the /tmp/xerrs.txt any more.

Mark
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 22 Oct 2005, 21:02    Post subject:  

it would be best if it can detect and use the hardware you have, like the mmx or sse coprocessors, and be able to run on a 386 if necessary ... i'm not sure what compile options to use, or even if that is possible ... i think Vector Linux's mplayer is supposed to be able to run on a 386

i think the instruction set can be limited to 386 instructions, which will work on 386s, 486s, 586s, and 686s ... and it can still use the mmx or sse coprocessors if it detects their presence
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sat 22 Oct 2005, 21:11    Post subject:  

It is by default set to autodetection, so the i586-dotpup should run anywhere.
However, in a message above "guest" reported a crash on his Athlon.

Maybe that was just because in gui.conf "x11" was not set by default (I corrected that in the new dotpups).

But as I don't know yet, what really caused his error, I added the i386-version.
If I get enough feedback, that i586 will work for everyone, I will delete the i386-Dotpup.

Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sun 23 Oct 2005, 02:31    Post subject:  

I uploaded new versions, that just correct the bug, that the mplayer-panel was not visible in JWM.

If you already have the old version and don't want to download again, you easily can fix it manually:

replace the line
gui_main_pos_x = "12292"
in /root/.mplayer/gui.conf
with
gui_main_pos_x = "120"

Mark
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 23 Oct 2005, 06:53    Post subject:  

i tried both versions and could not get them to work
they do not seem to have --enable-runtime-cpudetection enabled
and they seem to have mmx and sse disabled

i compiled my own from source using these options
Code:

./configure --enable-gui --enable-vesa --enable-xv --enable-x11 --enable-mmx --enable-mmx2 --enable-3dnow --enable-3dnowex --enable-sse --enable-sse2 --enable-shm --enable-runtime-cpudetection --target=i386-linux

this seems to work ok on my machine ... i do not know if it would work ok on another machine

of course, there can be more options ... (i did not actually use the --enable-gui option because it needed a png library, but the basic mplayer worked ok)
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sun 23 Oct 2005, 19:03    Post subject:  

Ok GuestToo, I recompliled the i586 -Dotpup with the Options you suggested.
Works fine on my system, too.

Might someone try it please? (Lobster?)
Does it work for you?

Thanks, Mark
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 4 [52 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0569s ][ Queries: 11 (0.0077s) ][ GZIP on ]