avenc_mpeg2video caps?

Jordan Johnson jwllmjohnson at gmail.com
Thu Jun 26 11:22:41 PDT 2014

I seem to be having an odd time getting the right output caps for my
avenc_mpeg2video encode.

*gst-launch-1.0 -m -t -v videotestsrc ! 'video/x-raw, format=BGRA,
pixel-aspect-ratio=1/1, interlace-mode=progressive, width=1280, height=720,
framerate=30/1' ! queue ! videoconvert ! avenc_mpeg2video bitrate=170000
gop-size=45 max-bframes=3 me-sub-cmp=2 mb-cmp=2 ! 'video/x-mpeg,
alignment=au, stream-format=byte-stream, profile=main' ! filesink
location=video.es <http://video.es>*
*..*does not work. Removing the output caps does, but then mpv will say

*V: 00:00:25 / 00:00:00 (99%)No video PTS! Making something up.V: 00:00:25
/ 00:00:00 (99%)*

...so the PTS is missing for some reason. Any idea what's going on?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140626/5321b2fb/attachment.html>

More information about the gstreamer-devel mailing list