<div dir="ltr"><div><div><div><div><div><div><div><div>Hello,<br><br></div>I currently am stepping frame by frame in PAUSED mode with the following python code and pulling out each frame:<br>        self.elements['innersink'].send_event(Gst.Event.new_step(Gst.Format.BUFFERS, 1, 1, True, False))<br>        self.inner_sample = self.elements['innersink'].emit('pull-preroll')<br>        self.inner_buffer = self.inner_sample.get_buffer()<br><br></div><div>I am struggling to get tags out without being in PLAYING mode. Is there any way to get the Tags out while in PAUSED mode? From what I can tell, the only way to get the streaming tags is to listen for them on the bus similar to how one would listen for the EOS. I attempted this as I stepped through, but I couldn't seem to get anything. <br></div><br></div>While in paused mode I do something like this to get some tags off the beginning:<br><br>        while(True):<br>            msg = self.pipeline_front.get_bus().pop_filtered(Gst.MessageType.TAG | Gst.MessageType.ERROR | Gst.MessageType.ASYNC_DONE)<br>            print "TAG TYPE", msg, type(msg), msg.type<br>            if msg.type != Gst.MessageType.TAG:<br>                print 'Done:', msg.type<br>                break<br>            tags = msg.parse_tag()<br>            print tags.to_string()<br>            for tag in range(tags.n_tags()):<br>                name = tags.nth_tag_name(tag)<br>                print tag, name, tags.get_string(name)<br><br><br></div>It seems to work, but I only get a few tags like the following. I assume these are metadata tags.<br><br>taglist, video-codec=(string)H264;  <br>taglist, container-format=(string)Matroska; <br>taglist, video-codec=(string)H.264;<br><br></div>When I run 'strings <file>' command on the file I find these, so I know there are more tags.<br>matroska<br>GStreamer plugin version 1.2.4<br>GStreamer Matroska muxer<br>Video<br>V_MPEG4/ISO/AVC<br><br></div>The one I'm trying to pull out is the encoder tag (encoder=GStreamer plugin version 1.2.4) but I can't for the life of me find it. Any help would be appreciated!<br><br></div>Thanks,<br></div>Brian Panneton<br><div><div><div><div><div><br><div>            <br><br><div><div><br></div></div></div></div></div></div></div></div></div>