Hi guys, I use the module GStreamer gstcefsrc (https://github.com/centricular/gstcefsrc) to grab a website and generate an audio and video stream. This module is based on an embedded version of chromium (CEF aka embedded chromium). My problem is related I think about the structure of my pipeline. Indeed, this module GStreamer generates a stream containing audio and video. Needing to transcode audio in AAC and video in H264, I demux via a second module cefdemux. Once both A / V streams are transcoded and synchronized, I need to send them via RTMP (rtmpsink) or RTSP (rtspclientsink). The video goes well but the sound is a problem because nothing happens. My actual pipeline is as follows: gst-launch-1.0 cefsrc url="https://soundcloud.com/platform/sama" ! queue ! cefdemux name=d d.video ! video/x-raw,format=BGRA,framerate=30/1 ! queue ! videoconvert ! x264enc bitrate=2500 tune=zerolatency pass=5 quantizer=22 speed-preset=superfast key-int-max=60 ref=2 ! mux. d.audio ! audio/x-raw ! audiorate ! queue ! audioconvert ! voaacenc bitrate=128000 ! flvmux streamable=true name=mux ! rtmpsink location="rtmp://live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w" It does not work! If I test with another audio test source it works: gst-launch-1.0 cefsrc url="https://soundcloud.com/platform/sama" ! queue ! cefdemux name=d d.video ! video/x-raw,format=BGRA,framerate=30/1 ! queue ! videoconvert ! x264enc bitrate=2500 tune=zerolatency pass=5 quantizer=22 speed-preset=superfast key-int-max=60 ref=2 ! mux. audiotestsrc ! audio/x-raw ! audiorate ! queue ! audioconvert ! voaacenc bitrate=128000 ! flvmux streamable=true name=mux ! rtmpsink location="rtmp://live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w" What can be my problem? Thank you in advance for your return. BR Thierry _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hello, What kind of audio are you trying to transcode to AAC? I have had to transcode audio before and what I had to do was parse it, decode then audioconvert it. So something like this (appropriate for what kind of audio input you have). d.audio ! aacparse ! avdec_aac ! audioconvert ! voaacenc bitrate=128000 ! flvmux streamable=true name=mux ! rtmpsink location="rtmp://live-cdg.twitch.tv/app/live_452136974_6g1fEZ7RxsMwVE6ADeOiVLuegDAm9w" Regards, Rand From: gstreamer-devel [mailto:[hidden email]] On Behalf Of Thierry Gayet Hi guys, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |