Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all 1698 articles
Browse latest View live

AAC to AC3 transcoding

$
0
0

Many AV-receivers cannot decode AAC streams when AAC passthrough is supported. This means that it's not possible to hear multichannel AAC.

To improve this situation I've created simple aactranscode gstreamer plugin which transcodes AAC to AC3 and passes it to dvbaudiosink.

 

There is no dowmixing so you've all channels in AC3 as in AAC, however price is degraded quality, since AAC and AC3 are both lossy codecs

 

How it works:

- aactranscode is sink bin which consist's of connected aac decoder, audioconvert, audioresample, ac3encoder and dvbaudiosink elements.

- aactranscode accepts only AAC caps, which means that it's selected only for AAC audio, however rank of aactranscode is lower then dvbaudiosink, so dvbaudiosink has to also not add AAC caps for aactranscode to be selected

- dvbaudiosink knows when to not include AAC caps by reading /etc/gstreamer/aactranscode file, if it contains ac3 or eac3 then AAC caps are not added

- aactranscode knows what kind of transcoding to use by reading /etc/gstreamer/aactranscode file, if it contains eac3 then AAC to E-AC3 transcoding is used else it's AAC to AC3

 

Dependencies: gstreamer1.0, gstreamer1.0-libav, (it's not possible to use gstreamer-0.10 since it's missing ac3 encoding element)

 

Installation:

1. 0001-added-aactranscode-plugin.patch is for gst-1.0 branch of gst-plugin-dvbmediasink

2. 0001-added-AAC-transcoding-support-to-AC3-EAC3.patch is for master branch of openpli-enigma2

 

3. update your machine config in openpli-oe-core:

This is mine for vusolose:

diff --git a/conf/machine/include/vuxxo2.inc b/conf/machine/include/vuxxo2.inc
index 6004c5a..c1efa1a 100644
--- a/conf/machine/include/vuxxo2.inc
+++ b/conf/machine/include/vuxxo2.inc
@@ -10,7 +10,8 @@ KERNEL_MODULE_AUTOLOAD += "xfs"

 MACHINE_EXTRA_RRECOMMENDS = " \
        vuplus-shutdown \
-       gst-plugin-dvbmediasink \
+       gstreamer1.0-libav \
+       gstreamer1.0-plugin-dvbmediasink \
        ntfs-3g \
 "

@@ -24,7 +25,8 @@ EXTRA_IMAGEDEPENDS += "\
 TARGET_ARCH = "mipsel"
 DEFAULTTUNE = "mips32el"

-DVBMEDIASINK_CONFIG = "--with-wmv --with-pcm --with-eac3"
+GST_VERSION = "1.0"
+DVBMEDIASINK_CONFIG = "--with-wmv --with-pcm --with-eac3 --with-aactranscode"

 PREFERRED_VERSION_linux-${MACHINE} = "3.13.5"

4. update gstreamer1.0-plugin-dvbmediasink recipe or use bbappend with added line

diff --git a/meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugin-dvbmediasink.bb b/meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugin-dvbmediasink.bb
index 57d7b35..b2b2e83 100644
--- a/meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugin-dvbmediasink.bb
+++ b/meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugin-dvbmediasink.bb
@@ -21,6 +21,7 @@ PKGV = "${GSTVERSION}+git${GITPKGV}"
 inherit autotools pkgconfig
 
 FILES_${PN} = "${libdir}/gstreamer-${GSTVERSION}/*.so*"
+FILES_${PN} += "${sysconfdir}/gstreamer/aactranscode"
 FILES_${PN}-dev += "${libdir}/gstreamer-${GSTVERSION}/*.la"
 FILES_${PN}-staticdev += "${libdir}/gstreamer-${GSTVERSION}/*.a"
 FILES_${PN}-dbg += "${libdir}/gstreamer-${GSTVERSION}/.debug"

Now you can build your image.

 

 

By default is AAC transcoding turned off. You can turn it on by setting Setup/System/AV settings/AAC transcode to AC3/E-AC3. In case you don't use patch for enigma2 you can turn on AAC transcoding like this:

echo -n "ac3" > /etc/gstreamer/aactranscode

For now I tested it on vusolosev2 connected via HDMI to AV receiver, cpu usage is around 10%, works good. On et4x00 it's 97% and sound was choppy, so you need fast receiver.

Attached Files


open pli with SSL 89 bootloader 89

