After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 439328 - jpg - negotiation problem
jpg - negotiation problem
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: dont know
0.10.12
Other Linux
: Normal trivial
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-18 00:28 UTC by Steman Allfan
Modified: 2007-09-25 07:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steman Allfan 2007-05-18 00:28:36 UTC
That's the error playbin gives me while trying to load the following jpg-file:
Error: Internal GStreamer error: negotiation problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.

All other images i tried are working quite fine, but they all are less than 1.5MB in size, so the problem is probably located in loading the file.
I can't say, what kind of pipeline is created inside playbin, so please don't ask, I won't be able to answer - I'm just following the instructions given me by the error message seen above.

"file bDSC_7396.jpg" says:
  'JPEG image data, EXIF standard 2.21'

The image file causing the problem can be accessed here:
http://rs139cg2.rapidshare.com/files/31909613/bDSC_7396.jpg.html
Comment 1 David Schleef 2007-05-18 01:54:55 UTC
The image is 3072x2048; I'm not surprised that it doesn't work.  I suggest using an image viewer to view JPEG images, not playbin.  :)
Comment 2 Steman Allfan 2007-05-18 02:59:40 UTC
I just tested the capabilities of »myapp«, so I checked whether images can be viewed - a movie is as generally known also a kind of "image" with more than one frame. :)

But what about watching a movie with such a high resolution - won't it output an error, too?
Perhaps it's possible let gstreamer give a warning describing the problem, not an unspecified error.
Comment 3 Jan Schmidt 2007-05-24 14:13:25 UTC
Yeah, the error is not nearly descriptive enough.

The size limitation is usually hardware based - the graphics card won't support output of frames that large, so yeah it's a problem for movies too.

from xvinfo on this machine:
maximum XvImage size: 2048 x 2048

2048 is a fairly common size.
Comment 4 Tim-Philipp Müller 2007-05-24 15:48:04 UTC
but shouldn't the ... ! videoscale ! x*imagesink  inside playbin still just work? I mean, the imagesink should be able to query the maximum dimensions and videoscale should scale down the picture to something that's acceptable to the imagesink, no?

Comment 5 Jan Schmidt 2007-05-24 16:03:45 UTC
Actually yes, I forgot that I implemented that. Since 0.10.8 of gst-plugins-base in xvimagesink. 
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2007-08-05 09:47:23 UTC
Steman, what version of gstreamer do you have? Can you update to newer versions where gst-plugins-base >= 0.10.8. Is it working after updating?
Comment 7 Stefan Sauer (gstreamer, gtkdoc dev) 2007-09-25 07:32:25 UTC
Closing now. Please reopen, if this still fails.