Issue with 0.10 -> 1.0 port

Dylan Broome dylan at blackmoth.com.au
Sun Nov 17 22:33:00 PST 2013


Hi again,

I have narrowed the bug down to a problem in kateenc not setting the
headers until the pipeline content is finished. Using your example above
but leaving off the num-buffers=1000 and then hitting ctrl-c to terminate
the pipeline does not send the headers correctly to matroska. This seems to
happen when setting the pipeline to any sort of 'live' stream, including
setting 'stream=1' on the matroskamux.

Ive updated the bug ticket with all that info :) Hope that helps speed up
kate's recovery :P


On Mon, Nov 11, 2013 at 7:03 PM, Sebastian Dröge
<sebastian at centricular.com>wrote:

> On Mo, 2013-11-11 at 18:22 +1000, Dylan Broome wrote:
> > Hello,
> >
> > I am trying to port my application over to gstreamer 1.0, and rewriting
> it
> > in python using GObject Introspection. I have done this with success
> > however there is something that has changed that I just, simply, have no
> > idea where to start looking for the solution and I hope that someone here
> > can point me in the right direction.
> >
> > I am encoding video stream (from a rtspsrc) and a subtitle stream
> > (generated on the fly with appsrc) into a matroska container. I am using
> > the following launch line :
> >
> > matroskamux name=mux ! filesink name=sink rtspsrc name=videosrc ! queue
> > name=videoqueue ! rtph264depay name=depay ! h264parse name=decode ! mux.
> > appsrc name=appsrc caps=text/x-raw,format=utf8 stream-type=0 format=3
> > is-live=true ! queue name=appqueue ! kateenc category=subtitles
> > name=kateenc ! mux.
> >
> > The problem is when I play this video back using my 0.10 application, the
> > subtitles were displayed. Two streams are encoded in the .mkv, a H-264
> > video and subtitle/x-kate stream. When I play back the .mkv file using my
> > Gst 1.0 (1.2.0 to be specific) The subtitles are not displayed (Video is)
> > Upon inspection, vlc reports 2 steams, video and subtitle, and that the
> > codec for the subtitle stream has a codec of 'Undef'. Files generated by
> my
> > 0.10 application report the codec correctly as subtitle/x-kate.
> >
> > Ive tried setting caps between kateenc and matroskamux to no avail.
> >
> > Could this be something im missing with the new way Buffers (and the
> memory
> > within) are created? Maybe some meta-data?
> >
> > Any help would be greatly appreciated, Thank you.
>
> I'm not aware of anything that has changed in that regard, I would
> consider this a bug. Can you report that at http://bugzilla.gnome.org
> against GStreamer and include sample files?
>
> A file I created here with a test pipeline seems to work just fine (in
> GStreamer and VLC). This is the pipeline I used:
>
> > gst-launch-1.0 videotestsrc num-buffers=1000 ! x264enc ! h264parse !
> matroskamux name=mux ! filesink location=test.mkv   filesrc
> location=/some/test/subtitle/file ! subparse ! kateenc category=SUB ! mux.
>
> --
> Sebastian Dröge <sebastian at centricular.com>
> Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131118/e1637767/attachment.html>


More information about the gstreamer-devel mailing list