# Appsink file is always 1 buffer longer than filesink
# TODO : Try to transcode with a pure gstreamer pipe to see the file length
# maybe appsink is fine but filesink not ? just to be checked
+
+# INFO : sweep.mp3 transcoded with pure gst from sweep.flac with the same parameters
+# as in the timeside mp3 encoder gives 70535 bytes
+
self.src.set_property("caps", srccaps)
self.src.set_property('emit-signals', True)
self.src.set_property('num-buffers', -1)
- self.src.set_property('block', True)
+ self.src.set_property('block', False)
self.src.set_property('do-timestamp', True)
self.bus = self.pipeline.get_bus()