No sound.
-
-
The problem is you found these command to run audio only with stop E2 .. and this does not correctly wen need command run audio with E2 working
Codegst-launch-1.0 playbin uri=file:///tmp/a.mp4 video-sink="dreamvideosink" audio-sink="alsasink" gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! alsasink
Anyway try this from attach ..if does not work send the log and also try to find correct command work with E2 working not stop
-
Lique1 logo changed
No changes.
-
Ukrainian Cup new logo
-
The problem is you found these command to run audio only with stop E2 .. and this does not correctly wen need command run audio with E2 working
Codegst-launch-1.0 playbin uri=file:///tmp/a.mp4 video-sink="dreamvideosink" audio-sink="alsasink" gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! alsasink
Anyway try this from attach ..if does not work send the log and also try to find correct command work with E2 working not stop
It doesn't work. The device is always busy, which is why it is necessary to stop enigma2. However, with this command, the sound works without stopping enigma2 (init 4):
-
I know about this I tested before on Dm920 does not work with plugin smoothly .. But you can test it ... file in attach
Also do restart e2 after test plugin and Test this in telnet and send the output ...
-
This morning, the plugin is having trouble obtaining information about yesterday's games, making it difficult to test the videos (status: wait).
Code
Display Moreroot@dreambox:~# clear [H[Jroot@dreambox:~# gst-launch-1.0 playbin uridecod e uri=/tmp/a.mp4 WARNING: erroneous pipeline: no element "uridecode" root@dreambox:~#I managed to do the test: first, the sound played without the image. Then, I stopped the sound and the image started playing, but without sound.
-
Exactly that what I said this is not good ide
You need try to find command only with (gst-launch-1.0 playbin) or (gst-launch-1.0 filesrc)
lik
-
I can't find a solution, even with the help of AI.
Gemini says:
QuoteDisplay MoreThe reason not-negotiated (-4) error is the technical “checkmate.” It indicates that GStreamer even tried to connect the components, but the libraries that should process the audio (the codecs) cannot communicate with each other because they are corrupted.
As we saw earlier that your files in /usr/lib/ are truncated (0 bytes or incomplete), GStreamer tries to load the decoder and finds an “empty” one.
Test Conclusion
There are no more terminal commands that can fix this. Your file system (OS) has suffered a critical write failure. The only way to recover the sound and stability of your Dreambox Two is to reinstall the image.
-
...............
-
.................
-
1-try to install new image
2-instal plugin + alsa-utils.deb
3- test all these commandCode
Display Moreaudio_file="/tmp/a.mp4" && gst-launch-1.0 playbin uri=file://$audio_file audio_file="/tmp/a.mp4" && gst-launch-1.0 playbin uri=file://$audio_file flags=0x51 audio_file="/tmp/a.mp4" && gst-launch-1.0 playbin uri=file://$audio_file audio-sink="alsasink" flags=0x32 gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels=2,rate=48000" ! alsasink device=plug:dmix gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels=2,rate=48000" ! alsasink device=plughw:0,0 gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels=2,rate=48000" ! alsasink device=plughw:0,1 gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels=2,rate=48000" ! alsasink device=dreamhdmiand important things .. after test any code before test the next code just change the channel to refresh the audio again
-
Subject: Technical Debugging Report - Audio Sink Conflict on DreamOS (AIO/Gemini)
Hi,
I have completed extensive debugging on my Dreambox (DreamOS 2.6 / Gemini AIO) regarding the audio output issue in your plugin. Here is the technical breakdown of the findings:
1. The Conflict (ALSA Exclusive Access)
The plugin currently attempts to use
alsasink(specificallydevice=dreamhdmi). On modern DreamOS images, the Enigma2 process maintains exclusive control over the ALSA driver.- Observation: When running
gst-launch-1.0withalsasink, the system returns:Error: Device 'dreamhdmi' is busy. - Verification: The audio only works if I manually stop Enigma2 via
init 4. This is not a viable solution for a plugin.
2. Missing Sinks
The standard workaround of using
dvbaudiosinkis not applicable here, as the elementdvbaudiosinkis not present in the GStreamer environment of these newer images.3. Installed Dependencies
I have verified that all necessary GStreamer codecs and parsers are installed and working:
gstreamer1.0-plugins-good-audioparsersgstreamer1.0-plugins-bad-faadgstreamer1.0-libavThe pipeline is technically sound, but the Sink is the bottleneck.
4. Recommended Solution
To ensure compatibility with DreamOS and allow audio to play alongside Enigma2, the plugin should avoid direct GStreamer sink calls and instead utilize the native eServiceReference (4097). This allows Enigma2 to manage the audio routing and hardware arbitration.
Suggested implementation change: Instead of a manual GStreamer pipeline with
alsasink, please use:PythonPythonfrom enigma import eServiceReference@@@WCF_PRE_LINEBREAK@@@# Use Service 4097 to let Enigma2 handle the GStreamer output@@@WCF_PRE_LINEBREAK@@@ref = eServiceReference(4097, 0, "/tmp/your_audio_file.mp4")@@@WCF_PRE_LINEBREAK@@@self.session.nav.playService(ref)@@@WCF_PRE_LINEBREAK@@@By using the native service handler, the audio will play correctly without requiring the user to kill the Enigma2 process. - Observation: When running
-
Tests:
Code
Display Moreroot@dreambox:~# clear [H[Jroot@dreambox:~# audio_file="/tmp/a.mp4" && gst-launch-1.0 playbin uri=file://$a udio_file Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClockCode
Display More[H[Jroot@dreambox:~# audio_file="/tmp/a.mp4" && gst-launch-1.0 playbin uri=file://$a udio_file flags=0x51 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: Internal data stream error. Additional debug info: ../../../gst-plugins-good-1.10.4/gst/isomp4/qtdemux.c(5850): gst_qtdemux_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: streaming stopped, reason not-linked (-1) Execution ended after 0:00:00.000383250 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~#Code
Display Moreroot@dreambox:~# c lear [H[Jroot@dreambox:~# a udio_file="/tmp/a.mp4" && gst-launch-1.0 playbin uri=file://$a udio_file audio-sink="alsasink" flags=0x32 Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstAlsaSink:alsasink0: Could not open audio device for playback. Device is being used by another application. Additional debug info: ../../../gst-plugins-base-1.10.4/ext/alsa/gstalsasink.c(873): gst_alsasink_open (): /GstAlsaSink:alsasink0: Device 'default' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels =2,rate=48000" ! alsasink device =plug:dmix Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not open audio device for playback. Device is being used by another application. Additional debug info: ../../../gst-plugins-base-1.10.4/ext/alsa/gstalsasink.c(873): gst_alsasink_open (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Device 'plug:dmix' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels =2,rate =48000" ! alsasink device=plughw:0,0 Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not open audio device for playback. Device is being used by another application. Additional debug info: ../../../gst-plugins-base-1.10.4/ext/alsa/gstalsasink.c(873): gst_alsasink_open (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Device 'plughw:0,0' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioc onvert ! audioresample ! "audio/x-raw,format=S16LE,channels =2,rate=48000" ! alsasink device=plughw:0,1 Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not open audio device for playback. Device is being used by another application. Additional debug info: ../../../gst-plugins-base-1.10.4/ext/alsa/gstalsasink.c(873): gst_alsasink_open (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Device 'plughw:0,1' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels =2,rate=48000" ! alsasink device=d reamhdmi Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not open audio device for playback. Device is being used by another application. Additional debug info: ../../../gst-plugins-base-1.10.4/ext/alsa/gstalsasink.c(873): gst_alsasink_open (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Device 'dreamhdmi' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# -
.....
-
Display More
Subject: Technical Debugging Report - Audio Sink Conflict on DreamOS (AIO/Gemini)
Hi,
I have completed extensive debugging on my Dreambox (DreamOS 2.6 / Gemini AIO) regarding the audio output issue in your plugin. Here is the technical breakdown of the findings:
1. The Conflict (ALSA Exclusive Access)
The plugin currently attempts to use
alsasink(specificallydevice=dreamhdmi). On modern DreamOS images, the Enigma2 process maintains exclusive control over the ALSA driver.- Observation: When running
gst-launch-1.0withalsasink, the system returns:Error: Device 'dreamhdmi' is busy. - Verification: The audio only works if I manually stop Enigma2 via
init 4. This is not a viable solution for a plugin.
2. Missing Sinks
The standard workaround of using
dvbaudiosinkis not applicable here, as the elementdvbaudiosinkis not present in the GStreamer environment of these newer images.3. Installed Dependencies
I have verified that all necessary GStreamer codecs and parsers are installed and working:
gstreamer1.0-plugins-good-audioparsersgstreamer1.0-plugins-bad-faadgstreamer1.0-libavThe pipeline is technically sound, but the Sink is the bottleneck.
4. Recommended Solution
To ensure compatibility with DreamOS and allow audio to play alongside Enigma2, the plugin should avoid direct GStreamer sink calls and instead utilize the native eServiceReference (4097). This allows Enigma2 to manage the audio routing and hardware arbitration.
Suggested implementation change: Instead of a manual GStreamer pipeline with
alsasink, please use:PythonPythonfrom enigma import eServiceReference # Use Service 4097 to let Enigma2 handle the GStreamer output ref = eServiceReference(4097, 0, "/tmp/your_audio_file.mp4") self.session.nav.playService(ref)By using the native service handler, the audio will play correctly without requiring the user to kill the Enigma2 process.Did you test it by your self ?!!
- Observation: When running
-
What? The python code? No... it's an IA report (Gemini).
-
IA was wrong ... All E2 device can run manually command in telnet with (gst-launch-1.0) but need to know the correct command ..
Test file from attach
-
...........
-
Another message from GEmini
Quote"Final update: I've flashed a clean DreamOS 2.6 stable image and re-installed all codecs. Even with a fresh system,
gst-launchreturns 'Device Busy' for bothdreamhdmianddefaultALSA devices.This confirms that on Dreambox Two, Enigma2 holds an exclusive lock on the audio hardware. To make your plugin compatible, you must use the internal Enigma2 playback engine:
self.session.nav.playService(eServiceReference(4097, 0, path))Using
alsasinkvia GStreamer directly will never work on this hardware while Enigma2 is running."
Your hub for Enigma2 sport plugins
Find downloads and support for tools that deliver live scores, match schedules, sports streaming, and news to your receiver. Discover essential Enigma2 system utility plugins. Access downloads and support for performance monitors, maintenance tools, and system information managers.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!
