Coder Social home page Coder Social logo

Comments (4)

dmisdani avatar dmisdani commented on May 29, 2024 1

According the following logs, it discards the secondary audio stream (lang=eng):

~/.kodi/userdata/addon_data/program.plexus/acestream/androidfs/system/data/data/org.acestream.engine/files/segmenter.log


2017-07-11 18:21:18: Input #0, mpegts, from 'input':
  Duration: N/A, start: 2042.936000, bitrate: 243 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x101](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 121 kb/s (clean effects)
    Stream #0:2[0x102](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 121 kb/s (clean effects)
2017-07-11 18:21:18: 0: init: duration=-9223372036854
2017-07-11 18:21:18: 0: on_duration: duration=-2077252342
2017-07-11 18:21:18: 0: got video stream: 0->0 codec=28
2017-07-11 18:21:18: 0: got audio stream: 1->1 codec=86016
2017-07-11 18:21:18: 0:  lang=rus
2017-07-11 18:21:18: 0: discard audio stream: 2 codec=86016
2017-07-11 18:21:18: 0:  lang=eng
2017-07-11 18:21:18: 0: Open decoder
2017-07-11 18:21:18: 0: stream map: 0->0
2017-07-11 18:21:18: 0: stream map: 1->1
2017-07-11 18:21:18: 0: stream map: 2->-1
2017-07-11 18:21:18: 0: on_codec_info: video=28 audio=86016
2017-07-11 18:21:18: 0: hls_mux_init: map: 0->0
2017-07-11 18:21:18: 0: hls_mux_init: map: 1->1
2017-07-11 18:21:18: 0: Transcode audio: type=1 input_codec_id=86016
2017-07-11 18:21:18: 0: Create resample context for stream #1
2017-07-11 18:21:18: 0: Create resample fifo for stream #1
2017-07-11 18:21:18: 0: hls_mux_init: map: 2->-1
2017-07-11 18:21:18: 0: hls_mux_init: discard stream: 2
2017-07-11 18:21:18: Output #0, mpegts, to 'output':
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 90k tbn, 100 tbc
    Stream #0:1: Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 128 kb/s
....
....

It should be caused by this library:
~/.kodi/userdata/addon_data/program.plexus/acestream/androidfs/system/data/data/org.acestream.engine/files/acestreamengine/pysegmenter.so

I couldn't find any python code pysegmenter, so probably it is acetream's proprietary library

md5sum ~/.kodi/userdata/addon_data/program.plexus/acestream/androidfs/system/data/data/org.acestream.engine/files/acestreamengine/pysegmenter.so
021bc63cbf09d13350fc8284009c646f  /storage/.kodi/userdata/addon_data/program.plexus/acestream/androidfs/system/data/data/org.acestream.engine/files/acestreamengine/pysegmenter.so

If we could find the old pysegmenter.so (i remember the secondary audio streams used to work in previous versions), just to check if somehow works with the new acestream.

from acestream-openelec.

mikemyl avatar mikemyl commented on May 29, 2024

To be honnest @nzeppos I have no idea - I m just porting the official acestream engine to raspberry pi, meaning I m changing the start / stop scripts to be able to work with the plexus addon.

You would need to ask the original acestream developers for that!

from acestream-openelec.

mikemyl avatar mikemyl commented on May 29, 2024

Hey @nzeppos, support for secondary audio stream has been updated. Apparently there was a configuration parameter that I needed to update. Credits to @spokV for identifying this on mikemyl/castaway-p2p-corner#2

from acestream-openelec.

nzeppos avatar nzeppos commented on May 29, 2024

Great news, thanks!!

from acestream-openelec.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.