[Bug 688357] Incorrect PTS and missing DTS using x264enc

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 15 11:59:59 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=688357
  GStreamer | gst-plugins-ugly | 1.0.1

--- Comment #3 from Elyes J <joax87 at gmail.com> 2012-11-15 19:59:54 UTC ---
Yes what I have analyzed at first was the result of x264enc ! h264parse !
mpegtsmux.

After your answer, I tried 3 things:
- Analyze the data directly after x264enc (or at least try),
- Try another mpegts muxer,
- Try an AVI muxer.

When I try to look with an hex editor to the content of the file that x264enc
output, I can't find or recognize any startcode like 00 00 01 (PES, PTS or
DTS).

When I try avimux_mpegts (even if he is not recommanded), he display this
error:
libav :0:: Application provided invalid, non monotonically increasing dts to
muxer in stream 0: 861242 >= 858239
libav :0:: H.264 bitstream malformed, no startcode found, use -vbsf
h264_mp4toannexb

When I try the AVI muxer (avimux) and I play the file in VLC, it's smooth. But
I don't know how AVI works in comparaison with TS streams.

Usually it's the encoder job to add the timestamps. But in this case I am not
sure if it's x264enc who forgets them or if it's mpegtsmux who is messing them.

Regards.

-- 
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