After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635275 - time stamp problems on long encoding
time stamp problems on long encoding
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-19 15:43 UTC by Oleksij Rempel
Modified: 2011-01-11 09:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oleksij Rempel 2010-11-19 15:43:04 UTC
I try to encode one mpeg2 stream to vp8 and get one interesting issue. Produced video duration is too big. Real duration is 1 hour 40 minuts, produced duration is 3 hour 30 minuts. This duration looks same like encoding time.

Here is command line i use:
gst-launch filesrc location=stream.dump ! mpegpsdemux name=demux \
  matroskamux name=mux ! filesink location=out2.mkv \
  demux.audio_80 ! queue ! a52dec mode=2 ! audioconvert ! audioresample ! audio/x-raw-float,rate=44100,channels=2 ! queue ! vorbisenc ! queue  ! mux. \
  demux.audio_81 ! queue ! a52dec mode=2 ! audioconvert ! audioresample ! audio/x-raw-float,rate=44100,channels=2 ! queue ! vorbisenc ! queue  ! mux. \
  demux.video_e0 ! queue ! mpeg2dec ! videocrop top=74 bottom=74 ! ffmpegcolorspace ! queue ! vp8enc threads=3 speed=0 quality=10 ! queue ! mux.

I guess the problem are the time stamps. Audio stream has time stamps, video stream do not has time stamps. Thay will be generated after mpeg2dec, so if i use slow encoding, packet will get stamps with big interwal.
Comment 1 Oleksij Rempel 2010-11-20 18:40:44 UTC
hmmm... i used identity to check times stamps, so seems like i was wrong. the stamps seems to be perfect. But matroska muxed files still report wrong duration.
duration = encode time.
Comment 2 David Schleef 2010-12-01 02:33:31 UTC
Is this the same as #635720?
Comment 3 Tim-Philipp Müller 2011-01-10 16:33:56 UTC
Don't know if that belongs into -bad or -good, but certainly not into common.

Moving to -good since you say the file matroskamux create has a wrong duration.

Alexey: have you had a chance to test this with current git or pre-releases by any chance, to check if the bug David mentioned fixes things?
Comment 4 Oleksij Rempel 2011-01-11 06:30:00 UTC
It seems to be fixed.
Thank you.
Comment 5 Tim-Philipp Müller 2011-01-11 09:18:13 UTC
Thanks for confirming.