<div dir="ltr">I see, you get the width and height in prerolling, I only get it after the pipeline is prerolled. Unfortunately, even when I encode the "sanitized" video,  the bottom of the video is distorted with some kind of redish ghosting... trying to figure out the problem, but my best bet might be obtaining version 1.2...somehow :)<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 4:32 PM, Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, 2013-12-13 at 15:33 +0100, Stefan Simon wrote:<br>
<br>
Hi Stefan,<br>
<br>
</div>> <a href="https://drive.google.com/file/d/0B28etZUkBgLAa2JReDk3VHpUWHM/edit?usp=sharing" target="_blank">https://drive.google.com/file/d/0B28etZUkBgLAa2JReDk3VHpUWHM/edit?usp=sharing</a><br>
<br>
Thanks. Seems to work fine in 1.2:<br>
<br>
$ gst-launch-1.0 file:///test2.ts ! tsdemux ! h264parse !<br>
video/x-h264,alignment=au,stream-format=byte-stream ! fakesink -v<br>
<div class="im">Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
</div>h264parse0:sink: caps = video/x-h264, stream-format=(string)byte-stream,<br>
alignment=(string)nal<br>
h264parse0:src: caps = video/x-h264, stream-format=(string)byte-stream,<br>
alignment=(string)au, width=(int)1920, height=(int)1080,<br>
parsed=(boolean)true, pixel-aspect-ratio=(fraction)1/1<br>
<br>
(note how the src caps have width+height and all that)<br>
<div class="im"><br>
> Found out a curious thing. When I drag the ts file through ffmpeg<br>
> using vcodec and acodec "copy" gstreamer "just works" with that new<br>
> file.<br>
<br>
</div>It probably gets sanitised a bit in the process, so that it starts with<br>
a keyframe or SPS/PPS or so.<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers<br>
 -Tim<br>
<br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>