For some reason the code in the above email is not coming through. Here it
is:
gst-launch-1.0 \
filesrc location=subtitles.srt ! subparse ! mux.subtitle_0 \
videotestsrc num-buffers=100 ! videoconvert ! x264enc ! matroskamux
name=mux ! filesink location=output.mkv
1
00:00:02,110 --> 00:00:04,578
HELLO1
2
00:00:05,313 --> 00:00:06,871
HELLO2
3
00:00:07,014 --> 00:00:08,003
HELLO3
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal
data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop ():
/GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel