Issue with 0.10 -> 1.0 port
Dylan Broome
dylan at blackmoth.com.au
Mon Nov 11 22:21:37 PST 2013
Thank you Sebastian,
Your pipeline worked as expected. I have a bad feeling it might be an error
in my 'need-data' signal from appsrc. I have filed a bug like you suggested
:
https://bugzilla.gnome.org/show_bug.cgi?id=712134
For completeness I have attached my python script that reproduces the error
if you are interested here.
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/20131112/5587da9e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: katetest.py
Type: text/x-python
Size: 1309 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131112/5587da9e/attachment-0001.py>
More information about the gstreamer-devel
mailing list