$
0
0

Hi i am looking for openpli  SSL 89  Bootloader 89  I can find it in, 84, 84d, 87, 88, but not in 89. will Openpli doing an update so we can use it 

Kodi Adult Addons

IPK Creator 4.0 + How to ...

$
0
0
Version 4.0

You Need To Install JRE (Java Runtime Environment) Not Open JDK !

Download It From http://www.filehippo.com/download_jre/ (Windows)

You Need To Install 1.7.x Versions

After Installing JRE Just Run windows-run.bat

Still In Development !

==================================================

it's based on the sources of Ipk Packager and jpkg-webos but with so many changes

windows-run.bat is for Windows but as you know you can run a jar file in any operating system (Mac OS , linux , ...) because it's Java

i did compile it with Java 7 so you need JRE 1.7.x

enjoy creating ipk files
Version 4.0

"any", "arm" and "armv7a-vfp" architectures added

"priority", "section", "conflicts", "replaces", "source", "homepage", "license", "oe" fields added

unneeded settings removed

faster than before and more compatible with enigma2 packages

full size by default, layout fixes/updates

fix "-" in version, now you can have -r1 for example

clean and rebuild using JDK 7u45

good luck ;)

AutoCamSetup

$
0
0

Advanced control softcam (support auto-camd).

gstreamer passing cookie http header via URI

$
0
0

Hi All,
We are trying to create a vod plugin for enigma2 but have an issue,

our play code is below, which is working w/o any problem for many vod streams,
but some links requires special http header like custom user-agent and also cookie.

 

self.reference = eServiceReference(4097, 0, self.vod_url)
self.reference.setName(self.title)
self.session.nav.playService(self.reference)

http headers are below for the player;

 

Hypertext Transfer Protocol
	GET /hv/42520740.mp4?sign=9445ae0ee23498b992450b38ac3ee4ca8133ede7&slave[]=s%3Ahttp%3A%2F%2F127.0.0.1%3A5010%2F42520740-hv.mp4&p=0&expire_at=1372967538|video_key=88265 HTTP/1.1
 
	Request Version: HTTP/1.1
	Host: cdn9.video.mail.ru
	Connection: close
	icy-metadata: 1
	transferMode.dlna.org: Streaming
	User-Agent: Dream Multimedia Dreambox Enigma2 Mediaplayer
   
	[Full request URI: http://cdn9.video.mail.ru/hv/42520740.mp4?sign=9445ae0ee23498b992450b38ac3ee4ca8133ede7&slave[]
=s%3Ahttp%3A%2F%2F127.0.0.1%3A5010%2F42520740-hv.mp4&p=0&expire_at=1372967538 cookies=video_key=88265]
	[HTTP request 1/1]

But I want to add a cookie header to the http request which will be send via URl (video_key=88265).

Is there any way of altering http headers for the player?

Many thanks in advance for any help.

Physical CD/DVD support enigma2.

$
0
0

I'm currently bussy with DVD/CD support problems in enigma2 , most of problems are cause the modern kernels and c/c++ do not support the old ways off working still used into enigma2.

Also the modern hardware does require the modern kernels and are not compatible any more or at least very buggy with the old working ways.

 

What is the goal, Well for some stb's the internal cd/dvd rom (slim drive micro at type) is possible. The dm8000 is such one do not know if there are others ...

But on a lot of others(high range boxes) You can use external usb dvd/cd writers and it works if the needed kernel modules are installed.

 

Some facts about use of cd and dvd's.

 

First I start with the yes ... problematic audio cd. But why is it problematic ?

 

 - An audio cd can't be mounted . Never could be mounted and never will be able to mount as a file system.

   But what about the cdfs file system ? Well actually cdfs was never a real file system mount .

   What did it do, It created a visual representation off the audiotracks on the cd and announced like off it was a non writeable file system mount, but it was not a real mount.

   The libcdfs is completely deprecated in all linux kernels 3 and above. There are some very hack-is patches applied to the initial source of it to make it applicable to kernels 3 and above.

   But they are hack-is and unstable.

 

The data cd/dvd no problem it's an iso9660 file type sytem and is pretty basic to mount (as an non writeable file system) so ok here.

 

