How to diagnose the rmvb playing problem

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to diagnose the rmvb playing problem

Ruan Wen
Hi
I have installed the latest gstreamer ,gst-plugins-good,gst-plugins-bad,gst-plugins-ugly.Also the document on the website http://gstreamer.freedesktop.org/documentation/plugins.html shows that the latest versions support the realmedia. I can use the gst-launch to play some rmvb files but not to other rmvb files;

For example,i run the next command on the terminal
[ruanwen@localhost ~]$ gst-launch playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a general stream error.
Additional debug info:
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...


If i add some options to the command , it output:
[ruanwen@localhost ~]$ gst-launch -m playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb
................
<skip>
................
Got Message from element "rmdemux0" (tag): taglist, audio-codec=(string)"Real\ Audio\ 10\ \(AAC\)";
Got Message from element "rmdemux0" (tag): taglist, video-codec=(string)"Real\ Video\ 4.0";
Got Message from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PLAYING, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_READY;
Got Message from element "decodebin0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got Message from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_NULL;
Got Message from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_NULL, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got Message from element "rmdemux0" (error): GstMessageError, gerror=(GstGError)(NULL), debug=(string)"rmdemux.c\(943\):\ gst_rmdemux_loop\ \(\):\ /playbin0/decodebin0/rmdemux0:\012stream\ stopped\,\ reason\ not-negotiated";
ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a general stream error.
Additional debug info:
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

It seem that the gstreamer can't support the RealAudio 10, because the audio codec of other files which can be played normally is RealAudio8 or 9.

How can i diagnose the problem and determine which cause the playing failure?



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to diagnose the rmvb playing problem

Stefan Sauer
Hi,

Ruan Wen schrieb:

> Hi
> I have installed the latest gstreamer
> ,gst-plugins-good,gst-plugins-bad,gst-plugins-ugly.Also the document on
> the website http://gstreamer.freedesktop.org/documentation/plugins.html 
> shows that the latest versions support the realmedia. I can use the
> gst-launch to play some rmvb files but not to other rmvb files;
>
> For example,i run the next command on the terminal
> [ruanwen@localhost ~]$ gst-launch playbin
> uri=file:///home/ruanwen/Desktop/media/04.rmvb
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered
> a general stream error.
> Additional debug info:
> rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
> stream stopped, reason not-negotiated
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
>
> If i add some options to the command , it output:
> [ruanwen@localhost ~]$ gst-launch -m playbin
> uri=file:///home/ruanwen/Desktop/media/04.rmvb
> ................
> <skip>
> ................
> Got Message from element "rmdemux0" (tag): taglist,
> audio-codec=(string)"Real\ Audio\ 10\ \(AAC\)";
> Got Message from element "rmdemux0" (tag): taglist,
> video-codec=(string)"Real\ Video\ 4.0";
> Got Message from element "fakesink" (state-changed): GstMessageState,
> old-state=(GstState)GST_STATE_PLAYING,
> new-state=(GstState)GST_STATE_PAUSED,
> pending-state=(GstState)GST_STATE_READY;
> Got Message from element "decodebin0" (state-changed): GstMessageState,
> old-state=(GstState)GST_STATE_READY,
> new-state=(GstState)GST_STATE_PAUSED,
> pending-state=(GstState)GST_STATE_VOID_PENDING;
> Got Message from element "fakesink" (state-changed): GstMessageState,
> old-state=(GstState)GST_STATE_READY,
> new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_NULL;
> Got Message from element "fakesink" (state-changed): GstMessageState,
> old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_NULL,
> pending-state=(GstState)GST_STATE_VOID_PENDING;
> Got Message from element "rmdemux0" (error): GstMessageError,
> gerror=(GstGError)(NULL), debug=(string)"rmdemux.c\(943\):\
> gst_rmdemux_loop\ \(\):\ /playbin0/decodebin0/rmdemux0:\012stream\
> stopped\,\ reason\ not-negotiated";
> ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered
> a general stream error.
> Additional debug info:
> rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
> stream stopped, reason not-negotiated
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> It seem that the gstreamer can't support the RealAudio 10, because the
> audio codec of other files which can be played normally is RealAudio8 or 9.
>
> How can i diagnose the problem and determine which cause the playing
> failure?

GST_DEBUG="rademux:4,real*:4" gst-launch playbin
uri=file:///home/ruanwen/Desktop/media/04.rmvb

Stefan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to diagnose the rmvb playing problem

Ruan Wen
Thank you!

I run the command
GST_DEBUG="rademux:4,real*:4" gst-launch playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb

[ruanwen@localhost ~]$ GST_DEBUG="rademux:4,real*:4" gst-launch playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.609076891  3349 0x9e14590 DEBUG         realaudiodec gstrealaudiodec.c:365:gst_real_audio_dec_setcaps:<realaudiodec0> Cannot handle version 10.
0:00:00.609383308  3349 0x9e18118 DEBUG         realvideodec gstrealvideodec.c:409:open_library:<realvideodec0> Attempting to open shared library for real video version 4
ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a general stream error.
Additional debug info:
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.692914772  3349 0x9e18118 DEBUG         realvideodec gstrealvideodec.c:115:gst_real_video_dec_chain:<realvideodec0> got buffer of size 1658, timestamp 0:00:00.000000000
0:00:00.692974268  3349 0x9e18118 DEBUG         realvideodec gstrealvideodec.c:217:gst_real_video_dec_chain:<realvideodec0> buffer alloc failed: wrong-state
FREEING pipeline ...


The debug shows that it can't handle audio version 10. But how to support the real audio version 10?
I have added the codec such as amrn.so amrw.so  atrc.so  colorcvt.so  cook.so  drv1.so  drv2.so  drvc.so  raac.so  ralf.so  rv10.so  rv20.so  rv30.so  rv40.so  sipr.so to the /usr/lib/codec and it seem not to work as before.


