<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Hi guys,</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">I am using a gstreamer modules used to grab the audio and picture from an URL based an embedded CEF (chromium) : <a href="https://github.com/centricular/gstcefsrc" style="font-family:Arial,Helvetica,sans-serif;font-size:small">https://github.com/centricular/gstcefsrc</a></p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">With that module, i have start to make a local record using the cefsrc and cefdemux modules. What I observe is a problem out of the sound and I would like to have your opinion on what can happen.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">The pipeline I use for a local recording is:</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$ export GST_DEBUG = 4<br style="box-sizing:border-box">$ export GST_PLUGIN_PATH = $ PWD<br style="box-sizing:border-box">$ export GST_DEBUG_DUMP_DOT_DIR = $ PWD<br style="box-sizing:border-box">$ gst-launch-1.0 cefsrc url = "<a rel="nofollow" href="https://soundcloud.com/platform/sama" style="box-sizing:border-box;background-color:initial;color:rgb(3,102,214);text-decoration-line:none">https://soundcloud.com/platform/sama</a>"! cefdemux name = d d.video! video / x-raw, format = BGRA, framerate = 30/1! tail! videoconvert! videorate max-rate = 3000! videoscale! x264enc tune = speed-preset zerolatency = superfast key-int-max = 60 ref = 2! mux. d.audio_0! audio / x-raw, rate = 48000! tail! audioconvert! audiorate! voaacenc bitrate = 96000! mux. matroskamux name = mux! filesink location = out-sample01.mkv</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">As you can see, I get an empty file:</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$ ls -al sample01.mkv<br style="box-sizing:border-box">-rw-rw-r-- 1 tgayet tgayet 0 Oct 25 14:03 sample01.mkv</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$ file sample01.mkv<br style="box-sizing:border-box">sample01.mkv: empty</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$ gst-discoverer-1.0 out-cef.mkv<br style="box-sizing:border-box">Analyzing sample01.mkv<br style="box-sizing:border-box">Done discovering sample01.mkv<br style="box-sizing:border-box">An error was encountered while discovering the file<br style="box-sizing:border-box"> Stream contains no data.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">What I can see is that I do not get a dot file for the PLAYING state; i just get READY then PAUSE.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">However, when I use another source for the sound, namely the gstreamer module audiotestsrc, what I get seems ok with sound this time:</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$ export GST_DEBUG = 4<br style="box-sizing:border-box">$ export GST_PLUGIN_PATH = $ PWD<br style="box-sizing:border-box">$ export GST_DEBUG_DUMP_DOT_DIR = $ PWD<br style="box-sizing:border-box">$ gst-launch-1.0 cefsrc url = "<a rel="nofollow" href="https://soundcloud.com/platform/sama" style="box-sizing:border-box;background-color:initial;color:rgb(3,102,214);text-decoration-line:none">https://soundcloud.com/platform/sama</a>"! cefdemux name = d d.video! video / x-raw, format = BGRA, framerate = 30/1! tail! videoconvert! videorate max-rate = 3000! videoscale! x264enc tune = speed-preset zerolatency = superfast key-int-max = 60 ref = 2! mux. audiotestsrc! audio / x-raw, rate = 48000! tail! audioconvert! audiorate! voaacenc bitrate = 96000! mux. matroskamux name = mux! filesink location = sample02.mkv</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$ ls -al sample02.mkv<br style="box-sizing:border-box">-rw-rw-r-- 1 tgayet tgayet 1194840 Oct 25 14:08 sample02.mkv</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$ file sample02.mkv<br style="box-sizing:border-box">sample02.mkv: Matroska data</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">$ gst-discoverer-1.0 sample02.mkv<br style="box-sizing:border-box">Analyzing sample02.mkv<br style="box-sizing:border-box">Done discovering sample02.mkv</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Topology:<br style="box-sizing:border-box">  container: Matroska<br style="box-sizing:border-box">    audio: MPEG-4 AAC<br style="box-sizing:border-box">    video: H.264 (High 4: 4: 4 Profile)</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Properties:<br style="box-sizing:border-box">  Duration: 0: 00: 04.566000001<br style="box-sizing:border-box">  Seekable: yes<br style="box-sizing:border-box">  Live: no<br style="box-sizing:border-box">  tags:<br style="box-sizing:border-box">      container format: Matroska<br style="box-sizing:border-box">      audio codec: MPEG-4 AAC audio<br style="box-sizing:border-box">      language code: in<br style="box-sizing:border-box">      video codec: H264</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Do you have an idea what could happen? Any idea? Maybe something is wrong in my pipeline ?</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Thank you in advance for your return.</p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px">Thierry</p></div></div></div></div>