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 131050 - avi-demux plays audio, but funky colors as video
avi-demux plays audio, but funky colors as video
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.7.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 131049 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-01-09 23:27 UTC by Stephane Loeuillet
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description Stephane Loeuillet 2004-01-09 23:27:59 UTC
using all in HEAD
opening an AVI file with gst-player  :

(gst-player:23031): GStreamer-CRITICAL **: file gstinterface.c: line 140
(gst_implements_interface_cast): assertion
`gst_element_implements_interface (GST_ELEMENT (from), iface_type)' failed
 
** (gst-player:23031): CRITICAL **: file xoverlay.c: line 181
(gst_x_overlay_got_desired_size): assertion `GST_IS_X_OVERLAY (overlay)' failed
** Message: track found min max volume 0, 100
 
(gst-player:23040): GStreamer-CRITICAL **: Could not find a compatible pad
on element avidemux0 to link to src_0:sink
 
(gst-player:23040): GStreamer-CRITICAL **: Could not find a compatible pad
on element avidemux0 to link to src_1:sink
 
Program received signal SIGSEGV, Segmentation fault.

Thread 16386 (LWP 23040)

  • #0 gst_avi_demux_stream_index
    at gstavidemux.c line 1064
  • #1 gst_avi_demux_stream_header
    at gstavidemux.c line 1283
  • #2 gst_avi_demux_loop
    at gstavidemux.c line 1471
  • #3 loop_group_schedule_function
    at gstoptimalscheduler.c line 996
  • #4 schedule_group
    at gstoptimalscheduler.c line 841
  • #5 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 880
  • #6 schedule_chain
    at gstoptimalscheduler.c line 924
  • #7 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 2074
  • #8 gst_scheduler_iterate
    at gstscheduler.c line 729
  • #9 gst_bin_iterate_func
    at gstbin.c line 1080
  • #10 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 355
  • #11 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #13 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #16 gst_bin_iterate
    at gstbin.c line 1119
  • #17 gst_thread_main_loop
    at gstthread.c line 551
  • #18 g_thread_create_proxy
    from /usr/lib/libglib-2.0.so.0
  • #19 pthread_start_thread
    from /lib/libpthread.so.0
  • #20 pthread_start_thread_event
    from /lib/libpthread.so.0
  • #21 clone
    from /lib/libc.so.6

Comment 1 Stephane Loeuillet 2004-01-09 23:29:22 UTC
*** Bug 131049 has been marked as a duplicate of this bug. ***
Comment 2 Stephane Loeuillet 2004-01-09 23:53:50 UTC
the 2 first warnings where there because i used xvvideosink :

(gst-player:23031): GStreamer-CRITICAL **: file gstinterface.c: line 140
(gst_implements_interface_cast): assertion
`gst_element_implements_interface (GST_ELEMENT (from), iface_type)' failed
 
** (gst-player:23031): CRITICAL **: file xoverlay.c: line 181
(gst_x_overlay_got_desired_size): assertion `GST_IS_X_OVERLAY
(overlay)' failed

dolphy/julien told me to use xvimagesink instead and it now does not
display them.

the avi-demux crash is still there
Comment 3 Stephane Loeuillet 2004-01-10 10:56:50 UTC
the video that does that : (25MB)

http://www.leroutier.net/Tatu%20Malchik%20Gej%2002.avi
Comment 4 Stephane Loeuillet 2004-01-12 14:08:54 UTC
additional details about this file :

plays well under mplayer :

