GNOME Bugzilla – Bug 673378
error when parsing output of multipart demux
Last modified: 2015-11-16 12:45:37 UTC
I want to parse mjpeg stream because I want the JPEG images. I tried to use jpegparse and it works, however I'm getting a lot of warnings (I think there's one warning for every frame). This demonstrates the behaviour (the IP address is public, so it should work everywhere): -------------------------------- $ gst-launch -e souphttpsrc location='http://c-cam.uchicago.edu/mjpg/video.mjpg' ! multipartdemux ! jpegparse ! fakesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... (gst-launch-0.10:21271): GStreamer-WARNING **: Trying to set string on taglist field 'comment', but string is not valid UTF-8. Please file a bug. Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock (gst-launch-0.10:21271): GStreamer-WARNING **: Trying to set string on taglist field 'comment', but string is not valid UTF-8. Please file a bug. ... -------------------------------- When I have used 'jpegparse' in a program and actually read the tags, I got just some binary nonsense.
Sorry for not responding to this sooner. I can't reproduce this any more, not with the latest 0.10 version, nor with current 1.x, so either it's been fixed or the stream contains other metadata now. Can you still reproduce this with GStreamer 1.x. If yes, could you run it like this and submit a stack trace? $ G_DEBUG=fatal_warnings gdb --args gst-launch-0.10 -e .... (gdb) run ... wait for abort ... (gdb) thread apply all bt ... paste this ... (gdb) kill (gdb) quit
Oh, I'm sorry too, when I didn't receive any comments, I forgot about it. But as far as I can test, it works without any warnings in 0.10.36 and in 1.4.4.0 So it seems to me it's been fixed, probably a long time ago.