Display Moreif 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 ! alsasink
Test 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" ! alsasink
Test 3: The "Decodebin" style (Same as notification but for MP4)
Zero sound...
Code
root@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
