LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2002, 09:12 AM   #1
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Rep: Reputation: 30
lil help with videos & picture uploads


I cant for the life of me figure out what I need to see mpeg and/or avi videos on my Linux box. I checked all the packages that I thought would play videos but nothing. I basically just need something comparable to windows media player. What program do I need to get? I know I installed the wine package but how does that work? Can windows media be installed with wine?

Also I have found that when I try to upload pictures from my browser that they dont upload. I realized this problem the other night when I was doing Ebay listings. I would select the pictures to upload and it would look like it was going but then when I viewed the listing, no picture. I also saw the same thing when I tried to post a picture on another forum. I was able to upload the same pictures on one of my windows boxes with no problem. I fighure maybe the slashes being the opposite of DOS/windows could have something to do with it but if thats the case is there a workaround. I am trying to get toi where I can do anything on my Linux box that I can on a windows box but I do alot of Ebay auctions and the pictures are a problem. I have tried with both Red Hat and Mandrake with the same result.

Thanks
-Mike
 
Old 09-10-2002, 09:22 AM   #2
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Get mplayer or xine.They both got rpm packages for RH.
 
Old 09-10-2002, 09:35 AM   #3
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
I have Xine and Mplayer and I just get errors about not having supported codecs of somesuch. Is there som package that they are dependant on that I may not have?
 
Old 09-10-2002, 09:44 AM   #4
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You need win32.That goes to /usr/lib/win32 - probably not included.
Get it at http://www.mplayerhq.hu
 
Old 09-10-2002, 06:43 PM   #5
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
Ok I went and downloaded the mplayer and followed the installation instructions. It appeared to install fine, but where is it now that it is installed? It isnt listed in my programs.
 
Old 09-11-2002, 04:51 AM   #6
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Just open a terminal and type mplayer - will give you the options for mplayer.If you got the gui installed type gmplayer.That will bring up the gui.
How you add it to your menu depends on the desktop or windowsmanager you use.
If you don't find it type whereis mplayer in a terminal.
From yor post it seemed that you had mplayer and xine already installed.All you need to do there is install the win32 part.
With xine you can open the configuration from the gui (its a little wrench on the bottom left corner of the default gui) go to codec in the menu that pops up and check 'path to win32 codec dll's' - should be /usr/lib/win32
Make sure they are in /usr/lib/win32
 
Old 09-11-2002, 10:18 AM   #7
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
The commands come up when I do mplayer but I dont see the option to pen a file, and gmplayer gives me a command not found so maybe the gui didnt install. I will try it again. I would like it to act like windows media player where I just click an a video file and it opens with the mplayer app, is that possible and how would I go about setting it up to do that. BTW I am using RH7.3 with the Ximian Gnome Desktop package.

Thanks
 
Old 09-11-2002, 11:06 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, I will try to help with both parts of your question...

Mplayer, if you installed via RPM, you have no gui. gmplayer is not installing. You will need to compile from source to enable that. There are loads of threads on compiling mplayer, so I won't go into that other than, you may have problems with your gcc version. There are also threads about that though.

If you get that accomplished, you can then do program association. You could probably do it now, and use mplayer via command line, but that is beyond me. My instructions are for KDE because I hardly ever use Gnome, but it's probably similar. You need program assocation, and to attain that, you go to K---Prefs---File Browsing---File Association. Locate the extension(s) you wish to associate with gmplayer (probably .avi and mpg but can do MANY others), and add that as a program. To have it be the first one of choice, you will need to have it at the top of the list.

Ok, now for your upload problem...

You said you tried with 2 distros, but did you try with different browsers? It may be a browser issue, you might wanna try mozilla or netscape, or something else that is more "widespread" like that (maybe Opera). Also, the site might be "IE friendly" boo for that. You might wanna contact the webmaster and let them know. Don't expect much though, but it's worth a shot.

Cool
 
Old 09-11-2002, 10:06 PM   #9
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
Thanks alot for the help, I did manage to get the GUI and default skin package installes. I can launch it now from a command like with gmplayer and the GUI comes up. Problem is that when I point to a file to open I get the following error-

Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 32000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 4000->128000 (32.0 kbit)
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support, and read Xv section of DOCS/video.html !
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
Error opening/initializing the selected video_out (-vo) device!



MPlayer interrupted by signal 11 in module: uninit_acodec
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b.
- 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/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.
[root@localhost software]# xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present
[root@localhost software]#


Any Idea what no Xvideo support means? Also, how do I put a shortcut to mplayer in my programs menu?
 
Old 09-12-2002, 01:33 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Shortcut, again, I don't use gnome, so hopefully someone who does can help ya there..

Mplayer vo..

In the latest mplayer to can specify in the gui what vo you wish to use. Right click and choose prefs. Click on video and pick one that suffices.

Cool
 
Old 09-12-2002, 01:51 PM   #11
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
I got it working for the most part. I changed the video output driver in the preferances to x11, and I also figured out how to do the shortcuts. You just right click on the launcher panel and select edit panel and it pulls up a window where you can add and remove programs, change icons etc. Its pretty cool. My only problem now is that it starts to play a video and then tells me my system is too slow, but it will play it kinda frame by frame. My new motherboard should arrive today or tomorrow that will hopefully fix that problem. Thanks for helping me get it going though.

-Mike
 
Old 09-12-2002, 11:37 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
No problem

The reason it's probably running slow is the -vo x11 option. It's not the fastest kid on the block. To find out other options (well actually they should be listed in prefs in gmplayer...) type mplayer -vo help and it will list your options. Try each one til you find the one that best fits your needs. If they all go slow, you may want to head over to the mplayer mail lists and see if you can figure out what's going on, and maybe make it go quicker. mplayer -vo xv is one of the 2 that work best for me.

Cool
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
uploads 0bytes Master Fox Programming 6 01-17-2005 04:07 AM
VSFTPD Uploads das9570 Linux - Software 0 01-16-2005 03:30 PM
big uploads cristi1979 Linux - Networking 1 07-02-2003 11:34 PM
Very dumb.. Uploads? NSKL Linux - Newbie 3 09-26-2002 08:47 PM
need a guide & a lil info. hinoiri Linux - Software 7 06-18-2002 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration