Pstreamvid v 1.3 - Streaming Video Controller

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#81 Post by 01micko »

Hello Bro

Tried with mplayer, ppa-422, Pstreamvid v 1.2-3. No problems. I was running "top" to monitor processes. The only thing, that when quiting Pstreamvid (BK calls it PstreamTV :lol: ) was that cpu usage increased to 64% for about 2 seconds, nothing to do with mplayer. So there may be a minor issue with how gtk is quitting? I would not have known it if I wasn't running "top". No memory issues.

Hope this helps... and nice work!

Cheers
Puppy Linux Blog - contact me for access

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#82 Post by trio »

01micko wrote:Hello Bro

Tried with mplayer, ppa-422. No problems. I was running "top" to monitor processes. The only thing, that when quiting Pstreamvid (BK calls it PstreamTV :lol: ) was that cpu usage increased to 64% for about 2 seconds, nothing to do with mplayer. So there may be a minor issue with how gtk is quitting? I would not have known it if I wasn't running "top". No memory issues.

Hope this helps... and nice work!

Cheers
version 1.2-3? good. The jump of cpu usage maybe caused by gtkdialog, that's why I changed a bit how it quits in the latest version, plus that jump maybe also caused by the memory flush when quitting, I also tried from terminal (the same way as tasmod's attached pet). it will use cpu a second or two, but really useful to flush the RAM that was used by mplayer for a few channels (not all), usually BBC makes that RAM jump

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#83 Post by trio »

Hmm.. interesting... at the office where the internet is fast, I have no problem with mplayer, even he RAM flush seems to be working good, but when I got home, and tried he sam pstreamvid version, it happens again, The RAM jumps, and even by using the fulsh command it won't go down..key word "internet connection"

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#84 Post by rjbrewer »

Still the same problem, no matter what method or sequence of
quitting the player.
Tried on my pc, which has 1/2 the ram and cpu speed and the
situation was worse. Ram and cpu climbed after quitting and
led to hard drive thrashing and windows freezing, had to restart x.

This does not happen with pup-tv. I can start and stop a channel
as many times as I want without ram or cpu increasing....using
either gxine or mplayer.

Incidentally: Using the same channel on pup-tv and pstream,
pup-tv uses 44/503 ram and pstream uses 74/503 at start.

My wireless connections are good according to different
speed tests.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#85 Post by trio »

Rjbrewer,

I think I lknow now, puptv harcoded every commands, pstreamvid uses many conditionals, fullscreen on off, mplayer, gxine, etc. All auto-detect. I have to make major reconstruction. - need time. Thks for making me think again.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#86 Post by rjbrewer »

Pstreamvid, like Pup-tv before it, are great ideas; I'm in no hurry
and will gladly wait however long it takes to sort out any problems.

Edit:

With pup-tv, I don't use the gui. I have the usr/local/pup-tv folder on
the desktop (with suitable icon). One click and all the exe files are
right there to use. Simpler, easier, faster.

Thanks
rjb

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#87 Post by trio »

Updated to v 1.2-4 - Same functions, reconstructed conditonal commands - thanks rjbrewer

See main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#88 Post by trio »

Updated to v 1.2-5 - seperate kill player for off & quit button - gives a little sleep when quit - prevent jump of cpu usage when quitting

see main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#89 Post by trio »

again I altered the quitting process, please test which one is better 1.2-5 (main post) or 1.2-6

thanks guys
Attachments
pstreamvid-1.2-6.pet
(2.98 KiB) Downloaded 370 times

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#90 Post by rjbrewer »

No significant difference yet. 1.2.5

Pstream nasa channel> 112/503ram. hit quit. 142/503ram. close
mplayer.360/503ram..100% cpu for about 30 seconds. Fan comes
on every time.

Puptv nasa channel> 45/503 ram. close mplayer..instant drop to
23/503 ram. instant cpu drop. fan does not come on.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#91 Post by trio »

rjbrewer, please try 1.2-6

anyway, cpu usage will always be higher when using pstreamvid than puptv, tha is because it's still using conditionals for autodetect - on off fullscreen and mplayer/gxine. Though I hardcoded the commands (mplayer and gxine), will be lighter if I only choose to use gxine, but that's not what we want, right?

The main thing is not to freeze the computer when quitting or changing channels

thanks

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#92 Post by rjbrewer »

1.2.6 the same.

My laptop isn't freezing, but my pc probably will.

Why does pstream need at least 60mb more ram to run the
same channel as puptv?

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#93 Post by trio »

the logic is like this;

puptv - straight to executing mplayer
pstreamvid - conditionals mplayer or gxine, conditonals on or off fullscreen, then executing the command

Maybe putting exec in front of the command will help, I pet up another one for testing - will call it, 1.2-7

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#94 Post by trio »

1.2-7 for testing, putting exec in front of command of mplayer/gxine
Attachments
pstreamvid-1.2-7.pet
(2.96 KiB) Downloaded 622 times

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#95 Post by Sylvander »

1. In BoxPup 4.1.3:
Uninstalled the older version of Pstreamvid, rebooted, installed the new version 1.2-6
SUCCESS!
At "Quit" CPU usage jumps to 100% for only a few seconds, and then drops to a low value.
Image quality is much better in BoxPup than in Puppy 4.2.1-rc3.
Only remaining problem is video window slightly off-screen.

2. Installed the older version [1.2-2?] in Puppy 4.2.1-rc3.
I'd say it was worse there than in BoxPup.
Gxine behaved well, but no video in most channels.
Mplayer had video in all channels, but image quality was low, and video window slightly off-screen.
Problem at "Quit" with CPU usage jump to 100% and remaining there.

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#96 Post by trio »

thanks sylvander, thanks guys

i attached yet another MAJOR reconstruction. Please test. v 1.2-8 is it better? Also be aware, when quitting you have to turn off tv first.
Attachments
pstreamvid-1.2-8.pet
(2.83 KiB) Downloaded 612 times

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#97 Post by rjbrewer »

Okay;

1.2-8 is a big improvement.
Only using about 30mb more ram than pup-tv instead of 60.
Cpu drops down in about 10 seconds insead of 20 or more.

Watching a channel on delicast.com uses same ram as pup-tv.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#98 Post by Sylvander »

BoxPup 4.1.3
Uninstalled Pstreamvid 1.2-7
Installed 1.2-8
Rebooted
With the exception of Mplayer window slightly off-screen, all is looking good; none of the previous problems.

Puppy 4.2.1-rc3
Uninstalled Pstreamvid 1.2-3
Installed Pstreamvid 1.2-7
Refreshed menus, then rebooted.
After playing a couple of channels, "Quit" took 12 sec.
After playing all channels, "Quit" took 60 sec.
PROBLEM!
Firefox wouldn't run.
Rebooted into BoxPup and deleted the Puppy 4.2.1-rc3 files off the Flash Drive, then restored backup copy made immediately prior to 1st install of Pstreamvid.
Will have another go at installing 1.2-8 from new [no previous install].

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#99 Post by trio »

Rjbrewer,

Now we're talking :lol:..we're on a right track I think.. It will always uses more RAM than puptv for reasons I stated earlier. But, if it doesn't make problems, then I'll live with it.

Sylvander,

Mate, try using clean boot, pfix=ram and install v 1.2-8

See what happens anyway, what's your system spec?

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#100 Post by rjbrewer »

I spoke a little too soon. After trying to play a few channels
without completely restarting, the system locked up tight.
Had to resort to a forced power off.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Post Reply