no output-format property for h264parse?

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

no output-format property for h264parse?

mala
Hi, everyone
I got a raw h264 video clip , now I want to mux it into mp4 file with the following gstreamer pipeline:

gst-launch -v filesrc location=stream.h264 ! h264parse ! mp4mux ! filesink location=ss.mp4

the gstreamer(ver 0.10.34) report : no property output-format in element h264parse0, isn't this property realy exist? How can I construct a pipeline to do my work.
                                                                           Best regards
Reply | Threaded
Open this post in threaded view
|

Re: no output-format property for h264parse?

Sebastian Dröge-7
On Di, 2011-10-25 at 03:11 -0700, mala wrote:

> Hi, everyone
> I got a raw h264 video clip , now I want to mux it into mp4 file with the
> following gstreamer pipeline:
>
> gst-launch -v filesrc location=stream.h264 ! h264parse ! mp4mux ! filesink
> location=ss.mp4
>
> the gstreamer(ver 0.10.34) report : no property output-format in element
> h264parse0, isn't this property realy exist? How can I construct a pipeline
> to do my work.
You have to set the stream-format via caps, e.g. you can add a
capsfilter downstream of h264parse that restricts the stream-format to
the one you need.

mp4mux requires the correct stream-format and alignment on it's caps
though so h264parse should already convert it automatically if needed.

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

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: no output-format property for h264parse?

mala
Thank you very much, can you give me some advice for this: mux a raw h264 file with an audio file or realtime audio stream.