[Bug 688357] Incorrect PTS and missing DTS using x264enc
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Nov 15 12:32:24 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=688357
GStreamer | gst-plugins-ugly | 1.0.1
--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-11-15 20:32:19 UTC ---
Couple of comments:
- best muxer here is probably (hopefully!) qtmux/mp4mux. It should handle
dts/pts well.
- avimux is not really suitable for H.264 and likely won't work well (but
probably can be made to work better, just not a good test case)
- there's no need for an h264parse element after x264enc. It should
(hopefully) work without.
- x264enc may output either AVC or byte-stream format. It should negotiate the
right stream format automatically with the downstream element/muxer. If you
just do x264enc ! filesink, it looks like it will output AVC, which has no such
start codes. You can force bystream by doing x264enc !
video/x-h264,stream-format=byte-stream ! filesink ...
- check the DTS/PTS on the buffers x264enc outputs, see e.g.:
.. x264enc ! fakesink -v
- avmux* demuxers are not in good shape, and I would be surprised if they
handled dts/pts at all yet. It does not look like they use the dts on the
buffers at first glance.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list