The standard movie dvd (the one You buy in shops ). No problem att all . However required is :

  - On the modern kernels c/c++ removal off the unstable cdfs kernel module (if used). At least by dreambox. Result audio cd playing impossible in enigma2.

  - The Dreambox extra stuff none all is installed works fine by default.

  - The vuduo2 ha ???.. I really can't follow the vu+ dev team , but instead of making it default they made it module based. (see vu+ defconfig of linux kernel)

     It means that You have to install manually : kernel-module-udf , kernel-module-cdrom , kernel-module-sr-mod.

     Reboot the box. Then You can plugin You're usb drive and the sr0 required block dev will be made nased on the sg<x> scsi base device.

    Insert dvd and yes it plays ok 100 % I tested 20 different dvd's with an asus slim external usb drive (model SDRW-08D2S-U LITE).

 

General result as soon all the required libs are installed for DVD all ok.

For cd only data cd ok.

 

Audio cd big big problem. Ok here dm8000 situation. (sata dvd and usbdvd ok)

 

I'm now working and testing with only gst-1.0 image. What is required at base:

 - libcdio needs upgrade to version 0.93. As a result of this upgrade cdtextinfo needs to be patched with  libcdio090.patch posted here.

 - unfortunatelly kernel-module-cdfs needs to remain installed (which on it makes DVD udf support very very unstable)

 - gstreamer1.0-plugins-ugly-cdio needs to be installed also.

 Then working ok for audio cd but standard video udf dvd's broken.

 

Vuduo 2 audio cd support completely broken (and its i known problem). Even there version of cdfs plugin does not work anymore.

DVD udf support 100 % ok

 

What must be done. Well first modification off enigma2 mediaplayer to use audio cd's whitout the visual mount presentation from deprecated cdfs module. (libcdio needs to be used for that).

 

For DVD do the mount of the udf file sytem to the media lable if avbl.

 

 

 

Attached Files

Oscam+ccam

$
0
0

hi

i need to have this softcam but on PLI I FIND ONLY OSCAM or CCCAM only.

can it is possible to have?

thanks


gstreamer1.0 - pause/unpause improvements

$
0
0

Probably you already noticed, that there is some strange behaviour when you pause and then unpause your media files with comparison to pause/unpause on your recordings. By strange I mean that you can clearly see that it's not unpaused from the same frame.

This is caused by doing flushing seek to the same position for unpause - it means that we first clear pipeline, then driver's buffers and then we seek to the same position as was in paused, which will refill the pipeline again.

Problem is that as you can see it's really not the same position, and it's not done immediately.

 

Why is it done this way?

I'm not sure, maybe because in gstreamer-0.10 more source timed out after long time in paused state or maybe because one of sink's didn't preroll, which caused pipeline to stall?

 

How to improve it?

I suggest we can just unpause pipeline for selected sources will not timeout (filesrc, souphttpsrc), when in paused state.

 

What are the issues?

Sometimes one of our sinks doesn't preroll(when going to paused state sink wants to make sure that it can play something immediately, therefore it waits for first buffer to arrive on it's sinkpad), this means that whole pipeline is blocked since sink cannot commit its state and we are stuck.

 

Why is it happening?

This is still a question to answer, but we can prevent it from happening by turning off async state changes for our sinks. It means that sinks will not wait for preroll when going to paused and then commit their state, but will commit their state immediately, without worrying if they are prerolled or not.

 

Why is async state change turned on?

I'm not sure, this is first commit where it was added:

http://git.opendreambox.org/?p=gst-plugin-dvbmediasink.git;a=commit;h=738a43360ccfedf40ff1a129f4093a0eb2247c30

 

When async state change is enabled, then when sink is going to paused state, it will return ASYNC state change and will wait until first buffer arives at its sinkpad, then it will commit state to PAUSED. This should be only important when we would synchronize buffers against clock, since sinks would only start to render when both were prerolled. I don't think we should care about this, we should fill driver buffers as fast as possible and let them do a synchronization.

 

What do you think?

 

Patches:

1. https://github.com/mx3L/enigma2/commit/1a3838843adb5896d51a1dd449b5492eed628b84

2. https://github.com/mx3L/gst-plugin-dvbmediasink-1/commit/2a81dcfe289edbcad5c8655b4990da56931b70a6

3. https://github.com/mx3L/gst-plugin-dvbmediasink-1/commit/4c0121a4d00db0fee5d779b1f74ed60a2a794e70

 

2. patch - probably this should be better set in servicemp3, so we don't force it in dvbmediasink

3. patch - is not neccessary but slightly improves seeking performance in vusolose(frames are not fastforward-ed after seeking for a few moments)

 

I did brief tests on vusolose on rtmp, http streams and local files, seeking pausing/unpausing, fastforward works flawlessly when all 3 patches were applied.

 

DM500 CDK Archive dependencies

$
0
0

Hi everybody, 

 

i have found my old DM500 on the shelf and thought I would dedust it a bit.

Tried to setup PLI build environment, but cannot compile CDK due to missing archives. I found replacement files for a lot of the dangling links, but I am struggling with 

 

xmlwrapp-0.2.1.tar.gz

DFB++-0.9.22-cvs20050216.tar.gz

++DFB-0.9.22-cvs20050601.tar.bz2

 

Can somebody please throw at me these files, so I can continue my quest to build the image.

Thanks a lot in advance.

 

Cheers,

 

Kaneda

TMBD Details

$
0
0
TMBD Details plugin, info for www.themoviedb.org.
Developer: Nikolasi and Dima73
Special thanks to vlamo.
MovieSelection-Context Menu-Poster Preview/TMBD Details
Long Info Button-TMBD Details
Menu-Plugins-TMBD Details(Setup menu)

P.S.This plugin is open source, unlike the German comrades :D .

web surf on openpli

$
0
0

Hello!

 

I have openpli on VU+ DUO , how i can install web surf plugin like .opera or another plugin ?

 

 

br

oka

SortMenu

General OE question

$
0
0

Hi there,

 

I'm having a question regarding OpenEmbedded.

I've added a MACHINEBUILD variable to get different builds based on what I set it to.

 

So my openpli distro config:

meta-openpli/conf/distro/openpli.conf

FEED_NAME ?= "${DISTRO_NAME}-${DISTRO_VERSION}/${MACHINEBUILD}"
DISTRO_FEED_URI ?= "http://${DISTRO_HOST}/feeds/${FEED_NAME}"
DISTRO_FEED_PREFIX ?= "${DISTRO_NAME}"

IMAGE_NAME = "${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}"
# We don't need a link, but a bug in OE makes image creation fail when
# the link name is empty.
IMAGE_LINK_NAME = "${IMAGE_BASENAME}"
CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINEBUILD}/${MACHINE}"
DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}"
DEPLOY_DIR_IPK = "${DEPLOY_DIR}/${MACHINEBUILD}/ipk"
DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINEBUILD}/${MACHINE}"

For example:

MACHINE=dm8000 MACHINEBUILD=gst151 bitbake openpli-enigma2-image

 

Will build a perfectly working image with gstreamer 1.5.1 for my dm8000.

The resulting image will be present in: build/tmp/deploy/images/gst151/dm8000/

The packages will be available in: build/tmp/deploy/gst151/ipk/

 

Now when I set MACHINEBUILD to "gstgit" It'll build a perfectly working image using the latest gstreamer master git:

MACHINE=dm8000 MACHINEBUILD=gstgit bitbake openpli-enigma2-image.

The image will be present in: build/tmp/deploy/images/gstgit/dm8000/

And the packages will be available in: build/tmp/deploy/gstgit/ipk/

 

However the problem is when I switch MACHINEBUILD to "gstgit", the old ipk packages in build/tmp/deploy/gst151/ipk/ will be deleted?

The image remains, but it will remove the ipk packages.

 

Same thing when I switch MACHINEBUILD back to "gst151", all packages will be placed in build/tmp/deploy/gst151/ipk/ but they'll be removed from: build/tmp/deploy/gstgit/ipk/

 

So the images remain, but it's like it moves over the ipks.

Is there a way I can stop this from happening?

OpenPLI 4 no recognize my r8712u WiFi Card

$
0
0

Hi to everyone.

 

I'm pretty new here and expecially with my new 800se

 

I've been running since 2 days ago the OpenPLi 3 image without any issue using my WiFi onboard. (recognized as r8712u

 

Once moved to OpenPLi 4 it's only available the LAN card.

 

Can someone be so kind to give some clear tips or ipk package to make it work on the new Image?

 

thank's a lot in advance for kind answers.

 

Alessandro


gstreamer 1.0 - self-built image - videos stuttering

$
0
0

Hello dear all,
i just registered to your forum but was already reading your topics for some time.

So first I'd like to say hello to everybody. I am C / C++ programer for ~20 years and one of my hobbies is to create sw around STB's and E2 images.