2008/5/13 Stefan Kost <[hidden email]>:
Hi,

Ruan Wen schrieb:

Hi
I have installed the latest gstreamer ,gst-plugins-good,gst-plugins-bad,gst-plugins-ugly.Also the document on the website http://gstreamer.freedesktop.org/documentation/plugins.html shows that the latest versions support the realmedia. I can use the gst-launch to play some rmvb files but not to other rmvb files;

For example,i run the next command on the terminal
[ruanwen@localhost ~]$ gst-launch playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a general stream error.
Additional debug info:
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...


If i add some options to the command , it output:
[ruanwen@localhost ~]$ gst-launch -m playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb
................
<skip>
................
Got Message from element "rmdemux0" (tag): taglist, audio-codec=(string)"Real\ Audio\ 10\ \(AAC\)";
Got Message from element "rmdemux0" (tag): taglist, video-codec=(string)"Real\ Video\ 4.0";
Got Message from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PLAYING, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_READY;
Got Message from element "decodebin0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got Message from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_NULL;
Got Message from element "fakesink" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_NULL, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got Message from element "rmdemux0" (error): GstMessageError, gerror=(GstGError)(NULL), debug=(string)"rmdemux.c\(943\):\ gst_rmdemux_loop\ \(\):\ /playbin0/decodebin0/rmdemux0:\012stream\ stopped\,\ reason\ not-negotiated";
ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a general stream error.
Additional debug info:
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

It seem that the gstreamer can't support the RealAudio 10, because the audio codec of other files which can be played normally is RealAudio8 or 9.

How can i diagnose the problem and determine which cause the playing failure?

GST_DEBUG="rademux:4,real*:4" gst-launch playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb

Stefan



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to diagnose the rmvb playing problem

Edward Hervey
Administrator
In reply to this post by Stefan Sauer
On Mon, 2008-05-12 at 22:10 +0300, Stefan Kost wrote:
[...]
> GST_DEBUG="rademux:4,real*:4" gst-launch playbin
> uri=file:///home/ruanwen/Desktop/media/04.rmvb

   Stefan meant: "rmdemux:4,real*:4" (and not rAdemux)

>
> Stefan
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to diagnose the rmvb playing problem

Ruan Wen
I run the command:
GST_DEBUG="rmdemux:4,real*:4" gst-launch playbin uri=file:///home/ruanwen
/Desktop/media/04.rmvb

There are too many debug logs and the last  is as the following:
<........skip..................>
0:00:27.307954884  4669 0x90cb5a0 DEBUG              rmdemux rmdemux.c:2194:gst_rmdemux_parse_video_packet:<rmdemux0> fragment size 813
0:00:27.307970317  4669 0x90cb5a0 DEBUG              rmdemux rmdemux.c:2222:gst_rmdemux_parse_video_packet:<rmdemux0> stored fragment in adapter 1641/1641
0:00:27.307987285  4669 0x90cb5a0 DEBUG              rmdemux rmdemux.c:2245:gst_rmdemux_parse_video_packet:<rmdemux0> fragmented completed. count 2, header_size 17
0:00:27.308042102  4669 0x90cb5a0 DEBUG              rmdemux rmdemux.c:2274:gst_rmdemux_parse_video_packet:<rmdemux0> 0 bytes left
0:00:27.308079741  4669 0x90cb5a0 DEBUG              rmdemux rmdemux.c:2397:gst_rmdemux_parse_packet:<rmdemux0> flags 2, Keyframe 1
0:00:27.308092660  4669 0xb7201890 DEBUG         realvideodec gstrealvideodec.c:409:open_library:<realvideodec0> Attempting to open shared library for real video version 4
0:00:27.308104950  4669 0x90cb5a0 DEBUG              rmdemux rmdemux.c:877:gst_rmdemux_loop:<rmdemux0> Chain flow failed at offset 0x0000120c
0:00:27.308133092  4669 0x90cb5a0 WARN               rmdemux rmdemux.c:943:gst_rmdemux_loop:<rmdemux0> error: stream stopped, reason not-negotiated
ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a general stream error.
Additional debug info:
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:27.308673092  4669 0x90cb5a0 DEBUG              rmdemux rmdemux.c:1256:gst_rmdemux_send_event:<rmdemux0> Pushing eos event on pad audio_00
0:00:27.308738663  4669 0x90cb5a0 DEBUG              rmdemux rmdemux.c:1256:gst_rmdemux_send_event:<rmdemux0> Pushing eos event on pad video_00
0:00:27.378002892  4669 0xb7201890 DEBUG         realvideodec gstrealvideodec.c:115:gst_real_video_dec_chain:<realvideodec0> got buffer of size 1658, timestamp 0:00:00.000000000
0:00:27.378119230  4669 0xb7201890 DEBUG         realvideodec gstrealvideodec.c:217:gst_real_video_dec_chain:<realvideodec0> buffer alloc failed: wrong-state
0:00:27.378505463  4669 0x8fe7050 DEBUG              rmdemux rmdemux.c:804:gst_rmdemux_sink_activate_pull:<rmdemux0> activate_pull
FREEING pipeline ...


 From the log, i can't determine which cause the playing failure.

And how to diagnose the problem from the log?


2008/5/13 Edward Hervey <[hidden email]>:
On Mon, 2008-05-12 at 22:10 +0300, Stefan Kost wrote:
[...]
> GST_DEBUG="rademux:4,real*:4" gst-launch playbin
> uri=file:///home/ruanwen/Desktop/media/04.rmvb

  Stefan meant: "rmdemux:4,real*:4" (and not rAdemux)

>
> Stefan
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel