Hello,
I'm trying to wrap h.264 video to mp4 container. The conversion is done in this way:
gst-launch-1.0 filesrc location=test.h264 ! h264parse ! qtmux ! filesink location="test.mp4"
The problem is that during the playback using playbin, there is just shown a static image from the video for several seconds and nothing more. The command is:
gst-launch-1.0 playbin uri=file:///home/monyz/test/test.mp4
The problem doesn't occur with mplayer - I am able to playback it. However there are printed warnings like:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3f4cdf4600]Non-increasing DTS in stream 0: packet 2 with DTS -140462610, packet 3 with DTS -140462610
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3f4cdf4600]Non-increasing DTS in stream 0: packet 3 with DTS -140462610, packet 4 with DTS -140462610
[...]
When the video is converted using avconv, then I am able to playback it with gstreamer playbin plugin:
avconv -i test.h264 -c copy test.mp4
however there are warnings during the conversion about DTS like:
Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
Non-monotonous DTS in output stream 0:0; previous: 1, current: 0; changing to 2. This may result in incorrect timestamps in the output file.
[...]
Is there a way to fix these DTS with gstreamer during the conversion?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel