LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-21-2003, 04:08 PM   #1
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Rep: Reputation: 31
Arrow Mozilla, MPlayer and WMF playback


Hi all

I think this is a hardware / settings problem:

When I run a streaming video on my home box, it streams WMFs just fine. When I do the same on my laptop, with the same connection, the playback is strange - it almost appears as though there is a combination of 2 versions of the same stream playing, which makes it very jerky. MPlayer does fine when it is running in standalone mode, playing DVDs etc.

I have not found much looking around the web, or in the manual at the mPlayer site.

Running the same SWare on both machines: Debian testing/unstable. Installed mplayer form the .deb at marillat.fr site, for both machines.
I was not sure whether hdparm is important in steaming, but this is the output, anyway:

/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 3876/240/63, sectors = 58605120, start = 0

Any pointers will be much appreciated!

Steve

The laptop is hp pavilion xf328
S

Last edited by Steve Cronje; 06-21-2003 at 04:12 PM.
 
Old 06-21-2003, 04:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
My guess would be that the laptop probably has less memory and it is shared with the video and that is what is causing the problem. I could be wrong though.
 
Old 06-21-2003, 04:31 PM   #3
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by david_ross
My guess would be that the laptop probably has less memory and it is shared with the video and that is what is causing the problem. I could be wrong though.
I don't think so:

Linux version 2.4.20-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Mit M<E4>r 26 15:37:36 CET 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001eff0000 (usable)
BIOS-e820: 000000001eff0000 - 000000001effffc0 (ACPI data)
BIOS-e820: 000000001effffc0 - 000000001f000000 (ACPI NVS)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
495MB LOWMEM available.

.....

Initializing CPU#0
Detected 1500.090 MHz processor.

from the laptop. The other machine also has 512 MB, but is much slower, 900Mhz IIRC.

Thanks for the thought, though!

Steve
 
Old 06-21-2003, 06:55 PM   #4
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Original Poster
Rep: Reputation: 31
Hmm ... no one seems able to help here. I am going to ask this question in a slightly diferent way in the Software forum, see if that helps

Steve
 
Old 06-22-2003, 05:01 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
this is stream from the net is it not? maybe you are just getting a slower connection? try downloading the entire stream and playing it back localy

mplayer http://bum.com/blah.wmf -dumpstream

mplayer stream.dump
 
Old 06-22-2003, 12:24 PM   #6
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by acid_kewpie
this is stream from the net is it not? maybe you are just getting a slower connection? try downloading the entire stream and playing it back localy

mplayer http://bum.com/blah.wmf -dumpstream

mplayer stream.dump
I don't think it is the net, as there has been a consistent difference between the two machines over several weeks, using the same physical connection.

That said, it would be a good way to settle this, and find out how it would play the same video if downloaded.

My problem is how to get the video! Here is the code from the relevant page, which is at:

http://atomfilms.shockwave.com/af/sp...wallacegromit/

<!-- SET UP FILM -->
<script language="JavaScript">
var id = "free_wallace";
var site = "af";
var film = new Object();
film.url = "/bin/content/video.jsp?id=free_wallace";
film.reqplayer = "wm=1&rp=1&";
film.winsize = new Array(635,488);
film.errorurl = "/af/error/streaming.html";
film.site = "af";
</script>


How do I go about downloading this movie to a local file? I have tried some variations of the page URL combined with the movie URL, but I guess the jsp bit is where the problem lies.

Thank you for the reply.
Steve
 
Old 06-22-2003, 12:44 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
I assume it is the one on the left?
56k = http://atomfilms.shockwave.com/af/sp...ree_wmp_56.asx
100k = http://atomfilms.shockwave.com/af/sp...ee_wmp_100.asx
300k = http://atomfilms.shockwave.com/af/sp...ee_wmp_300.asx
 
Old 06-22-2003, 12:46 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
http://atomfilms.shockwave.com/af/sp...ee_wmp_300.asx

Try that as your URL:
mplayer http://atomfilms.shockwave.com/af/sp...ee_wmp_300.asx
-dumpstream
mplayer stream.dump



Cool
 
Old 06-22-2003, 12:47 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
DOh! Too busy trying to see if it worked to post...

Cool
 
Old 06-22-2003, 01:15 PM   #10
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Original Poster
Rep: Reputation: 31
Thanx for the responses. When I try this:

mplayer http://atomfilms.shockwave.com/af/sp...ee_wmp_300.asx -dumpstream

I get:

..blahblahblah

Playing http://wm.atomfilms.speedera.net/wm....na_wmp_300.asf
Resolving wm.atomfilms.speedera.net ...
Connecting to server wm.atomfilms.speedera.net[208.184.139.124]:80 ...
Resolving wm.atomfilms.speedera.net ...
Connecting to server wm.atomfilms.speedera.net[208.184.139.124]:80 ...
Resolving wm.atomfilms.speedera.net ...
Connecting to server wm.atomfilms.speedera.net[208.184.139.124]:80 ...
Cache size set to 1024 KBytes
Connected to server: wm.atomfilms.speedera.net
Stream not seekable!
Ahhhh, stream_chunck size is too small: 4
Error while parsing chunk header
Core dumped

Exiting... (End of file)

So my chunks are too small?
Any thoughts, oh great penguins
(Would that make the helpful ones here EMPEROR penguins? )

Thanx!
Steve

BTW: How did you construct those URLs?
S

Last edited by Steve Cronje; 06-22-2003 at 01:21 PM.
 
Old 06-22-2003, 01:26 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Try playing it through without dumpstream first, then again with dumpstream. It seems like it's part of the copy-protection possibly.

Cool
 
Old 06-22-2003, 01:43 PM   #12
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by MasterC
Try playing it through without dumpstream first, then again with dumpstream. It seems like it's part of the copy-protection possibly.

Cool
Thanx, Cool.

When I played it in an XTerm, it plays well without dumpstream, no shakes or judders. No sound, but that is another problem, I would imagine.

So why would it play OK in the Term, and not as a plugin?

Steve
 
Old 06-22-2003, 01:48 PM   #13
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Are you using the same browser versions and plugin versions?
 
Old 06-22-2003, 02:00 PM   #14
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by david_ross
Are you using the same browser versions and plugin versions?
mplayer -version

gives me

MPlayer 0.90rc5-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

How do I find the plugin version?

In the preferences menu of Mozilla I find the reference to application/x-mplayer2, but I am not sure how to go from there.

which mplayer2 doen't seem to help

Thanx
Steve
 
Old 06-22-2003, 02:23 PM   #15
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Original Poster
Rep: Reputation: 31
OK, I found this in my pluginreg.dat in my .mozilla directory

Video Player Plug-in for QuickTime and Windows Media Player streams using mplayer:$
mplayerplug-in v0.80 handles QuickTime Windows Media Player Plugin

So the plugin and the freestanding version are not the same. Should they be?

I use Debian, and the available versions are not the same, when I use apt-get (I have the latest version of the plugin)

Steve
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer .mp4 playback Cyber Maid Linux - Software 4 10-11-2007 10:14 AM
MPlayer playback problems ben_dsr Linux - Software 2 05-28-2005 10:20 PM
Xine/Mplayer and Xvid 1.0 playback? yautja666 Linux - Newbie 3 05-24-2004 04:59 AM
mplayer xv playback problem rejser Linux - Software 4 05-22-2004 10:20 AM
DVD playback in Mplayer subservant Linux - Software 8 02-15-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration