++1
Re: GStreamer 1.0 #1301
Posted 17 May 2015 - 16:51
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: GStreamer 1.0 #1302
Posted 17 May 2015 - 17:39
But there other programs that depend on $HOME..
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: GStreamer 1.0 #1303
Re: GStreamer 1.0 #1304
Re: GStreamer 1.0 #1305
Posted 19 May 2015 - 03:10
That's a waste of 2MB or more of RAM for a cache that's going to be lost. Why clear it at all? Let gstreamer manage it's resources - if there are issues with that, then report those issues and fix them, rather than implement hacks.
Why would a normal user not reboot every day? Deep standby will result in a reboot and plenty of users do that.
"Beauty lies in the hands of the beer holder."
Re: GStreamer 1.0 #1306
Posted 19 May 2015 - 06:14
building the cache takes a long time (several seconds), so if gstreamer itself knows when the cache should be invalidated, I'd prefer to keep it on non-volatile storage.
That's right , and idem dito for remarks of peteru.
There is only one time that the gstreamer registry files needs to be removed.
That is by every change off a gstreamer component.
With change I mean when You updated ,remove or add a gstreamer plugin.
I think also for enigma2 update/change (not shure off this one).
This can be done by adding to the concerned bitbake file :
pkg_preinst_${PN}_prepend () { if [ -d "/home/root/.cache/gstreamer-1.0" ] then rm -rf "/home/root/.cache/gstreamer-1.0" fi }
To have it clean at a standard boot it would be A nice idea to adapt the enigma2.sh and change the line :
rm -fR /home/root/.gstreamer-0.10
to :
rm -fR /home/root/.cache/gstreamer-1.0
Re: GStreamer 1.0 #1307
Posted 19 May 2015 - 07:53
(I also don't like the hard-coded '/home/root' in there. Isn't there some solution that would not be Enigma2 specific, i.e. one that could be sent to oe-core or videolan and fix the problem at its root?)
Re: GStreamer 1.0 #1308
Re: GStreamer 1.0 #1309
Posted 19 May 2015 - 08:49
Wouldn't that just kill the cache file on every boot? Then you might as well put it in RAM.
(I also don't like the hard-coded '/home/root' in there. Isn't there some solution that would not be Enigma2 specific, i.e. one that could be sent to oe-core or videolan and fix the problem at its root?)
Yes when this change is done indeed it should kill the cache on every reboot. But as far is I tested , this removal is not needed at all. I even don't know why its in.
Perhaps like pieterg told because off the change off static caps when using dtsdownmix which is now done (in gst-1.0) with a caps query filter.
The removal must well be done by each gst component change.
Concerning the /home/root.
Gstreamer is working like it is done in linux everywhere caching of files into the users home dir. Gstreamer should only by initiated by the user not globally (it's not a deamon).
The stb is a case apart, we are working as root user .
Gstreamer should only be started after that the users home dir is set. And actually this goes up for all programs using user related caches which have the goal to be kept on reboot.
At this time the only good working thing is setting the $HOME in enigma2.sh like athoik did. For an stb it's no problem at all since there is only one user and that's the root user.
Think that modifying enigma2 in such way that gstreamer is only initiated after that the $HOME dir is set would be the right solution, but where to do that ?
Re: GStreamer 1.0 #1310
Posted 19 May 2015 - 19:24
That script launches from /etc/inittab, which doesn't "log on" like interactive shell does, and hence may lack some variables. Since users will never call it, setting $HOMe in there is just fine.
Re: GStreamer 1.0 #1311
Posted 19 May 2015 - 19:28
Which will only work if root has it's home on /home, which usually isn't the case (/root).
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: GStreamer 1.0 #1312
Re: GStreamer 1.0 #1313
Posted 19 May 2015 - 20:31
Which will only work if root has it's home on /home, which usually isn't the case (/root).
By an stb the root dir is under /home. This so and is correct since we are working as root user by an stb. And there is only one user and that is the root user also the superuser.
By a pc You work with a user and NEVER should use the root (if it exist). If the root user exist it's meant only and should only be used for system maintenance never run a program as root user, never compile as root user .
At boot time some programs which are made to start as a deamon may have the need in for some caches that's especially for better performance and faster boot. There its' normal that they use root dir for the caches and since there is no root user logged in the root map is set under / . That's pretty logic and normal.
The udev rules are not there for nothing but very crucial and needs to be used in a correct way. A program should only and only be executed as a user never as super user and never deamonise a standard program on a (linux)pc.
Re: GStreamer 1.0 #1314
Posted 20 May 2015 - 17:59
Christophe, are you really serious trying to lecture me about unix???
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: GStreamer 1.0 #1315
Posted 20 May 2015 - 18:05
So my patch does the work, since it will run only if /home/root exists.
Okay, you win
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: GStreamer 1.0 #1316
Re: GStreamer 1.0 #1317
Posted 21 May 2015 - 14:05
I merged (again) the OE from master to gst, maybe it helps.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: GStreamer 1.0 #1318
Posted 2 June 2015 - 00:21
So, any developments in the meantime, please?
Thanx!!!
Re: GStreamer 1.0 #1319
Re: GStreamer 1.0 #1320
Posted 2 June 2015 - 08:40
Usually no news is good news, otherwise people would have been complaining....
Keep up the great work, guys!
Also tagged with one or more of these keywords: gstreamer, 1.0, openpli
DVB subtitles support in eServiceMP3/GStreamerStarted by DimitarCC, 17 Oct 2024 DVB, Subtitles, GStreamer |
|
|||
Change from openvix to openpli - lose existing hdd recordings?Started by xdoktor, 30 Dec 2023 openpli, openvix, hdd, recordings |
|
|||
Having Trouble While Installing This SoftwareStarted by CharleyDavis, 27 Jun 2023 OpenPLi |
|
|||
Faild to flash or update OPENPLIStarted by dede_one, 8 Oct 2022 openpli |
|
|||
hd+ funktioneret nichtStarted by JeppeG, 29 Sep 2022 Vu+, hd+, oscam, openpli |
|
3 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
-
Bing (2)