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 Sep 2014, 14:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
MPlayer-1.0rc2 + mencoder Feb 2008
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [67 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Wed 20 Feb 2008, 01:21    Post subject:  MPlayer-1.0rc2 + mencoder Feb 2008  

These MPlayer packages are similar to the "rc1" versions I posted in Nov 2006 here
http://www.murga-linux.com/puppy/viewtopic.php?t=13216

These new versions were compiled under Puppy 214R, so they should work OK with the more recent GTK2 libs in Puppy3.x and 4.x.
Thanks to Raffy, the dotpets are here -
http://minipc.org/ipup/download/MPlayer-1.0rc2.pet
http://minipc.org/ipup/download/MPlayer-1.0rc2-unichrome.pet
http://minipc.org/ipup/download/mencoder-1.0rc2.pet
http://minipc.org/ipup/download/mencoder-1.0rc2-unichrome.pet

These dotpets are also mirrored by MU. Thanks Mark.
http://dotpups.de/puppy3/dotpups/Multimedia/

UPDATE FOR PUPPY 4.0:
- MPlayer will freeze when launched from the JWM menu. To fix this, open /root/.jwmrc in geany and add a space and "&" to the end of the gmplayer launch command, so it looks like this
Code:
<Program label="MPlayer" icon="mplayer.xpm">gmplayer -msglevel all=-1 %U &</Program>

The "&" is not necessary if you create a desktop icon for MPlayer, because this is controlled by ROX, not JWM.

Puppy4.0 is missing several files which this version of MPlayer requires: libXvMC.so.1, libXvMCW.so.1, and libXxf86dga.so.1
I have attached a dotpet to the bottom of this post with these files.

Features:
- DVD menu support (limited)
- "xvmc" video output for accelerated MPEG2 decoding under Xorg with nVidia/i810/Unichrome 3D drivers.
- "xv" video output for optimised playback (hardware-assisted scaling) under Xorg.
- "x11" video output under Xvesa (not as good as xv+Xorg).
- "gl" video output under Xorg+OpenGL (older).
- Inbuilt codecs for MPEG2, XviD, WindowsMedia8/9, H.264, and AAC.
- External Linux Theora codec.
- External Linux 3gp codec (used by mobile phones).
- External Win32 RealVideo10 codec.
- DVB input support, for digital TV tuner cards.
- V4L/V4L2 input support, for most analogue TV tuner cards.
- IVTV input support, for "PVR" analogue TV tuner cards.
- VideoCD support.
- network support, to play streaming audio/video from a server.
- infrared remote control support.

Regarding XvMC:
XvMC is hardware-assisted decoding of MPEG1/MPEG2 video streams, available only with the nVidia, Intel i810 and VIA Unichrome Xorg drivers.
To enable the XvMC feature, you must install the 3D-DRI Xorg driver for your graphics card. Use MU's 3D Control Center -
http://www.murga-linux.com/puppy/viewtopic.php?t=14463

EDIT: For 3D drivers in Puppy4.0 you need to install xorg_xorg_full_dri-7.3.pet from the Puppy4 petget repository.

MPlayer-1.0rc2.pet has been compiled with XvMC support for nVidia and Intel i810 graphics cards. It is preconfigured for nVidia. To change to i810, open /etc/X11/XvMCConfig in geany, and replace "libXvMCNVIDIA_dynamic.so.1" with "libI810XvMC.so.1" (without the quotation marks).

People with VIA Unichrome graphics chips who want to use the XvMC feature must install MPlayer-1.0rc2-unichrome.pet, which has had patches applied from the "Openchrome" project to support the non-standard variant of XvMC used by Unichrome devices (vld-xvmc). MPlayer-1.0rc2-unichrome.pet has been preconfigured for the older Unichrome chips, such as CLE266. For newer Unichrome chips such as the CN700, open /etc/X11/XvMCConfig in geany, and replace "libviaXvMC.so.1" with "libviaXvMCPro.so.1" (without the quotation marks).

MPlayer's XvMC output will only work when the XvMC-specific libavcodec-MPEG-1/2 codec ("ffmpeg12mc") is selected, and this can only be done when MPlayer is launched from the command line, NOT THE GUI. Like this -
Code:
mplayer -vo xvmc -vc ffmpeg12mc -fs /path/to/MYMPEG2VIDEO.mpg

("-fs" is for fullscreen)

Regarding DVD menus:
DVD menus in MPlayer remain less-than-ideal.
To see DVD menus, you must launch MPlayer from the commandline like this -
Code:
mplayer dvdnav:// -fs

And as forum member mikeb mentioned, it's a good idea to add "-msglevel all=-1" to avoid filling up /tmp with error messages. So -
Code:
mplayer dvdnav:// -fs -msglevel all=-1

My tests show that DVD menus consisting of graphics-only will display just briefly on the screen.
DVD menus containing video content will remain on the screen, and the menu buttons can be selected by the arrow keys on the keyboard numerical keypad; 4 left, 6 right, 8 up, 2 down, keypad Enter to select.
Unfortunately there is no highlighting of the DVD buttons, so it's difficult to know which button you have selected.
I also read in the documents that when launching MPlayer in dvdnav mode you should add the option "-nocache". I don't know why.

This MPlayer package will update Puppy's libdvdcss and libdvdread libraries. I'm not sure if this will affect other media players such as Xine.

Regarding IVTV:
Most IVTV-compatible TV tuner cards contain MPEG2/4 encoding chips, so the the tuned TV signal can be compressed and saved as a file. These cards are usually identified as "PVR" models. The "pvr" option failed to compile in MPlayer-1.0rc2, but I believe that it's possible to simultaneously record a TV signal and watch it with MPlayer at the same time by doing this -
Code:
mkfifo test.mpg
cat /dev/v4l/video0 > test.mpg | mplayer test.mpg


Regarding mencoder:
This has been compiled and packaged with the XviD (xvidcore), x264, and faac libraries, to enable encoding with these additional codecs.

UPDATE Oct 27 2010:
LIRC modules attached to support infrared remote control.
The Puppy3.x/4.0 package is modules only, because the MPlayer package contains the required LIRC libraries.
The Puppy4.1 package is modules plus full upgrade of libraries.
The Puppy5.1 package is modules plus full upgrade of libraries.
The MPlayer-1.0rc2 package installs a LIRC HOWTO in /root/my-documents
lirc-0.8.7-k2.6.33.2.pet
Description  for Puppy 5.1.x
pet

 Download 
Filename  lirc-0.8.7-k2.6.33.2.pet 
Filesize  474.76 KB 
Downloaded  851 Time(s) 
MPlayer-extra-libs.pet
Description  for Puppy 4.x FIXED Oct 20 2008
pet

 Download 
Filename  MPlayer-extra-libs.pet 
Filesize  14.71 KB 
Downloaded  3049 Time(s) 
lirc-0.8.3-k2.6.25.16.pet
Description  for Puppy 4.1
pet

 Download 
Filename  lirc-0.8.3-k2.6.25.16.pet 
Filesize  276.66 KB 
Downloaded  1587 Time(s) 
lirc-0.8.2-k2.6.21.7.pet
Description  for Puppy ver 3.x and 4.0
pet

 Download 
Filename  lirc-0.8.2-k2.6.21.7.pet 
Filesize  76.1 KB 
Downloaded  1336 Time(s) 

Last edited by tempestuous on Wed 27 Oct 2010, 10:28; edited 9 times in total
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Wed 20 Feb 2008, 10:12    Post subject:  

To integrate MPlayer with Firefox or Seamonkey there are several methods, but the best is considered to be MPlayerplugin.
MU provided Mplayerplugin-3.50 here -
http://www.murga-linux.com/puppy/viewtopic.php?t=25591
Back to top
View user's profile Send private message 
shenen

Joined: 03 Dec 2006
Posts: 39

PostPosted: Fri 22 Feb 2008, 01:58    Post subject:  

tempestuous,

Thank you very much. Playing 3gp file now have a sound.(puppy 3.01)
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Mon 12 May 2008, 03:53    Post subject:  

I just checked this version of MPlayer in Puppy4.00. This version needs the (large) xorg_xorg_full_dri-7.3 petget package to be installed, mainly to obtain the libXvMC library, then it launches successfully and works well.
Use this version instead of the official MPlayer version if you want one of the specialised features listed in the first post, such as DVD menu support.

EDIT: the large xorg_xorg_full_dri-7.3.pet is no longer necessary. Just install MPlayer-extra-libs.pet from the first post.

Last edited by tempestuous on Mon 19 May 2008, 12:06; edited 1 time in total
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Mon 12 May 2008, 03:59    Post subject:  

I see a few posts on the forum lately about DVD playback performance, especially related to older computers.
For optimal video playback performance under Linux, you should ALWAYS use the Xorg server and "xv" output (XVideo overlay) with either MPlayer or Xine. This enables hardware assistance (colour space conversion and scaling) by the graphics card's onboard processor (GPU).
With the "x11" video output there is no hardware assistance and the CPU does all the work. On more powerful modern computers this handicap may not be noticeable, but on older computers the effect will be obviously poor playback; the picture will "stutter".

EDIT: The xv video output also provides borderless fullscreen display. And the fullscreen function under xv creates no additional CPU load.

Be aware that several other MPlayer versions available on this forum DO NOT support xv video output.
I have attached an image of where you will see the xv option appear in the preferences menu.

Regarding minimum specification for DVD playback, the requirement in Linux is the same as it is in Windows - Pentium2 or equivalent with AGP graphics interface and minimum 16MB graphics memory.
mplayer-xv.jpg
 Description   
 Filesize   46.82 KB
 Viewed   17643 Time(s)

mplayer-xv.jpg


Last edited by tempestuous on Mon 12 May 2008, 09:24; edited 1 time in total
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10750
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 12 May 2008, 07:02    Post subject:  

tempestuous wrote:

Hello
Okay your pet package is 5Mb plus the xorg_full is 19MB we are talking 24MB min compressed for mplayer to work on Dingo, I tried it and it still wouldn't work for me.

Big bass as you know has a package that is 28MB and works without the xorg_full, his is just all codeC and a lot are windows naughty naughty

Barry has a 2MB package compiled for dingo 4.0 on the petget 4.0 manager that doesn't work out of the box it crashes the same as yours. It shows 2 boxes one is black and the other is white.

Ok we have 3 pet packages of the same program compiled different ways and different sizes. 24MB, 28MB, 2MB
I'm just wondering maybe someone could compile a 5MB version like we used to use, A lot of useless Codec's are beeing shot in, All we need is dvd.xvid,divx,svcd,vcd,Mpeg1,2,3,realmedia.wma,Quicktime, plus your regular video streams, ? kind of like xine has.
I just think that older computers would run better if the media player package compressed was around 20MB smaller.
Would of been great if Barry's 2.1MB version worked.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

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

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Mon 12 May 2008, 09:14    Post subject:  

Ah, I know what causes the crash; it's a problem with how gmplayer is launched from the JWM menu.
If you launch gmplayer from the terminal, you will see that both versions (mine and official) launch successfully.

The fix for the menu is to add a space and "&" to the end of the relevant launch script.
For my version see the update to the first post in this thread.
Of course, if you use my version for DVD menu support the application needs to be launched from the terminal, anyway.

For the official petget version this means modifying /usr/bin/mplayershell
This launch script is meant to handle various configuration issues and detect the presence of a DVD, but I found that a DVD would fail to launch using this script.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Mon 12 May 2008, 09:21    Post subject:  

ttuuxxx wrote:
... plus the xorg_full is 19MB ...

Yes, but that's not wasted space. It's worth having the full Xorg package. Amongst other things, it provides the necessary core libraries for DRI (3D) support.

EDIT: the large xorg_xorg_full_dri-7.3.pet is no longer necessary. Just install MPlayer-extra-libs.pet from the first post.

Regarding extra codecs; please, please don't install the "extra codecs" with my MPlayer package.
I carefully considered all worthwhile codecs, and properly enabled the necessary support libraries, as explained in the first post.
The "extra codecs" package is a (large) waste of space.

Last edited by tempestuous on Mon 19 May 2008, 12:07; edited 1 time in total
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10750
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 12 May 2008, 10:20    Post subject:  

tempestuous wrote:
ttuuxxx wrote:
... plus the xorg_full is 19MB ...

Yes, but that's not wasted space. It's worth having the full Xorg package. Amongst other things, it provides the necessary core libraries for DRI (3D) support.

Regarding extra codecs; please, please don't install the "extra codecs" with my MPlayer package.
I carefully considered all worthwhile codecs, and properly enabled the necessary support libraries, as explained in the first post.
The "extra codecs" package is a (large) waste of space.


thanks for explaining that, I wasn't trying to complain, I was really just wondering why myplayer is getting into VLC size, I tried building a VLC 9.0 package but failed Confused It did startup but wouldn't play anything, The new version sure does have a lot more functions, I like the new look and feel of it.
anyways thanks for being a great help Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

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

Joined: 14 Jan 2007
Posts: 156

PostPosted: Mon 12 May 2008, 11:36    Post subject:  

Hello,

What am I doing wrong? I just installed the MPlayer-1.0rc2.pet file, neither "mplayer" or "gmplayer" runs a GUI as is pictured. Do I need a special GUI, or is that in the other files - the "unichrome" pet etc and the rest - that are listed?

Best to all,

David
Back to top
View user's profile Send private message 
cartz

Joined: 08 Apr 2008
Posts: 85

PostPosted: Thu 15 May 2008, 00:43    Post subject:  

I can't get this to work in puppy 4.00.

I have installed:
mencoder-1.0rc2
Mplayer-1.0rc2
xorg_xorg_dri-7.3-1

I also altered .jwmrc as described.

When I run it in terminal I get the error:

gmplayer: error while loading shared libraries: libXvMC.so.1: cannot open shared object file: No such file or directory


Does anyone have any ideas what I am doing wrong?

Thanks,

cartz.
Back to top
View user's profile Send private message 
cartz

Joined: 08 Apr 2008
Posts: 85

PostPosted: Thu 15 May 2008, 01:10    Post subject:  

Just tried it on another machine and it worked fine.

I think the install of xorg_xorg_dri-7.3-1 must have dropped out on the other machine so I have uninstalled it and am downloading it again now. I then expect that it will work.

Cheers,

cartz.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Mon 19 May 2008, 12:12    Post subject:  

Puppy4.0 is missing a few library files required by this version of MPlayer, so I have now attached a dotpet package with the necessary files to the first post.
It's no longer necessary to install the large xorg_xorg_full_dri-7.3.pet package, unless you want full 3D support and/or XvMC support.
Back to top
View user's profile Send private message 
sketchman


Joined: 01 Jun 2006
Posts: 251
Location: West Virginia, USA

PostPosted: Mon 19 May 2008, 20:02    Post subject:  

I have the following installed in Puppy 4.0.

mencoder-1.0rc2
Mplayer-1.0rc2
xorg_xorg_full_dri-7.3.pet

Mplayer starts fine, but won't play a video in "xv" mode. the only mode that works is "x11". The video will play fine in this mode, but only at its normal size. Ctrl+F makes the window fullscreen, but the video remains the same and just gets surrounded by black space.

If I try to open a video in "xv" mode, I get the following error. To me it looks like the drivers aren't working, but I don't know how to check that.
temp.jpg
 Description   
 Filesize   110.57 KB
 Viewed   3581 Time(s)

temp.jpg


_________________
"In a world that exists without walls and fences, who needs Windows and Gates?"
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Mon 19 May 2008, 20:38    Post subject:  

I just tried MPlayer now with Puppy4.0 on my old Pentium2-350 with nVidia graphics card and "nv" (non-3D) Xorg driver. Works great.
Are you sure you're using Xorg? Or maybe you're using the generic "vesa" Xorg driver?

Try launching mplayer from the terminal so it will report what's happening.
Code:
mplayer /path/to/myvideofile


You will see lines scroll by as MPlayer analyzes your video file and chooses the best codec, then you should see this line -
Code:
VO: [xv] 352x288 => 376x288 Planar YV12
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 5 [67 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
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.1123s ][ Queries: 13 (0.0074s) ][ GZIP on ]