Playing /mnt/windows/D/Zarbi/vdo/verifie/riff-avi/div4/Tatu Malchik
Gej 02.avi.
Cache fill:  0,00% (0 bytes)    AVI file format detected.
VIDEO:  [DIV3]  384x288  24bpp  24,939 fps  825,6 kbps (100,8 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 24000->176400 (192,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
...
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 384 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 384x288 => 384x288 Planar YV12
A: 197,2 V: 197,2 A-V:  0,017 ct:  0,038  4919/4919   2%  1%  0,6% 2 0 0%%
...
Comment 5 Stephane Loeuillet 2004-01-24 13:33:32 UTC
seems symptoms changed with code changes lately.

sound now plays
instead of image, i have vertical green lines in the middle of video
window but no sign of proper video.

also got lots of messages on the console :
WARNING **: Index entry XXX has invalid stream nr YYY
Comment 6 Ronald Bultje 2004-01-24 23:42:48 UTC
Which plugins is spider using? Does it play on commandline if not
using spider?
Comment 7 Stephane Loeuillet 2004-01-25 03:30:29 UTC
i don't know which plugin spiders uses.

i tried with a riff-avi/divx5 in gst-player => got sound, funky colors
using the following pipeline, i got video and audi working :

gst-launch-0.7 filesrc location=/mnt/windows/R/sample.avi ! avidemux !
ffdec_mpeg4 ! xvimagesink avidemux0. ! mad ! osssink

so, my last avi reading problem seems to be in gst-player or spider
Comment 8 Stephane Loeuillet 2004-01-25 03:42:36 UTC
using this syntax, it opens a 1cm x 1cm black video window and plays
sound well :

 ! spider ! { queue ! xvimagesink } spider0. ! { queue ! osssink }

Company told me to run gst-launch with -v. i now know that spider
choosed divxdec which has the good video format on its sink. but the
next step gives xvimagesink a 16x16 format.

/pipeline0/filesrc0.src: active = TRUE
/pipeline0/spider0/sink_ident.sink: active = TRUE
/pipeline0/spider0/sink_ident.src: active = TRUE
/pipeline0/spider0/src_0.sink: active = TRUE
/pipeline0/spider0/src_0.src: active = TRUE
/pipeline0/spider0/src_1.sink: active = TRUE
/pipeline0/spider0/src_1.src: active = TRUE
/pipeline0/thread0/xvimagesink0.sink: active = TRUE
/pipeline0/thread1/osssink0.sink: active = TRUE
/pipeline0/filesrc0.src: caps = video/x-msvideo
/pipeline0/spider0/sink_ident.sink: caps = video/x-msvideo
/pipeline0/spider0/sink_ident.src: caps = video/x-msvideo
/pipeline0/spider0/avidemux0.sink: caps = video/x-msvideo
/pipeline0/spider0/avidemux0.sink: active = TRUE
/pipeline0/spider0/avidemux0.video_00: active = TRUE
/pipeline0/spider0/avidemux0.video_00: caps = video/x-divx,
divxversion=(int)5, framerate=(double)29.969999313354492,
width=(int)480, height=(int)272
/pipeline0/spider0/divxdec0.sink: caps = video/x-divx,
divxversion=(int)5, framerate=(double)29.969999313354492,
width=(int)480, height=(int)272
/pipeline0/spider0/divxdec0.sink: active = TRUE
/pipeline0/spider0/divxdec0.src: active = TRUE
/pipeline0/thread0/queue0.src: caps = video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)16, height=(int)16, framerate=(double)1
/pipeline0/thread0/xvimagesink0.sink: caps = video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)16, height=(int)16, framerate=(double)1
/pipeline0/spider0/src_0.src: caps = video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)16, height=(int)16, framerate=(double)1
/pipeline0/thread0/queue0.sink: caps = video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)16, height=(int)16, framerate=(double)1
/pipeline0/spider0/divxdec0.src: caps = video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)16, height=(int)16, framerate=(double)1
/pipeline0/spider0/src_0.sink: caps = video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)16, height=(int)16, framerate=(double)1
/pipeline0/spider0/avidemux0.audio_00: active = TRUE
/pipeline0/spider0/avidemux0.audio_00: caps = audio/mpeg,
mpegversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2
/pipeline0/spider0/mad0.sink: caps = audio/mpeg, mpegversion=(int)1,
layer=(int)3, rate=(int)44100, channels=(int)2
/pipeline0/spider0/mad0.sink: active = TRUE
/pipeline0/spider0/mad0.src: active = TRUE
/pipeline0/spider0/avidemux0: streaminfo = application/x-gst-streaminfo
/pipeline0/thread1/queue1.src: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)44100, channels=(int)2
/pipeline0/thread1/osssink0.sink: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)44100, channels=(int)2
/pipeline0/spider0/src_1.src: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)44100, channels=(int)2
/pipeline0/thread1/queue1.sink: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)44100, channels=(int)2
/pipeline0/spider0/mad0.src: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)44100, channels=(int)2
/pipeline0/spider0/src_1.sink: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)44100, channels=(int)2
Comment 9 Stephane Loeuillet 2004-01-25 03:54:47 UTC
 ! avidemux ! divxdec ! xvimagesink avidemux0. ! mad ! osssink

works well on the command line (audio+sound)
Comment 10 Ronald Bultje 2004-01-25 11:13:27 UTC
Video autoplugging is a bit broken. Partly spider-related, but also
partly elements that don't implement autoplugging well enough yet, I
think...
Comment 11 Stephane Loeuillet 2004-02-11 23:31:51 UTC
gst-player now plays avis with div3, div5 & xvid correctly

closing this one as it seems it was corrected

thx guys