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 578671 - catch encoder exceptions and show them in the GUI
catch encoder exceptions and show them in the GUI
Status: RESOLVED DUPLICATE of bug 657392
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Normal enhancement
: Git
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-10 23:03 UTC by Jean-François Fortin Tam
Modified: 2012-11-17 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log (235.59 KB, application/x-gzip)
2009-04-22 00:28 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2009-04-10 23:03:36 UTC
Whenever something prevents the rendering from taking place, the user should be informed. For example, trying to render something in 720x555 in H.264 will print this in the terminal:
x264 [error]: width or height not divisible by 2 (720x555)

However, the user will not know unless he is running pitivi from the terminal and actively looking for errors. I currently get a dialog saying something this, at most:

gstx264enc.c(642): gst_x264_enc_init_encoder (): /GstPipeline:pipeline0/GstBin:bin3/GstBin:bin4/GstBin:bin5/GstX264Enc:x264enc0
Comment 1 Edward Hervey 2009-04-21 16:19:26 UTC
It all depends on whether the error is handled properly in the various plugins. If it's the case, then eventually a GST_MESSAGE_ERROR will be posted and we'll be informed about that.

Could you attach a log (GST_DEBUG=3) of that issue so we can figure out who's wrong and to which gstreamer module we should forward this.
Comment 2 Jean-François Fortin Tam 2009-04-22 00:28:32 UTC
Created attachment 133078 [details]
debug log
Comment 3 Jean-François Fortin Tam 2009-04-22 00:31:00 UTC
I actually get an error in the GUI, but it is completely impossible to understand to mortals: 

"gstx264enc.c(642): gst_x264_enc_init_encoder (): /GstPipeline:pipeline0/GstBin:bin3/GstBin:bin4/GstBin:bin5/GstX264Enc:x264enc0"

...Comparatively to the error printed to the terminal ("x264 [error]: width or height not divisible by 2 (720x555)")
Comment 4 Alessandro Decina 2009-09-02 14:16:01 UTC
I think this requires a bit more thought. Totem and rhythmbox don't show messages coming from gstreamer at all. They handle specific errors and show custom messages.

I think we should do the same, possibly adding a separate "debug console" window like the javascript error window in web browsers. We could use that console to collect gst/pitivi log statements as well.
Comment 5 Jean-François Fortin Tam 2012-11-17 16:55:54 UTC

*** This bug has been marked as a duplicate of bug 657392 ***