So comes that I have a question to you (if I am on the wrong place or it is simply not supported just let me know)

 

I built an SH4 E2 image for my UFS913 with gstreamer 0.10 - everything is fine.

Next I upgraded gstreamer to 1.5.2 and gst-plugins-dvbmediasink to "christophecvr/gstreamer1.0-plugin-subsink.git"

Image is working, BUT:

when I play a http stream (mp4) the video is stuttering (for my tests I killed e2 and simply ran gst-launch-1.0 playbin ...).

What I did so far:

- downloading the video (to exclude inet/bandwidth problems): still stuttering

- separating audio and video (both as mp4): video is running fine, audio is stuttering

- converted aac audio to mp3 and merged again with video: running fine

- gstreamer has no aac plugin compiled in - decoding is done via gstdvbaudiosink (already checked by adding some debug infos to gstdvbaudiosink.c)

 

I built dvbmediasink with the following options: --with-wma --with-wmv --with-pcm --with-eac3 --with-dtsdownmix --with-mpeg4v2 --with-gstversion=1.0

 

There are so many discussions and patches out there - I am a little lost.

 

Maybe someone knows the problem and can point me to de right direction?

 

Thanks and best greetings,

buami

 

 

Cool TV Guide 1920x1080 full screen skin V2.

$
0
0
With complete respect to Eragon who began to modify the skin as in this thread: http://www.vuplus-community.net/board/threads/cooltvguide-skin-1920-x-1080.23427/
 
I was also bothered with the skin not working full screen for our VU+ boxes, and it seems that the developer has stoped updating Cool Tv Guide..
 
With inspiration from Eragon I took all of the screens from the Cool TV guide and rezised them. (Eragon I did not use any of your files). 
 
The method is the same as described in Eragons thread.
 
Use any FTP program and upload the following files to :
/usr/lib/enigma2/python/Plugins/Extensions/CoolTVGuide/CoolSkin
 
CoolChannelGuide_1280.xml
CoolChannelGuide2_1280.xml
CoolChannelGuide3_1280.xml
CoolEasyGuide_1280.xml
CoolEasyGuide2_1280.xml
CoolEasyGuide3_1280.xml
CoolInfoGuide_1280.xml
CoolMultiGuide_1280.xml
CoolNiceGuide_1280.xml
CoolSearch_1280.xml
CoolSingleGuide_1280.xml
CoolSingleGuide2_1280.xml
CoolSingleGuide3_1280.xml
CoolTinyGuide_1280.xml
CoolTVGuide_1280.xml
CoolTVGuideSetup.xml
 
(All of the above files are included in the Coolskin2.zip)
 
Then you need to upload the following new graphics from file "Cool3d.zip" to:
/usr/lib/enigma2/python/Plugins/Extensions/CoolTVGuide/Cool3D/Menu
 
CoolChannelGuide.png
CoolEasyGuide.png
CoolEasyGuide2.png
CoolFrame.png
CoolFrame2.png
CoolMultiGuide.png
CoolSingleGuide.png
CoolTVGuide.png
 
And also these new graphics to:
/usr/lib/enigma2/python/Plugins/Extensions/CoolTVGuide/Cool3D
 
CoolCursor.png
CoolCursor2.png
progress.png
progress_back.png
timeline-now.png
 
Afterwards make sure that all new files is set to Permission 644.
Reebot and enjoy fullscreen Cool TV Guide!.
 
Report back problems with graphics.

Attached Files

Transcoding limit

$
0
0

Dear People,

 

Is that possible max transcoding channel limit changing ? At hat moment max 2 channels can be transcoding. I want more than 2 how can i dot it?

 

regards

Bahadir

 

TSPanel problem

$
0
0

Hello. I just installed openpli 4.0 on my DM 500hd but cannot download anything...i transferred tspanel ipk and installed fine. The problem is I can't download anything...it says please wait while addon is being downloaded/restarting enigma 2 is required after successful installation and stays like that forever...Other times just says no internet connection or server down. This happens  on all oe 2.0 images. When I install back a oe 1.6 image everything works fine...

 

 

Any advice?

 

Edit...just downloaded something but couldn't install it- 

Collected errors : opkg_conf_load: Could not lock var/lib/opkg/lock:Resource temporarily unavailable 

GPRS modem

$
0
0
GPRS modem for openPLi 3.0

autor plugin xModem vlamo
mod Dima73

100% works
Viewing all 1698 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>