[gst-devel] no timestamp in file
Albert Costa
costa_albert at yahoo.fr
Fri Mar 19 16:41:03 CET 2010
Hi,
regarding my previous mail about seek in mp2ts file, I have found that the main problem is that ffenc_mpeg2video plugin does not put any timestamp in the file :
For example :
Create the file:
gst-launch videotestsrc num-buffers=100 ! ffmpegcolorspace ! queue ! ffenc_mpeg2video ! filesink location=test.mpg -> create the file, can be read by VLC for example
Read the file:
gst-launch filesrc location=test.mpg ! decodebin ! identity ! ffmpegcolorspace ! directdrawsink -v
I have this line for all buffers:
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain ******* (identity0:sink)i (115200 bytes, timestamp: 0:00:00.000000000, duration: 0:00:00.000000000, offset: -1, offset_end: -1, flags: 0) 00AA78A8"
Is there anything to do to make the file correct? (ie to get real timestamps for each buffer?)
Regards,
Al
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100319/715a326e/attachment.htm>
More information about the gstreamer-devel
mailing list