Jump to content


christophecvr

Member Since 19 Jun 2011
Offline Last Active 05 Oct 2021 07:08
*****

#516251 Hbbtv

Posted by christophecvr on 28 November 2015 - 17:28

Ja het enig dat ik nog kon doen was een patch om alle enigma2 demuxer patch werk ongedaan te maken.

 

Met deze patch toegepast op de huidige laatste enigma2 werkt hbbtv weer goed.

 

Dan kan de maker als hij zin heeft de fout in zijn code opsporen en herstellen.

 

Maar tja ..... 't is de driver zegt hij ........

Attached Files




#512268 Physical CD/DVD support enigma2.

Posted by christophecvr on 5 November 2015 - 16:24

Thanks Christophe. It looks like we have all the relevant patches except for the fix for "GSOD error if Images where made whotout Hotplug support." However, that one should not matter because we do have hotplug support.

 

I think I'll put this on the backburner until I can get some hardware so that I can test with an optical drive. I'm sure that once I can actually see what is going on, I'll get results much faster. Right now all I get is reports from users that say "The only way to make the DVD Player plugin appear in the second column is to reboot or restart the GUI with a disk already inserted in the drive." :-(

 

It sounds like some kind of a hotplug issue, however I know that hotplug works properly with USB sticks.

It is well  all based on hotplug support this means that is required. In pli4 enigma2 the hotplug support is a default add, and all removable media is based on it.

 

pli4 uses busybox version off mdev for base device mount/unmount managing (not udev).

 

See also the changes about busybox where a crucial issue (very crucial it's a blocker if not done right) is needed concerning the launching off bdpoll.c which is the cd/dvd state poller and required for detecting removal/insertion of a cd/dvd.

 

see commit https://github.com/O...a95f15061e5058a




#507735 Physical CD/DVD support enigma2.

Posted by christophecvr on 3 October 2015 - 08:11

@Beeker,

 

Here another patch for hotplug-e2-helper, should also play those cd's with not only redbook (audio only layer)

 

By this patch I added for extra info a file which shows the cd media-type and number off tracks as check.

This file should be found in /media/ and called cdromcontents.txt curious what is announced by the 3 cd's which are not working.

 

Here the patch for hotplug-e2-helper.

 

 

Attached Files




#507169 Physical CD/DVD support enigma2.

Posted by christophecvr on 29 September 2015 - 07:04

@MiLo

 

I now just found the reason why tremendous amounts off bdpoll session where started. (and so causing mem leak and the same amonts off hotplug retries case used but not mounted media)

 

It was in mdev.conf.

 

Was set :

sr0     	 0:0 	664		*/usr/bin/bdpoll sr0 -c

Using the */ does cause each time a cd/or dvd is inserted and removed a whole bunch off bdpoll sessions for the very same device sr0.

First up on detection off new sr0 device bdpoll should be started for that device. But not restarted over and over up on removal off media, or during the phase that the reader is polling the cd, by each poll it will trigger a new bdpoll start.

That's cause by : (see busybox manual mdev.conf)

The special characters have the meaning:
	@ Run after creating the device.
	$ Run before removing the device.
	* Run both after creating and before removing the device.

The * will trigger before removing device during the polling phase off the cd/dvd the more time it takes the more consecutif bdpoll sessions where started.

 

By just replacing the * with @ problem solved and the hack I made in bdpoll is not required anymore :)

 

Since actually on a stb it also works with extrenal usb dvd/cd reader writers an extra change must be made :

The hard targetting to sr0.

 

The line must become :

sr[0-9]     	 0:0 	664		@/usr/bin/bdpoll $MDEV -c



#503669 Physical CD/DVD support enigma2.

Posted by christophecvr on 5 September 2015 - 11:18

@littlesat , @MiLo , @Pieterg and any dev interested.

 

I just revised the previous hotplug-e2-helper patch (bdpoll). Now If You remove the cd or dvd the device and mointpoint will be cleared out off loactions list. Also the Mediaplayer will not have a map with the device friendly name for each dvd or cd you inserted and removed.

 

The Harddisk.py just needed to know that device could be removed from hotplug helper. That's now added in this patch.

 

Only the hotplug patch is changed. I just add the previous DVDplayer plugin patch this was ok and works perfect now.

 

 

Attached Files




#501956 LCD4Linux bug kan instabiliteit in image veroorzaken

Posted by christophecvr on 22 August 2015 - 15:42

Blijkbaar is de oplossing, een paar keer #

https://github.com/e...py/pull/1/files

 

Allesbehalve een oplossing denk ik zo, krijg je na een paar bugs zo op te lossen, wel een zeer stabiele plugin met enkel comments.

Het is altijd gemakkelijk om commentaar aan de zijlijn te geven. Maar die patch was .... is niet bedoeld om permanent daar te zijn. Maar enkel om een zéér zéér zéér zware algemene bug op vuduo2 en of solo2 tijdelijk op te lossen. En is hoogst noodzakelijk en dringend. Nu in mijn tweede patch ach ja heb zelf gemerkt dat ik de verkeerde file had gezet nadien dat recht gezet , dan was ik weer aangenaam getrakteerd van uw zijlijn comment . Ach de beste schipper staat op de wal :P

 

Die patch lost het probleem echt op , ....... Maar eigenlijk mag de LCDPlugin de pointer instantiering aangaande audio niet doen, daar dit moet gedaan worden door de mediaservices. wat die plugin mag doen is checken of de data avbl is en indien zo gebruiken.




#498884 GStreamer 1.0

Posted by christophecvr on 22 July 2015 - 12:34

Some updates for gst-1 branch. Subtitles.

 

I did found a solution to the last error with external srt.

on vuduo2 it works perfect.

 

Since still no gstreamer I can't make a clean patch. (For that I first need to have the real last commit off enigma2 pure pli4 git version)

 

Also I noticed that the vob subtittle support was already tried out. Did worked quit ok, but caused other bugs.

 

The other bugs where well more cause gst-0.10 is so buggy further the sequencing is very wrong in gst-0.10 enigma2. (could be required due to buggy gst-0.10)

 

gst-1 is pretty stable (1.5.1 actually 1.4.5 was already)

bugs ? off course there still some, comparing to 0.10 it's almost none.

 

Can gst-1 give more problems then gst-0.10 ?

  There may be more problems, they are not due to gstreamer-1.0  but due to bad implementation off gstreamer into the plugins.

  A lot off hack's,work-arounds and not updated code to the new standards off linux kernels,libc,c++,c and gstreamer self (which by gst-1.5.1 is well updated to this standards).

 

Some schedule when to expect a beta gst-1 pli4 image ?

Well I can't tell, that's up to the pli4 dev team and it's not so an easy task (a lot off work).

 

Concerning having the perfect mediaplayer for gst-1,

There I'm working on I expect .... hope around september.




#497737 GStreamer 1.0

Posted by christophecvr on 12 July 2015 - 18:42

@littlesat ,

 

I just noticed a small enoying bug in cuesheet support.

 

If a media did not had a cuts file and the user did not ad a cut. There was always a cuts file saved but an empty then.

 

Also If A user made a cuts file and did removed all the cuts he made. The cuts file remained empty then.

 

Now If there was no cuts file loaded or user did not add cuts or just removed previousely made cuts

There will be no empty cuts file made or left.

 

Sorry had forgotten on that.

 

Included the small patch for current e2.

 

 

Attached Files




#497656 GStreamer 1.0

Posted by christophecvr on 11 July 2015 - 23:42

So it there is no danger to push them? This includes patch #4 the recording patch?

No no danger, and I even just made a full build with the 4 patches applied for vuduo2 and dm8000 with gst-0.10 no problem




#497594 GStreamer 1.0

Posted by christophecvr on 11 July 2015 - 16:08

The sequence problem at start for media which needs servicemp3,gstdvbaudiosink and or gstdvbvidieosink is solved.

It was just the playbin which was already in playing fase while the rest was not.

Now servicemp3 will initiate, once playbin is initiated and the servicemp3 state goes from NULL to READY,

The gst_state off the playbin will be set in paused. Until all media required settings (caps tags and tocs) are obtained and set . Once this is done the playbin will go to gst_state playing.

Then only the gstdvbvideosink,gstdvbaudiosink and or gstsubsink will proceed to playing.

 

I did all the code only for gst-1 .

 

If You work with the current gst-1 branch. You need to apply three patches in sequence to e2. They marqued 01.. 02.. 03 ..

 

Also You best use the latest commit from gstreamer1.0-plugin-multibox-dvbmediasink  experimental branch

 

https://github.com/c...ee/experimental

 

Would be nice if others test it out by me it works good by dm8000 and vuduo2.

 

Now the base enigma2 player does have chapter support for mkv movies with gst-1 100 %

The sync issues audio video are gone. 100 %

internal subtitles 100 % . (no vob support yet)

 

the external srt subtitles do start perfect at media start, at this point also 100 %

But by resuming a movie which was stopped sometimes they still do not start. (solution just resync you're current audio track and ok or wait +- 2 minutes).

resync audio just simple once You're movie is playing at the remove position, yellow button The cursor will be on the current used audio track just press ok and you're done.

 

pause unpause 100 % ok (use well gstreamer1.0-plugin-multibox-dvbmediasink experimental.)

 

 

 

 

 

Attached Files




#497351 GStreamer 1.0

Posted by christophecvr on 9 July 2015 - 15:39

Nice work thanks when is it ready for Openpli

 

We just find out that there is a sequence issue from the moment enigma2 uses any gstreamer utility . This has been always there even with gst-0.10, since  gst-1.0 is more efficient and per-formant the side effects are showing up faster. with .... shit as result.

Now the cause is found , we are busy to find the best solution. It is well deep into core use , which means it's a change deeply in core off enigma2 and ..... will take quit a lot of time and testing.

 

Once this issue is solved then perhaps a real(beta) pli4 image with gstreamer1.0 can be made avbl for everyone. I gues a couple off months .

 

There are actually a lot off libraries who needs  to be updated, these are all going pretty deep into ops arch system and enigma2 core.

Once they are all done then indeed the image with base gst-1.5.1  or higher can be published officially.

 

Unfortunatelly now we are not far enough, If everything goes ok we should have a perfect image before end off this year.




#496787 GStreamer 1.0

Posted by christophecvr on 4 July 2015 - 11:28

Here the patch off hotplug-e2-helper for the audiocd case with gstreamer-1.0

 

 

Attached Files




#496500 GStreamer 1.0

Posted by christophecvr on 2 July 2015 - 12:20

Here the same. A lot of activity(LED blinking).But no audio..Correct?

Now it works here almost ok.

 

I well messed around with several libs.

 

First I have to do a fresh flash . To have everything default. And see what now really needs to be adapted.

 

To have it working at base it's really not that much. However some things in mediaplayer , cdtextinfo , e2hotplug and enigma2 do need modifications to have it all perfect.

 

The bad news by this all is:

 

Indeed enigma2 is not full ready for gstreamer 1.0 ok by me it works but I do know tricks to let it work ok. It must be ok for the persons who hardly know something about IT, linux, pc's or boxes.

 

The good news gst-1.5.1 is really much more performant then gts-0.10 . And actually everything works . It's pretty up to date to linux kernels glibc ,gcc compilers and g++ compilers.

 

Now it's to hot here inside to continue I do not have airco.




#496491 GStreamer 1.0

Posted by christophecvr on 2 July 2015 - 11:14

Gotcha with cd support ot at least a solution.

 

There needs to be a link called cdrom in /dev  to /dev/sr0

 

playing with gst-1.5.1  on dm8000 dvd/writer  conncted on sata DVD connector

root@dm8000:/dev# gst-launch-1.0 -v playbin uri=cdda://4
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri = cdda://4
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source = "\(GstCdParanoiaSrc\)\ source"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: always-ok = false
Pipeline is PREROLLING ...
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: active = true
/GstPlayBin:playbin0/GstInputSelector:inputselector0: active-pad = "\(GstSelectorPad\)\ sink_0"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstCdParanoiaSrc:source.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstQueue2:queue2-0.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
WARNING: from element /GstPlayBin:playbin0/GstPlaySink:playsink: No volume control found
Additional debug info:
/home/christophe/openpli40-gst1/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/gst-plugins-base-1.5.1/gst/playback/gstplaysink.c(2875): gen_audio_chain (): /GstPlayBin:playbin0/GstPlaySink:playsink:
Volume/mute is not available
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstQueue2:queue2-0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:audio_sink.GstProxyPad:proxypad1: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstTee:audiotee.GstTeePad:src_0: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin.GstGhostPad:sink.GstProxyPad:proxypad5: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstQueue:aqueue.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstQueue:aqueue.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin.GstGhostPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstTee:audiotee.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstTee:audiotee.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:audio_sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad0: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstCdParanoiaSrc:source: track = 4
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ discid\=\(string\)510a5808\,\ discid-full\=\(string\)\"510a5808\\\ 8\\\ 182\\\ 25215\\\ 45605\\\ 76237\\\ 106387\\\ 122362\\\ 155265\\\ 173640\\\ 2648\"\,\ musicbrainz-discid\=\(string\)9NwzGUhDYjletoYbzP7.VPh2YWA-\,\ musicbrainz-discid-full\=\(string\)\"01\\\ 08\\\ 0003089C\\\ 000000B6\\\ 0000627F\\\ 0000B225\\\ 000129CD\\\ 00019F93\\\ 0001DDFA\\\ 00025E81\\\ 0002A648\"\,\ track-count\=\(uint\)8\,\ track-number\=\(uint\)4\,\ duration\=\(guint64\)402000000000\;"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioConvert:conv.GstPad:src: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioResample:resample.GstPad:src: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:src: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink.GstProxyPad:proxypad2: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAutoAudioSink:audiosink/GstDVBAudioSink:audiosink-actual-sink-dvbaudio.GstPad:sink: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:src.GstProxyPad:proxypad4: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioResample:resample.GstPad:sink: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioConvert:conv.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2"
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock



#496385 Openpli Quick setup Ubuntu/debian

Posted by christophecvr on 1 July 2015 - 14:45

Yes You have one you just looking at the wrong place.

 

It is not in source . !!! its' in build dir.

openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/build/gst-libs/gst/video

first build normally.

 

cd openpli-oe-core/build

source env.source

 MACHINE=<you're machine> bitbake <You're image  or openpli-enigma2-feed>

 

wait until the build stops You will find the error about gstreamer base.

 

cd to patch I give aboth.

 

and You will find the file video-orc.h

 

Add the line like I explained.

 

and just simply again continu build with :

 

MACHINE=<you're machine> bitbake <You're image  or openpli-enigma2-feed>