Getting Error while using element ffdec_flv

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting Error while using element ffdec_flv

qwerty-1
Hi All,

While using the ffdec_flv element in my pipeline i am getting following error:

ffdec_flv: input format was not set before data start.

I am getting the flv1 (Sorneson H263) data over udp, decoding it using ffdec_flv element, encoding it in h264 format and finally saving it into 3gp file.
Please help me by telling how to perform above given task.

Thanks in Advance

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Getting Error while using element ffdec_flv

Edward Hervey
Administrator
On Tue, 2011-05-03 at 18:22 +0530, Umakant Goyal wrote:

> Hi All,
>
> While using the ffdec_flv element in my pipeline i am getting
> following error:
>
> ffdec_flv: input format was not set before data start.
>
> I am getting the flv1 (Sorneson H263) data over udp, decoding it using
> ffdec_flv element, encoding it in h264 format and finally saving it
> into 3gp file.

  Provide the *exact* gst-launch commandline (or sequence of elements)
you are using.
  You're most likely forgetting to specify the caps on the client side.

> Please help me by telling how to perform above given task.
>
> Thanks in Advance
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Getting Error while using element ffdec_flv

Tim-Philipp Müller-2
In reply to this post by qwerty-1
On Tue, 2011-05-03 at 18:22 +0530, Umakant Goyal wrote:
>
> While using the ffdec_flv element in my pipeline i am getting
> following error:
>
> ffdec_flv: input format was not set before data start.
>
> I am getting the flv1 (Sorneson H263) data over udp, decoding it using
> ffdec_flv element, (..)
> Please help me by telling how to perform above given task.

Most likely you need to set the right caps on the buffers that are fed
to ffdec_flv. Use udpsrc's "caps" property, or a capsfilter element
after udpsrc.

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Getting Error while using element ffdec_flv

qwerty-1
Thanks for the response.
The pipeline i am using is gst-launch -v udpsrc uri=udp://192.168.10.125:21211 ! ffdec_flv ! fakesink.

I would be thankful to you if you would help me to set caps for above given pipeline.

On Tue, May 3, 2011 at 6:37 PM, Tim-Philipp Müller <[hidden email]> wrote:
On Tue, 2011-05-03 at 18:22 +0530, Umakant Goyal wrote:
>
> While using the ffdec_flv element in my pipeline i am getting
> following error:
>
> ffdec_flv: input format was not set before data start.
>
> I am getting the flv1 (Sorneson H263) data over udp, decoding it using
> ffdec_flv element, (..)
> Please help me by telling how to perform above given task.

Most likely you need to set the right caps on the buffers that are fed
to ffdec_flv. Use udpsrc's "caps" property, or a capsfilter element
after udpsrc.

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel