FootOnsat

There are 2,392 replies in this Thread which was already clicked 317,941 times. The last Post () by Greenwich.

  • Zero sound...


  • You did not answer me .. notification sound work ?!!

    Now test this

    Test 1:

    Code
    gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=1.0 ! audioresample ! "audio/x-raw,rate=48000" ! alsasink device=hw:0,2

    Test 2:

    Code
    gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,rate=48000" ! alsasink device=hw:0,2

    Check the Internal Mixer

    look for "PCM" or "Multi" entries in the output and see if they are at 0% or [off]

    Code
    amixer -c 0 scontents

    Test 3:

    Code
    gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=2.0 ! audioresample ! alsasink device=hw:0,2


    run this command and send the output. This will show if the "DreamOne/Two" has a specific volume slider for the secondary device that is muted:

    Code
    amixer -c 0 contents | grep -E "name='|: values="
  • As I said, I tested video playback with the OpenATV 7.6 image for DM TWO: it's a mess — sometimes it plays the sound and image from YouTube and Twitter, other times it plays nothing, other times it plays only the sound, and other times only the image. I tested it with different Serviceapp and player settings defined in the footonsat plugin settings. The player that works “best” in the plugin is the “default” one.


    I know that the OpenATV image has sound issues on DM TWO because of the drivers... it was just a test. I'm leaving the logs just out of curiosity.


    Cheers and thanks for your efforts!

    Edited once, last by dniestre ().

  • Nothing works! There is no sound.


  • It only plays the notification sound with this command, but the enigma restarts:


    Code
    killall -9 enigma2
    sleep 3
    gst-launch-1.0 filesrc location="/usr/lib/enigma2/python/Plugins/Extensions/FootOnSat/assets/sound/notif1.wav" ! wavparse ! audioconvert ! audioresample ! alsasink device=hw:0,0


  • How can you explain that if the “Use DASH MP4 format (YouTube)” function is disabled, the sound works (despite the poor image quality - worse resolution)???


    Another detail about the skin: when I tested the plugin with the OpenATV image, this bug also appears:

    if I go from the match details menu to match statistics, the team names appear in the latter, but if I go from the media menu to match statistics, the team names no longer appear.


    Cheers

  • 1- OpenATV 7.6 still not work good audio on DreamOne/Two ... because they didn't use original patch from multimedia as you know closed soure

    So do not waste time to test OpenATV just focus with DreamOS. I will only right now support DreamOS images for DreamOne/Two .. no support for openatv.


    2- now test only on DreamOS .. Do not waste time with openatv

    test this combined command in Telnet. It tells Enigma2 to "pause" the current stream so the background audio can take over the hardware:

    The "Service Pause" Test

    Code
    wget -qO- "http://127.0.0.1/web/remotecontrol?command=119" && gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink && wget -qO- "http://127.0.0.1/web/remotecontrol?command=119"


    If that doesn't work, try the "Mute" method:

    This mutes the box, runs the audio, then unmutes.

    Code
    wget -qO- "http://127.0.0.1/web/vol?set=mute" && gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink && wget -qO- "http://127.0.0.1/web/vol?set=unmute"
  • How can you explain that if the “Use DASH MP4 format (YouTube)” function is disabled, the sound works (despite the poor image quality - worse resolution)???

    I explained before about (Use DASH MP4) !

    I told you Youtube using different way to extract video format quality of resolution ..
    Under 1920 FHD the video + sound come together no using DASH but with height quality from FHD and higher using DASH video separate than audio
    Default player of E2 can not run it ... Only Exteplyer3 + plugin of serviceAPP (Do not ask me bout support it)

    So I use in this plugin different way if the image does not have Exteplyer3 + of serviceAPP (My codes) is downlaod audio then play with video together


    CLEAR ?! This is last explain about this point.

  • No sound with both methods. With the second method the sound remains muted, that's it.

  • Test 1: The "Fake Video" Sink

    Code
    gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux name=demux demux.audio_0 ! queue ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink demux.video_0 ! queue ! fakesink

    Test 2: Direct ALSA without GStreamer Wrapper

    Code
    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 provide-clock=false sync=false

    Test 3: The "OSS" Emulation

    Code
    gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! osssink device=/dev/dsp

    One more important check:

    Code
    gst-inspect-1.0 | grep dvb

    if sees dvbaudiosink, than to try:

    Code
    gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! dvbaudiosink
  • Also do this ...
    1- Stop enigma2

    Code
    init 4

    2- give this command

    Code
    enigma2 > /tmp/enigma_log.txt 1>&2

    3- Then run the file from a.mp4 by movie player from pvr than send the log from /tmp/enigma_log.txt

    4- Then back again to normal e2 work and give this command and sen the output

    Code
    aplay -L
  • The notification.wav sound and the .mp4 file play correctly with Media Center.


    Edited 2 times, last by dniestre ().

  • Sorry! here it is:


  • See ... different test now ..

    1- Send interface.py to plugin
    2- send test.txt to /tmp folder
    3- do restart

    4- Test the video

    if audio work fine ..

    if not then only open the test.txt and change the inside code with one of these codes ...
    Gradually replace the existing line in the file with just one line of these codes.
    No need to restart e2 .. just replace and test replace and test.. If audio work tell me which line work if does not send the debug file.

    Code
    gst-launch-1.0 filesrc location=%s ! decodebin ! audioconvert ! audioresample ! dvbaudiosink
    gst-launch-1.0 filesrc location=%s ! decodebin ! audioconvert ! audioresample ! osssink
    gst-launch-1.0 filesrc location=%s ! decodebin ! audioconvert ! audioresample ! tinyalsasink
    gst-launch-1.0 filesrc location=%s ! decodebin ! audioconvert ! audioresample ! alsasink device=hw:0,0

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!