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 304581 - gstreamer crashes during video encoding when framerate is unspecified
gstreamer crashes during video encoding when framerate is unspecified
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.8.9
Other All
: High critical
: 0.8.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-17 21:13 UTC by Anatotr#
Modified: 2005-06-30 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Anatotr# 2005-05-17 21:13:16 UTC
Steps to reproduce:
gst-launch-0.8 -v videotestsrc  ! ffmpegcolorspace ! ffenc_mpeg1video !  fakesink 
 

Stack trace:
Thread 1 (Thread -1212757568 (LWP 25674)): 
  • #0 gst_ffmpegcsp_register
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #1 gst_ffmpegcsp_register
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #2 gst_ffmpegcsp_register
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #3 gst_ffmpegcsp_register
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #4 gst_ffmpegdemux_register
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #5 gst_pad_is_linked
    from /usr/lib/libgstreamer-0.8.so.1
  • #6 gst_pad_is_linked
    from /usr/lib/libgstreamer-0.8.so.1
  • #7 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #8 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #9 ??
    from /usr/lib/gstreamer-0.8/libgstffmpegcolorspace.so
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
    from /usr/lib/libgstreamer-0.8.so.1
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #18 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #19 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #20 gst_bin_child_state_change
    from /usr/lib/libgstreamer-0.8.so.1
  • #21 gst_bin_child_state_change
    from /usr/lib/libgstreamer-0.8.so.1
  • #22 gst_bin_child_state_change
    from /usr/lib/libgstreamer-0.8.so.1
  • #23 gst_pipeline_new
    from /usr/lib/libgstreamer-0.8.so.1
  • #24 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #25 gst_bin_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #26 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
  • #35 ??
    from /lib/tls/libc.so.6
  • #36 ??
  • #37 _dl_lookup_versioned_symbol
    from /lib/ld-linux.so.2
  • #38 __libc_start_main
    from /lib/tls/libc.so.6
  • #39 ??
 

Other information:
I'm using gstreamer Debian package which not compiled with debugging symbol enabled. 
So i'm not sure the trace is very useful. Moreover, the bug not not appear when one specifies 
the framerate: 
gst-launch-0.8 -v videotestsrc  ! video/x-raw-rgb,framerate=25 ! ffenc_mpeg1video !  fakesink
Comment 1 Ronald Bultje 2005-05-18 10:11:01 UTC
They accept fps [ 0, .. ] instead of [ 0.0000000000000000001, .. ]. We generally
use 1 as minimum. Someone needs to go over all of them and so s/0/1/ or think of
another 'starting from, but excluding' in caps statements.
Comment 2 Luca Ognibene 2005-06-19 10:16:50 UTC
current cvs:

luogni@bucefalo:~$ gst-launch-0.8 videotestsrc  ! ffmpegcolorspace !
ffenc_mpeg1video !  fakesink
ERROR (0x80508f0 - 310882:15:16.096084000)          ffmpeg(25724) (0):: only
YUV420 is supported

ESECUZIONE della pipeline...
ERROR (0x80508f0 - 310882:15:16.174917000)          ffmpeg(25724) (0)::
framerate not set

ERRORE: la pipeline non vuole riprodurre.

so it doesn't crash anymore..
Comment 3 Ronald Bultje 2005-06-30 11:06:00 UTC
Good enough.