iMX6 GStreamer question on qtmux

Jean-Michel Hautbois jhautbois at gmail.com
Tue Oct 14 02:55:16 PDT 2014


2014-10-14 5:16 GMT+02:00 lppier <madstrum at gmail.com>:
> I'm trying to reliably get video from my analog in source onto the ssd drive
> on my baseboard with a imx6 cpu. I'm using CM-FX6 SOC, and freescale's vpu
> libraries including gstreamer.
>
> I got the following commands to work.
>
> gst-launch -e tvsrc fps-n=24 ! multiqueue max-size-buffers=1
> max-size-bytes=0 max-size-time=0 ! vpuenc codec=6 bitrate=4000000 ! flvmux !
> filesink location=output.mkv sync=false --gst-debug=2
>
> this command allows me to record quite reliably with h.264 encoding and flv
> container.
> Now, I'd like to use a mp4 container, but after changing flvmux to qtmux or
> mp4mux I get the following error scrolling continuously.
>
> qtmux gstqtmux.c:2994:gst_qt_mux_video_sink_set_caps:<qtmux0> no
> stream-format field in h264 caps
> qtmux gstqtmux.c:2994:gst_qt_mux_video_sink_set_caps:<qtmux0> pad video_00
> refused caps cideo/x-h264, width=(int)720, height=(int)576,
> framerate=(fraction)1/1 framed=(boolean)true
> ...
> ..
> ..
>
> How do I resolve this?

Don't know but a guess is to use h264parse between vpuenc and qtmux.

> On a separate note, how do I fill in the meta data (things like frame rate,
> length , etc) using gstreamer in the output file? Currently I see nothing
> when I right click the file in windows to see the properties.

Will let others answer, but first, don't name a file .mkv when this is
a mp4 file. And maybe Windows is a bit sensitive with filenames and
extensions, I don't use it I can't confirm.

JM


More information about the gstreamer-devel mailing list