If you are free to modify nv_omx_h264dec, then probably you could do some translations here and configure the hardware OMX way. Otherwise raise a bug on NV unless they do not support the bytestream format,<br><br>BR<br>Deepesh<br>
<br><div class="gmail_quote">On Mon, Apr 30, 2012 at 3:25 PM, seifeddine ferjani <span dir="ltr"><<a href="mailto:seifeddine.ferjani@gmail.com" target="_blank">seifeddine.ferjani@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Felipe,<div><br></div><div>I am using the hardware H264 decoder provided by Nvidia as a binary, I can't configure it.</div><div>Is there a gstreamer element that can modify the stream format of the mpegtsdemux output ??   </div>

<div><br></div><div><div style="text-align:left">Hi ved kpl </div><div style="text-align:left"><br></div><div style="text-align:left">I used the typefind after the decoder to debug its output.</div><div style="text-align:left">

I tried the h264parse and I got MacroBloc error.</div><div><div class="h5"><br><div class="gmail_quote">2012/4/29 ved kpl <span dir="ltr"><<a href="mailto:ved.kpl@gmail.com" target="_blank">ved.kpl@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
why there's a typefind after the decoder?<br>
<br>
Remove the typefind and try inserting h264parse after mpegtsdemux.<br>
<div><div><br>
On Thu, Apr 26, 2012 at 4:33 PM, Felipe Contreras<br>
<<a href="mailto:felipe.contreras@gmail.com" target="_blank">felipe.contreras@gmail.com</a>> wrote:<br>
> On Thu, Apr 26, 2012 at 12:05 PM, seifeddine ferjani<br>
> <<a href="mailto:seifeddine.ferjani@gmail.com" target="_blank">seifeddine.ferjani@gmail.com</a>> wrote:<br>
>> I am using Toradex Colibri T20 board based on tegra 2 processor.<br>
>> I would like to decode a TS file that contain a program ( ID=112) with H264<br>
>> video (PID 0x0460).<br>
>> So that I used the following pipeline :<br>
>><br>
>> gst-launch-0.10 -v filesrc<br>
>> location=doremi_em2000_cc708_h264_60Hz_paff_ad-gop_24-4.ts ! mpegtsdemux<br>
>> program-number=112<br>
>> name=demux demux.video_0460 ! nv_omx_h264dec ! typefind  !<br>
>> nv_omx_hdmioverlaysink<br>
><br>
> From what I can see the mpegtsdemux outputs H.264 in bytestream format<br>
> with nal alignment. Are you sure your codec accepts that format, and<br>
> is configured that way? As far as I know gst-openmax doesn't know how<br>
> to negotiate those caps, and I'm not even sure there's a way to<br>
> specify that in OpenMAX IL.<br>
><br>
> Cheers.<br>
><br>
> --<br>
> Felipe Contreras<br>
> _______________________________________________<br>
> gstreamer-openmax mailing list<br>
> <a href="mailto:gstreamer-openmax@lists.freedesktop.org" target="_blank">gstreamer-openmax@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax</a><br>
_______________________________________________<br>
gstreamer-openmax mailing list<br>
<a href="mailto:gstreamer-openmax@lists.freedesktop.org" target="_blank">gstreamer-openmax@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
gstreamer-openmax mailing list<br>
<a href="mailto:gstreamer-openmax@lists.freedesktop.org">gstreamer-openmax@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax</a><br>
<br></blockquote></div><br>