quit after MP3 conversion of previously recorded sound
oinos at web.de
Wed Apr 13 14:10:38 UTC 2022
On 4/12/22 21:31, Nirbheek Chauhan via gstreamer-devel wrote:
> On Wed, Apr 13, 2022 at 12:45 AM Pablo Rodríguez via gstreamer-devel
> <gstreamer-devel at lists.freedesktop.org> wrote:
>> self.mp3_converter = Gst.parse_launch("filesrc location=\"" +
>> self.audiofilename + "\" ! decodebin ! audioconvert !
>> audioresample ! lamemp3enc mono=true target=bitrate bitrate=32
>> ! id3v2mux ! filesink location=\"" + self.mp3_audio + "\"")
>> mp3_bus = self.mp3_converter.get_bus()
>> mp3_bus.connect('message', self.on_mp3_message)
> I think you're just missing mp3_bus.add_signal_watch() here.
Many thanks for your reply, Nirbheek.
This was the thing I was missing.
Many thanks for your help,
More information about the gstreamer-devel