<div dir="ltr"><div>Tim,<br></div>I cut first 6MB from the file with dd:<br><div><br><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></div><div>Found out a curious thing. When I drag the ts file through ffmpeg using vcodec and acodec "copy" gstreamer "just works" with that new file.<br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Dec 13, 2013 at 1:58 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 13:17 +0100, Stefan Simon wrote:<br>
<br>
Hi Stefan,<br>
<br>
</div><div class="im">> thanks for a fast response. Looks like as far as I don't include<br>
> omxh264dec in the pipeline, I don't get an error. I'm not sure how to<br>
> read this correctly, but itmight have something to do with alignment<br>
> nal/au<br>
<br>
</div>h264parse should take care of any stream-format and alignment<br>
conversions.<br>
<div class="im"><br>
> root@raspberrypi:/mnt/tmp/tmp# gst-launch-1.0 filesrc -v<br>
> location="/mnt/tmp/movie/20121107 0402 - HBO HD - Hanna.ts" !<br>
> tsdemux ! h264parse ! omxh264dec ! fakesink<br>
> Setting pipeline to PAUSED ...<br>
> Pipeline is PREROLLING ...<br>
> /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps =<br>
> video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal<br>
> /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps =<br>
> video/x-h264, stream-format=(string)byte-stream, alignment=(string)au,<br>
> parsed=(boolean)true<br>
> ERROR: from element /GstPipeline:pipeline0/GstTSDemux:tsdemux0:<br>
> Internal data stream error.<br>
> Additional debug info:<br>
> mpegtsbase.c(1620): mpegts_base_loop<br>
> (): /GstPipeline:pipeline0/GstTSDemux:tsdemux0:<br>
> stream stopped, reason not-negotiated<br>
<br>
<br>
</div>I think the problem here might be that h264parse does not put<br>
width/height on the output (src) caps, and omxh264dec requires that.<br>
<br>
If I remember correctly, this was fixed in 1.2.x.<br>
<br>
If you can put the first few MB of a sample file somewhere I can check.<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>