Posts by dniestre
-
-
-
-
-
Sorry! here it is:
Code
Display More***************************** * * * The Gemini Project 4.2 * * * ***************************** dreambox login: root Password: -------------------- < Script > ---------------------------- df -m; echo ">>> DONE <<<"; root@dreambox:~# df -m; echo ">>> DONE <<<"; Filesystem 1M-blocks Used Available Use% Mounted on /dev/root 2135 1100 908 55% / devtmpfs 986 0 986 0% /dev tmpfs 989 0 989 0% /dev/shm tmpfs 989 73 916 8% /run tmpfs 989 0 989 0% /sys/fs/cgroup /dev/mmcblk0p4 7748 1085 6250 15% /data tmpfs 989 1 989 1% /var/volatile tmpfs 989 4 986 1% /tmp >>> DONE <<< root@dreambox:~# c lear [H[Jroot@dreambox:~# g st-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux name=demux demux.audio_0 ! queue ! aacparse ! avdec_aac ! audioconvert ! audioresample ! a lsasink demux.video_0 ! queue ! fakesink 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 'default' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! aud ioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels =2,rate=48000" ! alsasink provide-clock=false sync=false 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 '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 ! osssink device=/dev/dsp WARNING: erroneous pipeline: no element "osssink" root@dreambox:~# gst-inspect-1.0 | grep dvb root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! dvbaudiosink WARNING: erroneous pipeline: no element "dvbaudiosink" root@dreambox:~# -
Is it possible to remove the transparency behind the club symbols?
-
The notification.wav sound and the .mp4 file play correctly with Media Center.
-
Display More
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
Codewget -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.
No sound with both methods. With the second method the sound remains muted, that's it.
Code
Display Moreroot@dreambox:~# c lear [H[Jroot@dreambox:~# wg et -qO- "http://127.0.0.1/web/remotecontrol?command=119" && g st-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! aud ioconvert ! audioresample ! alsasink && wget -qO- "http://127.0.0.1/web/remoteco ntrol?command=119" < ?xml version="1.0" encoding="UTF-8"?> <e2remotecontrol> <e2result>True</e2result> <e2resulttext>RC command '119' has been issued</e2resulttext> </e2remotecontrol> 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 'default' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# wg et -qO- "http://127.0.0.1/web/vol?set=mute" && gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! a udioresample ! alsasink && wget -qO- "http://127.0.0.1/web/vol?set=unmute" <?xml version="1.0" encoding="UTF-8"?> <e2volume> <e2result>True</e2result> <e2resulttext>Mute toggled</e2resulttext> <e2current>100</e2current> <e2ismuted>True</e2ismuted> </e2volume> 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 'default' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# -
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
-
It only plays the notification sound with this command, but the enigma restarts:
Codekillall -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,0Code
Display Moreroot@dreambox:~# c lear [H[Jroot@dreambox:~# killall -9 enigma2 root@dreambox:~# sleep 3 root@dreambox:~# gs t-launch-1.0 filesrc location="/usr/lib/enigma2/python/Plugin s/Extensions/FootOnSat/assets/sound/notif1.wav" ! wavparse ! audioconvert ! audi oresample ! alsasink device=hw:0,0 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock Got EOS from element "pipeline0". Execution ended after 0:00:01.907380126 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# -
Display MoreDisplay MoreDisplay More
So the plugin download the audio file (Correct) only can not play it ?!
Now test thess commandsTest 1: The "No-Sync" Bypass
This forces GStreamer to push audio without waiting for the hardware clock (often bypasses the 'Busy' lock).
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! autoaudiosink sync=falseTest 2: The "Software Mixer" (dmix)
This tries to use the ALSA software mixer plugin which allows multiple sounds at once.
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device="dmix"Test 3: The "Radio Mode" Test (The most important check)
Crucial: switch the box to a Radio Channel (so the TV audio is gone) then run:
If this works on Radio but not on TV channels, the hardware cannot mix audio, and we must use a "Mute" fix in Python.
>>>>>>>>>>>>>>>>>>>Test 4: High-Priority Buffer
This uses a large queue to prevent the Amlogic CPU from dropping the stream if the video process is heavy.
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! autoaudiosinkTest 5: Hardware Sub-Device (The "Second Pipe")
Amlogic usually has multiple sub-devices. This tries to send audio to the second hardware path.
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device=hw:0,2test and feedback with send output
- Did you hear any sound?
- Did it say "Device or resource busy"?
- Did it say "PLAYING" but with silence?
Please send me results for all 5.
There is no sound with any of the above commands.
Code
Display More[H[Jroot@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! autoaudiosink sync=false Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:00:00.589794792 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# g st-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device="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 'dmix' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 playbin uri=file:///tmp/a.mp4 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "playbin0". Execution ended after 0:03:03.112045879 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 playbin uri=file:///tmp/a.mp4 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "playbin0". Execution ended after 0:03:03.111974713 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue max-size-buffers=0 max-size- time=0 max-size-bytes=0 ! autoaudiosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:03:03.112317378 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device=hw:0,2 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock Got EOS from element "pipeline0". Execution ended after 0:02:48.269054414 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~#You did not answer me .. notification sound work ?!!
Now test this
Test 1:Codegst-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,2Test 2:
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,rate=48000" ! alsasink device=hw:0,2Check the Internal Mixer
look for "PCM" or "Multi" entries in the output and see if they are at 0% or [off]
Test 3:
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=2.0 ! audioresample ! alsasink device=hw:0,2run 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:
Nothing works! There is no sound.
Code
Display Moreroot@dreambox:~# c lear [H[Jroot@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=1.0 ! audioresample ! "audio/x-raw,r ate=48000" ! alsasink device=hw:0,2 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock Got EOS from element "pipeline0". Execution ended after 0:00:59.464980736 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# g st-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,rate=48000" ! alsasin k device=hw:0,2 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock Got EOS from element "pipeline0". Execution ended after 0:01:55.340054430 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# amixer -c 0 scontents -bash: amixer: command not found root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=2.0 ! audioresample ! alsasink devic e=hw:0,2 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock Got EOS from element "pipeline0". Execution ended after 0:02:48.269732372 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# am ixer -c 0 contents | grep -E "name='|: values=" -bash: amixer: command not found -
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!
-
Display More
I prefer the white style, but for color eyes... don't know.
-
Display More
if the notification sound work on your dreamtwo ?!!
Than test this also and send feedback ... Don't forget to add /tmp/a.mp4
Test 1: The "Notification Style" CommandThis uses the same logic that worked for your wav files, but adds the necessary parts to handle the YouTube mp4.
Codegst-launch-1.0 -q filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasinkTest 2: Forced Hardware Parameters
If Test 1 gives the "Invalid Argument" error, we force it to the standard format used by most notification sounds:
Codegst-launch-1.0 -q filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,channels=2,rate=44100" ! alsasinkTest 3: The "Decodebin" style (Same as notification but for MP4)
Zero sound...
Code
Display Moreroot@dreambox:~# clear [H[Jroot@dreambox:~# gst-launch-1.0 -q filesrc location=/tmp/a.mp4 ! qtdemux ! aacpa rse ! avdec_aac ! audioconvert ! audioresample ! alsasink 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 'default' is busy root@dreambox:~# gst-launch-1.0 -q filesrc location=/tmp/a.mp4 ! qtdemux ! aacpa rse ! avdec_aac ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,chann els=2,rate=44100" ! alsas ink 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 'default' is busy root@dreambox:~# gst-launch-1.0 -q filesrc location=/tmp/a.mp4 ! decodebin ! aud ioconvert ! audioresample ! alsasink 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 'default' is busy root@dreambox:~# -
Display More
So the plugin download the audio file (Correct) only can not play it ?!
Now test thess commandsTest 1: The "No-Sync" Bypass
This forces GStreamer to push audio without waiting for the hardware clock (often bypasses the 'Busy' lock).
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! autoaudiosink sync=falseTest 2: The "Software Mixer" (dmix)
This tries to use the ALSA software mixer plugin which allows multiple sounds at once.
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device="dmix"Test 3: The "Radio Mode" Test (The most important check)
Crucial: switch the box to a Radio Channel (so the TV audio is gone) then run:
If this works on Radio but not on TV channels, the hardware cannot mix audio, and we must use a "Mute" fix in Python.
>>>>>>>>>>>>>>>>>>>Test 4: High-Priority Buffer
This uses a large queue to prevent the Amlogic CPU from dropping the stream if the video process is heavy.
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! autoaudiosinkTest 5: Hardware Sub-Device (The "Second Pipe")
Amlogic usually has multiple sub-devices. This tries to send audio to the second hardware path.
Codegst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device=hw:0,2test and feedback with send output
- Did you hear any sound?
- Did it say "Device or resource busy"?
- Did it say "PLAYING" but with silence?
Please send me results for all 5.
There is no sound with any of the above commands.
Code
Display More[H[Jroot@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! autoaudiosink sync=false Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:00:00.589794792 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# g st-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device="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 'dmix' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 playbin uri=file:///tmp/a.mp4 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "playbin0". Execution ended after 0:03:03.112045879 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 playbin uri=file:///tmp/a.mp4 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "playbin0". Execution ended after 0:03:03.111974713 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue max-size-buffers=0 max-size- time=0 max-size-bytes=0 ! autoaudiosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:03:03.112317378 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device=hw:0,2 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock Got EOS from element "pipeline0". Execution ended after 0:02:48.269054414 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# -
So the plugin download the audio file (Correct) only can not play it ?!
Yes!
Code
Display Moreroot@dreambox:~# cl ear [H[Jroot@dreambox:~# gst-launch-1.0 playbin uri=file:///tmp/a.mp4 audio-sink="autoau diosink" Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=1.0 ! audioresample ! autoaudiosink Got EOS from element "playbin0". Execution ended after 0:03:03.112360046 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue ! autoaudiosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue ! autoaudiosink Got EOS from element "pipeline0". Execution ended after 0:03:03.112492543 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=1.0 ! audioresample ! autoaudiosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue ! autoaudiosink Got EOS from element "pipeline0". Execution ended after 0:03:03.112707462 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 playbin uri=file:///tmp/a.mp4 audio-sink="autoau diosink" Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock ^ gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=1.0 ! audioresample ! autoaudiosink Got EOS from element "playbin0". Execution ended after 0:03:03.112396963 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue ! autoaudiosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:03:03.112376546 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! volume volume=1.0 ! audioresample ! autoaudiosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:03:03.112792128 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue ! autoaudiosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:03:03.112745336 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! queue ! autoaudiosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: 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:autoaudiosink0-actual-sink-alsa: Device 'default' is busy Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClockIt doesn't work with any command, even after switching to a radio channel. It's the same problem that happened with the notification sound. To hear the sound, you have to stop the sound from the current channel. It's a Python issue.
I'll test it with the OpenATV 7.6 image...
Cheers
-
If I open the plugin and try to play a youtube video it appears in /tmp folder.
There is no sound...
Code
Display Moreroot@dreambox:~# cl ear [H[Jroot@dreambox:~# g st-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! ossink WARNING: erroneous pipeline: no element "ossink" root@dreambox:~# gst-launch-1.0 filesrc location=/ tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device=hw: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 'hw:0,1' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-inspect-1.0 | grep sink | grep audio autodetect: autoaudiosink: Auto audio sink root@dreambox:~# -
It must be the same problem as with notification sounds—it shouldn't work... I just find it strange that if the video is low resolution (with the Use DASH MP4 format (YouTube) option turned off), the sound works.
Another detail: if the video is from Twitter (X), the sound works with the best quality image.
-
I downloaded it manually, sent the file to the /tmp folder, and ran the three commands.
log from download:
Code
Display More[H[Jroot@dreambox:~# wget --no-check-certificate -U "Mozilla/5.0" -O /tmp/a.mp4 'htt ps://rr5---sn-apn7en7s.googlevideo.com/videoplayback?expire=1770427370&ei=ij-Gaf r3K9b1xs0Pqt_XQQ&ip=2001% 3A818%3Adaae%3Ab800%3A209%3A34ff%3Afe4b%3A44a3&id=o-AFo C2ERjJrwUHRgpNs4ey59-D_pYQhJYPMn2P-ALYuIW&itag=140&source=youtube&requiressl=yes &xpc=EgVo2aDSNQ%3D%3D&cps=477&met=1770405770%2C&mh=Pv&mm=31%2C29&mn=sn-apn7en7s% 2Csn-apn7en7e&ms=au%2Crdu&mv=m&mvi=5&pl=49&rms=au%2Cau&initcwndbps=2882500&bui=A W-iu_pWnT8M3Iyf5GZqPJOqyFBB8IXzIEMwB7lIdup27a2vW > gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! raopsink > gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconve rt ! audioresample ! amlalsasink > gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink device="dmix" >log from manual process (downloaded the file with the browser (PC) and sent it manually to /tmp folder:
Code
Display Moreroot@dreambox:~# clear [H[Jroot@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! raopsink WARNING: erroneous pipeline: no element "raopsink" root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audi oresample ! amlalsasink WARNING: erroneous pipeline: no element "amlalsasink" root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacpa rse ! avdec_aac ! audioconvert ! audioresample ! alsasink device="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 'dmix' is busy Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# -
There is no audio file in /tmp with that command, but I have downloaded it manually from browser... none works.
Code
Display Moreroot@dreambox:~# -------------------- < Script > ---------------------------- d f -m; echo ">>> DONE <<<"; Filesystem 1M-blocks Used Available Use% Mounted on /dev/root 2135 1085 923 55% / devtmpfs 986 0 986 0% /dev tmpfs 989 0 989 0% /dev/shm tmpfs 989 73 916 8% /run tmpfs 989 0 989 0% /sys/fs/cgroup /dev/mmcblk0p4 7748 1085 6250 15% /data tmpfs 989 8 982 1% /tmp tmpfs 989 1 989 1% /var/volatile >>> DONE <<< root@dreambox:~# cl ear [H[Jroot@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! dvbaudiosink WARNING: erroneous pipeline: no element "dvbaudiosink" root@dreambox:~# gst-launch-1.0 playbin uri=file:///tmp/a.mp4 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink Got EOS from element "playbin0". Execution ended after 0:01:31.442369294 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... root@dreambox:~# gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink 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 '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 ! dvbaudiosink WARNING: erroneous pipeline: no element "dvbaudiosink" root@dreambox:~# gst-launch-1.0 playbin uri=file:///tmp/a.mp4 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock gst-launch-1.0 filesrc location=/tmp/a.mp4 ! qtdemux ! aacparse ! avdec_aac ! audioconvert ! audioresample ! alsasink
