Desperate @ wits end; newbie help please!

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

Desperate @ wits end; newbie help please!

Sheshadri Mantha
hi;
i wish to play a mpegts file.

i've tried multiple combinations of playbin, decodebin, ffmpegdemuxts,
flutsdemux and trying to render video onto directdrawsink but none of it
works.

my guess is that i don't know how to chain the pipeline.

Questions;

    * what can video_%02d sink into ??
    * what element do i place in between say flutsdemux or
      ffmpeg_demuxts and directdrawsink ??

I'm able to play wmv and avi (funnily only the audio plays no video) and
mov (again strangely enough the video plays but no audio).

I'm also finding it difficult to understand how to figure out which
element to link with which one... working with the gst-inspect and
launch is tedious.... and i could not get gst-editor to compile
successfuly (could not satisfy the config to generate makefiles).

any help is appreciated.

Kindest regards,
sheshadri

-------------------------------------------------------------------------
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

sheshadri_mantha.vcf (392 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Desperate @ wits end; newbie help please!

Julien.Isorce
Hi

Fisrt try this command line :
gst-launch-0.10 videotestsrc num_buffers=150 ! ffmpegcolorspace !
ffenc_mpeg4 ! avimux ! filesink location=file.avi

Then try to play the generated file.avi with your best player.

If it works I cannot help your.

If not, CLEAN YOUR ENVIRONEMENT ABOUT CODECS !
So uninstall all your codecs, then reboot :P
Then install ffdshow codecs from:
ftp://clubicvisiteur26463:[hidden email]/temp-clubic-rx184/logiciel/ffdshow_ffdshow_20071215_anglais_11020.zip
or install k-lite-codec-pack_k-lite_codec_pack_3.7.0 codecs.

It resolved the problem on my computer.


My gstreamer configuration :

gstreamer-core   -> release 0.17 february 2008
gstreamer-base   -> release 0.17 february 2008
gstreamer-good   -> cvs february 2008
gstreamer-bad    -> cvs february 2008
gstreamer-ffmpeg -> cvs october 2007

release binaries : http://gstreamer.freedesktop.org/pkg/windows/releases/
cvs binaries : http://gstreamer.freedesktop.org/pkg/windows/cvs/

Sincerely,

Julien Isorce



> hi;
> i wish to play a mpegts file.
>
> i've tried multiple combinations of playbin, decodebin, ffmpegdemuxts,
> flutsdemux and trying to render video onto directdrawsink but none of it
> works.
>
> my guess is that i don't know how to chain the pipeline.
>
> Questions;
>
>     * what can video_%02d sink into ??
>     * what element do i place in between say flutsdemux or
>       ffmpeg_demuxts and directdrawsink ??
>
> I'm able to play wmv and avi (funnily only the audio plays no video) and
> mov (again strangely enough the video plays but no audio).
>
> I'm also finding it difficult to understand how to figure out which
> element to link with which one... working with the gst-inspect and
> launch is tedious.... and i could not get gst-editor to compile
> successfuly (could not satisfy the config to generate makefiles).
>
> any help is appreciated.
>
> Kindest regards,
> sheshadri
> -------------------------------------------------------------------------
> 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: Desperate @ wits end; newbie help please!

Julien.Isorce
In reply to this post by Sheshadri Mantha
something like that :

gst-launch-0.10 ..... ! ffdemux_mpegts video_%02d! { queue !
ffdec_mpeg2video ! ffmpegcolorspace ! directdrawsink }
ffdemux_mpegts.audio_%02d! { queue ! ..... ! directsoundsink }

You should send us the commandline you tried ?
And the source stream or a link to get it.

> OK Julien;
> i've uninstalled everything, and then started from scratch -- i've got
> your test working.
>
> i'll try with mpegts filters...
>
> do you know what the sink for video_%02d could be ??
>
> Thanks,
> sheshadri
>
> [hidden email] wrote:
>> Hi
>>
>> Fisrt try this command line :
>> gst-launch-0.10 videotestsrc num_buffers=150 ! ffmpegcolorspace !
>> ffenc_mpeg4 ! avimux ! filesink location=file.avi
>>
>> Then try to play the generated file.avi with your best player.
>>
>> If it works I cannot help your.
>>
>> If not, CLEAN YOUR ENVIRONEMENT ABOUT CODECS !
>> So uninstall all your codecs, then reboot :P
>> Then install ffdshow codecs from:
>> ftp://clubicvisiteur26463:[hidden email]/temp-clubic-rx184/logiciel/ffdshow_ffdshow_20071215_anglais_11020.zip
>> or install k-lite-codec-pack_k-lite_codec_pack_3.7.0 codecs.
>>
>> It resolved the problem on my computer.
>>
>>
>> My gstreamer configuration :
>>
>> gstreamer-core   -> release 0.17 february 2008
>> gstreamer-base   -> release 0.17 february 2008
>> gstreamer-good   -> cvs february 2008
>> gstreamer-bad    -> cvs february 2008
>> gstreamer-ffmpeg -> cvs october 2007
>>
>> release binaries :
>> http://gstreamer.freedesktop.org/pkg/windows/releases/
>> cvs binaries : http://gstreamer.freedesktop.org/pkg/windows/cvs/
>>
>> Sincerely,
>>
>> Julien Isorce
>>
>>
>>
>>> hi;
>>> i wish to play a mpegts file.
>>>
>>> i've tried multiple combinations of playbin, decodebin, ffmpegdemuxts,
>>> flutsdemux and trying to render video onto directdrawsink but none of
>>> it
>>> works.
>>>
>>> my guess is that i don't know how to chain the pipeline.
>>>
>>> Questions;
>>>
>>>     * what can video_%02d sink into ??
>>>     * what element do i place in between say flutsdemux or
>>>       ffmpeg_demuxts and directdrawsink ??
>>>
>>> I'm able to play wmv and avi (funnily only the audio plays no video)
>>> and
>>> mov (again strangely enough the video plays but no audio).
>>>
>>> I'm also finding it difficult to understand how to figure out which
>>> element to link with which one... working with the gst-inspect and
>>> launch is tedious.... and i could not get gst-editor to compile
>>> successfuly (could not satisfy the config to generate makefiles).
>>>
>>> any help is appreciated.
>>>
>>> Kindest regards,
>>> sheshadri
>>> -------------------------------------------------------------------------
>>> 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: Desperate @ wits end; newbie help please!

Sheshadri Mantha
OK here is what I've tried.
  • Using simply playbin as: gst-launch-0.10.exe playbin uri="file:///c:/dvds/Aeon_Flux.mpg".  This plays the audio but is not able to play video.  The output log is as follows:
C:\Documents and Settings\sheshadri>gst-launch-0.10.exe playbin uri="file:///c:/dvds/Aeon_Flux.mpg"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
** Message: don't know how to handle video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversion=(int)2,
width=(int)720, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)16/15, codec_data=(buffer)00000
b32d0240230ea62380000001b5148200010000
OIL: ERROR liboilcpu.c 282: oil_cpu_i386_kernel_restrict_flags(): Operating system is not known to support SSE.  Assumi
g it does, which might cause problems
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock

  • So i set the debug level to 3 and deciphered which plugins playbin tries to use. and then tried to create a chain of plugins which will play video (only).  This pipeline plays only video (as expected)... NOTE: 1st 2 tries don't work.
C:\Documents and Settings\sheshadri>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux ! queue !mpegvideoparse ! directdrawsink
WARNING: erroneous pipeline: could not link mpegvideoparse0 to directdrawsink0

C:\Documents and Settings\sheshadri>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux ! queue !mpegvideoparse ! ffmpegcolorspace ! directdrawsink
WARNING: erroneous pipeline: could not link mpegvideoparse0 to ffmpegcsp0

C:\Documents and Settings\sheshadri>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux ! queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace ! directdrawsink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
  • So then i tried to do both audio and video ... w/o success.  i've tried the following pipelines; none of them work.
C:\Documents and Settings\sheshadri>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%04x  ! {queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x ! { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}

** (gst-launch-0.10:5852): WARNING **: error while parsing
** (gst-launch-0.10:5852): WARNING **: error while parsing
WARNING: erroneous pipeline: link without source element

C:\Documents and Settings\sheshadri>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d" {d.video_%04x ! queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace ! directdrawsink } {d.audio_%04x !  queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
^C -- I Had to break out 'cause nothing was playing
C:\Documents and Settings\sheshadri>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%04x ! {queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x ! { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}

** (gst-launch-0.10:3660): WARNING **: error while parsing
** (gst-launch-0.10:3660): WARNING **: error while parsing
WARNING: erroneous pipeline: link without source element

C:\Documents and Settings\sheshadri>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%04x ! {queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x ! { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}

** (gst-launch-0.10:4692): WARNING **: error while parsing
** (gst-launch-0.10:4692): WARNING **: error while parsing
WARNING: erroneous pipeline: link without source element

C:\Documents and Settings\sheshadri>
I've looked at the linux man pages and can' seem to uniquely identify the syntax when creating different threads... the man pages seem to add !src but add that causes pipeline errors.

So would appreciate some definitive guide/man page to specifying pipeline.  For instance if I name an element, then can the video pad of that element begin immediately?  When do i use . and when not?

Any working examples would help.

Kindest regards,
Sheshadri
[hidden email] wrote:
something like that :

gst-launch-0.10 ..... ! ffdemux_mpegts video_%02d! { queue !
ffdec_mpeg2video ! ffmpegcolorspace ! directdrawsink }
ffdemux_mpegts.audio_%02d! { queue ! ..... ! directsoundsink }

You should send us the commandline you tried ?
And the source stream or a link to get it.

  
OK Julien;
i've uninstalled everything, and then started from scratch -- i've got
your test working.

i'll try with mpegts filters...

do you know what the sink for video_%02d could be ??

Thanks,
sheshadri

[hidden email] wrote:
    
Hi

Fisrt try this command line :
gst-launch-0.10 videotestsrc num_buffers=150 ! ffmpegcolorspace !
ffenc_mpeg4 ! avimux ! filesink location=file.avi

Then try to play the generated file.avi with your best player.

If it works I cannot help your.

If not, CLEAN YOUR ENVIRONEMENT ABOUT CODECS !
So uninstall all your codecs, then reboot :P
Then install ffdshow codecs from:
ftp://clubicvisiteur26463:1203038229@.../temp-clubic-rx184/logiciel/ffdshow_ffdshow_20071215_anglais_11020.zip
or install k-lite-codec-pack_k-lite_codec_pack_3.7.0 codecs.

It resolved the problem on my computer.


My gstreamer configuration :

gstreamer-core   -> release 0.17 february 2008
gstreamer-base   -> release 0.17 february 2008
gstreamer-good   -> cvs february 2008
gstreamer-bad    -> cvs february 2008
gstreamer-ffmpeg -> cvs october 2007

release binaries :
http://gstreamer.freedesktop.org/pkg/windows/releases/
cvs binaries : http://gstreamer.freedesktop.org/pkg/windows/cvs/

Sincerely,

Julien Isorce



      
hi;
i wish to play a mpegts file.

i've tried multiple combinations of playbin, decodebin, ffmpegdemuxts,
flutsdemux and trying to render video onto directdrawsink but none of
it
works.

my guess is that i don't know how to chain the pipeline.

Questions;

    * what can video_%02d sink into ??
    * what element do i place in between say flutsdemux or
      ffmpeg_demuxts and directdrawsink ??

I'm able to play wmv and avi (funnily only the audio plays no video)
and
mov (again strangely enough the video plays but no audio).

I'm also finding it difficult to understand how to figure out which
element to link with which one... working with the gst-inspect and
launch is tedious.... and i could not get gst-editor to compile
successfuly (could not satisfy the config to generate makefiles).

any help is appreciated.

Kindest regards,
sheshadri
-------------------------------------------------------------------------
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

sheshadri_mantha.vcf (392 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Desperate @ wits end; newbie help please!

David Schleef
On Thu, Feb 21, 2008 at 05:42:50PM -0700, Sheshadri Mantha wrote:
>     OIL: ERROR liboilcpu.c 282: oil_cpu_i386_kernel_restrict_flags(): Operating
>     system is not known to support SSE.  Assumi
>     g it does, which might cause problems

By the way, even though this is not related, this warning has been
removed from the upcoming version of liboil.



dave...


-------------------------------------------------------------------------
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: Desperate @ wits end; newbie help please!

Wim Taymans
In reply to this post by Sheshadri Mantha

On Thu, 2008-02-21 at 17:42 -0700, Sheshadri Mantha wrote:

> OK here is what I've tried.
>       * Using simply playbin as: gst-launch-0.10.exe playbin
>         uri="file:///c:/dvds/Aeon_Flux.mpg".  This plays the audio but
>         is not able to play video.  The output log is as follows:
>         C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
>         playbin uri="file:///c:/dvds/Aeon_Flux.mpg"
>         Setting pipeline to PAUSED ...
>         Pipeline is PREROLLING ...
>         ** Message: don't know how to handle video/mpeg,
>         systemstream=(boolean)false, parsed=(boolean)true,
>         mpegversion=(int)2,
>         width=(int)720, height=(int)576, framerate=(fraction)25/1,
>         pixel-aspect-ratio=(fraction)16/15, codec_data=(buffer)00000
>         b32d0240230ea62380000001b5148200010000

You need an mpeg2 video decoder. We currently only have mpeg2dec in
gst-plugins-ugly, which depends on libmpeg2.

>         OIL: ERROR liboilcpu.c 282:
>         oil_cpu_i386_kernel_restrict_flags(): Operating system is not
>         known to support SSE.  Assumi
>         g it does, which might cause problems
>         Pipeline is PREROLLED ...
>         Setting pipeline to PLAYING ...
>         New clock: GstAudioSinkClock
>       * So i set the debug level to 3 and deciphered which plugins
>         playbin tries to use. and then tried to create a chain of
>         plugins which will play video (only).  This pipeline plays
>         only video (as expected)... NOTE: 1st 2 tries don't work.
>         C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
>         filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux !
>         queue !mpegvideoparse ! directdrawsink
>         WARNING: erroneous pipeline: could not link mpegvideoparse0 to
>         directdrawsink0

mpegvideoparse outputs raw mpeg video data, which is not somthing
directdrawsink can handle.

>        
>         C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
>         filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux !
>         queue !mpegvideoparse ! ffmpegcolorspace ! directdrawsink
>         WARNING: erroneous pipeline: could not link mpegvideoparse0 to
>         ffmpegcsp0

Same here, you need a decoder...

>        
>         C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
>         filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux !
>         queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace !
>         directdrawsink
>         Setting pipeline to PAUSED ...
>         Pipeline is PREROLLING ...
>         Pipeline is PREROLLED ...
>         Setting pipeline to PLAYING ...
>         New clock: GstSystemClock

Nice try, but avoid using ffmpeg as much as you can.

>       * So then i tried to do both audio and video ... w/o success.
>         i've tried the following pipelines; none of them work.
>         C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
>         filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%
>         04x  ! {queue !mpegvideoparse ! ffdec_mpeg2video!
>         ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x !
>         { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}

curly braces are 0.8 syntax and do nothing in 0.10, I suspect you
blindly copied this from somewhere.

>         ** (gst-launch-0.10:5852): WARNING **: error while parsing
>         ** (gst-launch-0.10:5852): WARNING **: error while parsing
>         WARNING: erroneous pipeline: link without source element

flutsdemux.video_%04x means the 'video_%04x' padtemplate of an element
named 'flutsdemux'. An element with that name is however never defined
in the above pipeline and so the next element cannot be linked.

>        
>         C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
>         filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux
>         name="d" {d.video_%04x ! queue !mpegvideoparse !
>         ffdec_mpeg2video! ffmpegcolorspace ! directdrawsink }
>         {d.audio_%04x !  queue ! mp3parse ! dshowadec_mpeg1 !
>         autoaudiosink}
>         Setting pipeline to PAUSED ...
>         Pipeline is PREROLLING ...
>         ^C -- I Had to break out 'cause nothing was playing

Above pipeline would be a possible working pipeline if only there was a
working mpeg video decoder in the pipeline. It's also possible that the
mpeg file simply doesn't contain mpeg2 video but, say, h264 or mpeg4.

>         C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
>         filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%
>         04x! {queue !mpegvideoparse ! ffdec_mpeg2video!
>         ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x !
>         { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}
>        
>         ** (gst-launch-0.10:3660): WARNING **: error while parsing
>         ** (gst-launch-0.10:3660): WARNING **: error while parsing
>         WARNING: erroneous pipeline: link without source element

See 2 comments higher.

>        
>         C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
>         filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%
>         04x! {queue !mpegvideoparse ! ffdec_mpeg2video!
>         ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x !
>         { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}
>        
>         ** (gst-launch-0.10:4692): WARNING **: error while parsing
>         ** (gst-launch-0.10:4692): WARNING **: error while parsing
>         WARNING: erroneous pipeline: link without source element

Same.
>        
>         C:\Documents and Settings\sheshadri>
> I've looked at the linux man pages and can' seem to uniquely identify
> the syntax when creating different threads... the man pages seem to
> add !src but add that causes pipeline errors.
>
> So would appreciate some definitive guide/man page to specifying
> pipeline.  For instance if I name an element, then can the video pad
> of that element begin immediately?  When do i use . and when not?
Define an element and give it a name:

.. ! flutsdemux name='myelem' ! ...

Refer to a specific pad(template) of the nearest element:

 .. ! flutsdemux  .video_00 !..

Refer to a specific pad(template) of a named element (which requires you
to name an element as well):

 .. ! flutsdemux name='myelem' ! ...  myelem.video_00 ! ..

These are about all the possible combinations.

Regards,
Wim

>
> Any working examples would help.
>
> Kindest regards,
> Sheshadri
> [hidden email] wrote:
> > something like that :
> >
> > gst-launch-0.10 ..... ! ffdemux_mpegts video_%02d! { queue !
> > ffdec_mpeg2video ! ffmpegcolorspace ! directdrawsink }
> > ffdemux_mpegts.audio_%02d! { queue ! ..... ! directsoundsink }
> >
> > You should send us the commandline you tried ?
> > And the source stream or a link to get it.
> >
> >  
> > > OK Julien;
> > > i've uninstalled everything, and then started from scratch -- i've got
> > > your test working.
> > >
> > > i'll try with mpegts filters...
> > >
> > > do you know what the sink for video_%02d could be ??
> > >
> > > Thanks,
> > > sheshadri
> > >
> > > [hidden email] wrote:
> > >    
> > > > Hi
> > > >
> > > > Fisrt try this command line :
> > > > gst-launch-0.10 videotestsrc num_buffers=150 ! ffmpegcolorspace !
> > > > ffenc_mpeg4 ! avimux ! filesink location=file.avi
> > > >
> > > > Then try to play the generated file.avi with your best player.
> > > >
> > > > If it works I cannot help your.
> > > >
> > > > If not, CLEAN YOUR ENVIRONEMENT ABOUT CODECS !
> > > > So uninstall all your codecs, then reboot :P
> > > > Then install ffdshow codecs from:
> > > > ftp://clubicvisiteur26463:[hidden email]/temp-clubic-rx184/logiciel/ffdshow_ffdshow_20071215_anglais_11020.zip
> > > > or install k-lite-codec-pack_k-lite_codec_pack_3.7.0 codecs.
> > > >
> > > > It resolved the problem on my computer.
> > > >
> > > >
> > > > My gstreamer configuration :
> > > >
> > > > gstreamer-core   -> release 0.17 february 2008
> > > > gstreamer-base   -> release 0.17 february 2008
> > > > gstreamer-good   -> cvs february 2008
> > > > gstreamer-bad    -> cvs february 2008
> > > > gstreamer-ffmpeg -> cvs october 2007
> > > >
> > > > release binaries :
> > > > http://gstreamer.freedesktop.org/pkg/windows/releases/
> > > > cvs binaries : http://gstreamer.freedesktop.org/pkg/windows/cvs/
> > > >
> > > > Sincerely,
> > > >
> > > > Julien Isorce
> > > >
> > > >
> > > >
> > > >      
> > > > > hi;
> > > > > i wish to play a mpegts file.
> > > > >
> > > > > i've tried multiple combinations of playbin, decodebin, ffmpegdemuxts,
> > > > > flutsdemux and trying to render video onto directdrawsink but none of
> > > > > it
> > > > > works.
> > > > >
> > > > > my guess is that i don't know how to chain the pipeline.
> > > > >
> > > > > Questions;
> > > > >
> > > > >     * what can video_%02d sink into ??
> > > > >     * what element do i place in between say flutsdemux or
> > > > >       ffmpeg_demuxts and directdrawsink ??
> > > > >
> > > > > I'm able to play wmv and avi (funnily only the audio plays no video)
> > > > > and
> > > > > mov (again strangely enough the video plays but no audio).
> > > > >
> > > > > I'm also finding it difficult to understand how to figure out which
> > > > > element to link with which one... working with the gst-inspect and
> > > > > launch is tedious.... and i could not get gst-editor to compile
> > > > > successfuly (could not satisfy the config to generate makefiles).
> > > > >
> > > > > any help is appreciated.
> > > > >
> > > > > Kindest regards,
> > > > > sheshadri
> > > > > -------------------------------------------------------------------------
> > > > > 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


-------------------------------------------------------------------------
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: Desperate @ wits end; newbie help please!

Sheshadri Mantha
hi Wim;
Thx for your reply.  Onto newer things now... again any help appreciated.

(this is more for those who may be traveling down the path i am than for informing you specifically)
  • Got libmpeg2 code, built it;  BTW: libmpeg2 must be built in Multithreaded mode if you are using VisualStudio 2005 - otherwise linking the lib with mpeg2dec will give a link error on libcd.lib.
  • then (after much searching) found mpeg2dec in the ext folder under gst-plugins-ugly.  Built that as Win32 DLL and
  •  copied it to GST_PLUGIN_PATH folder;
  • removed the registry file and ran inspect to verify that mpeg2dec was available.
Then i tried the playbin using:
gst-launch-0.10.exe playbin uri="file:///c:/dvds/Aeon_Flux.mpg"
This worked.   However the CPU Usage oscillated between 40% to 60%+. 

One of my reasons for looking at gstreamer was to cut down the cpu utilization on software decoding.  Any hints on how to do this??  The machine is a Intel Dual Core 2CPU, 2.00GHz, with 2GB RAM.

BTW: Aeon_Flux.mpg is Mpeg-2 ts with MP2 audio -- its not h.264 or other formats; its the trailer to Aeon Flux the movie.

Thinking that it maybe due to queues/buffers, i tried the following pipelines and none work.

BTW: i did copy the old pipelines with the { and tried to embelish them... as I reported, a) they were on the man pages -- which did not mention specific 0.10 or 0.8 version) and b) 'cause Julien recommended it, c) 'cause all/any pipeline examples on devel have them.

Pipelines that don't work:
C:\downloads\gstreamer>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d" .video_00 !mpegvideoparse ! mpeg2dec! ffmpegcolorspace ! directdrawsink ! d.audio_00 !queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink

** (gst-launch-0.10:5212): WARNING **: error while parsing
WARNING: erroneous pipeline: link without source element
Guess the problem with the above pipeline is that i was trying to link directdrawsink to d.audio_00, sooo..... (removed the ! 'tween directdrawsink and d.audio_00)
C:\downloads\gstreamer>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d" .video_00 !mpegvideoparse ! mpeg2dec! ffmpegcolorspace ! directdrawsink  d.audio_00 !queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
^C
C:\downloads\gstreamer>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d" .video_00 ! queue ! mpegvideoparse ! mpeg2dec! ffmpegcolorspace ! directdrawsink  d.audio_00 !queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
^C
That helped with the error, but it did not render either audio or video.
C:\downloads\gstreamer>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d" .video_00 ! queue ! mpegvideoparse ! mpeg2dec! ffmpegcolorspace ! directdrawsink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
^C
your email reply says to use single quotes instead of double quotes... so altered to that... but " seems to be what works in Win32.
C:\downloads\gstreamer>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name='d' .video_00 ! queue ! mpegvideoparse ! mpeg2dec! ffmpegcolorspace ! directdrawsink  d.audio_00 !queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink
WARNING: erroneous pipeline: No element named "d" - omitting link
Well... trying with just video... and nada!
C:\downloads\gstreamer>gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d" .video_00 ! queue ! mpegvideoparse ! mpeg2dec! ffmpegcolorspace ! directdrawsink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
^C
This pipeline specification on command line, the lack of correct documentation of 10.x etc. makes adoption of gstreamer quite challenging! 

I'm glad for the devel assistance and at times feel that basics are missing... its not that i want "hand-holding", not understanding the impl begs for much trial and error, lost time and perhaps PITA q's on devel to those who are in "the Know".

Unless I'm able to get the CPU usage down drastically, i can't see myself using gstreamer... since i want a win32 solution, maybe i'll go with directx.  will see... hoping that there are some silver bullet answers ;-)

kindest regards,
s-

Wim Taymans wrote:
On Thu, 2008-02-21 at 17:42 -0700, Sheshadri Mantha wrote:
  
OK here is what I've tried.
      * Using simply playbin as: gst-launch-0.10.exe playbin
        uri="file:///c:/dvds/Aeon_Flux.mpg".  This plays the audio but
        is not able to play video.  The output log is as follows:
        C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
        playbin uri="file:///c:/dvds/Aeon_Flux.mpg"
        Setting pipeline to PAUSED ...
        Pipeline is PREROLLING ...
        ** Message: don't know how to handle video/mpeg,
        systemstream=(boolean)false, parsed=(boolean)true,
        mpegversion=(int)2,
        width=(int)720, height=(int)576, framerate=(fraction)25/1,
        pixel-aspect-ratio=(fraction)16/15, codec_data=(buffer)00000
        b32d0240230ea62380000001b5148200010000
    

You need an mpeg2 video decoder. We currently only have mpeg2dec in
gst-plugins-ugly, which depends on libmpeg2.

  
        OIL: ERROR liboilcpu.c 282:
        oil_cpu_i386_kernel_restrict_flags(): Operating system is not
        known to support SSE.  Assumi
        g it does, which might cause problems
        Pipeline is PREROLLED ...
        Setting pipeline to PLAYING ...
        New clock: GstAudioSinkClock
      * So i set the debug level to 3 and deciphered which plugins
        playbin tries to use. and then tried to create a chain of
        plugins which will play video (only).  This pipeline plays
        only video (as expected)... NOTE: 1st 2 tries don't work.
        C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
        filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux !
        queue !mpegvideoparse ! directdrawsink
        WARNING: erroneous pipeline: could not link mpegvideoparse0 to
        directdrawsink0
    

mpegvideoparse outputs raw mpeg video data, which is not somthing
directdrawsink can handle.

  
        
        C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
        filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux !
        queue !mpegvideoparse ! ffmpegcolorspace ! directdrawsink
        WARNING: erroneous pipeline: could not link mpegvideoparse0 to
        ffmpegcsp0
    

Same here, you need a decoder...

  
        
        C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
        filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux !
        queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace !
        directdrawsink
        Setting pipeline to PAUSED ...
        Pipeline is PREROLLING ...
        Pipeline is PREROLLED ...
        Setting pipeline to PLAYING ...
        New clock: GstSystemClock
    

Nice try, but avoid using ffmpeg as much as you can.

  
      * So then i tried to do both audio and video ... w/o success.
        i've tried the following pipelines; none of them work.
        C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
        filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%
        04x  ! {queue !mpegvideoparse ! ffdec_mpeg2video!
        ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x !
        { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}
    

curly braces are 0.8 syntax and do nothing in 0.10, I suspect you
blindly copied this from somewhere.

  
        ** (gst-launch-0.10:5852): WARNING **: error while parsing
        ** (gst-launch-0.10:5852): WARNING **: error while parsing
        WARNING: erroneous pipeline: link without source element
    

flutsdemux.video_%04x means the 'video_%04x' padtemplate of an element
named 'flutsdemux'. An element with that name is however never defined
in the above pipeline and so the next element cannot be linked. 

  
        
        C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
        filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux
        name="d" {d.video_%04x ! queue !mpegvideoparse !
        ffdec_mpeg2video! ffmpegcolorspace ! directdrawsink }
        {d.audio_%04x !  queue ! mp3parse ! dshowadec_mpeg1 !
        autoaudiosink}
        Setting pipeline to PAUSED ...
        Pipeline is PREROLLING ...
        ^C -- I Had to break out 'cause nothing was playing
    

Above pipeline would be a possible working pipeline if only there was a
working mpeg video decoder in the pipeline. It's also possible that the
mpeg file simply doesn't contain mpeg2 video but, say, h264 or mpeg4.

  
        C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
        filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%
        04x! {queue !mpegvideoparse ! ffdec_mpeg2video!
        ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x !
        { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}
        
        ** (gst-launch-0.10:3660): WARNING **: error while parsing
        ** (gst-launch-0.10:3660): WARNING **: error while parsing
        WARNING: erroneous pipeline: link without source element
    

See 2 comments higher.

  
        
        C:\Documents and Settings\sheshadri>gst-launch-0.10.exe
        filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%
        04x! {queue !mpegvideoparse ! ffdec_mpeg2video!
        ffmpegcolorspace ! directdrawsink } flutsdemux.audio_%04x !
        { queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink}
        
        ** (gst-launch-0.10:4692): WARNING **: error while parsing
        ** (gst-launch-0.10:4692): WARNING **: error while parsing
        WARNING: erroneous pipeline: link without source element
    

Same.
  
        
        C:\Documents and Settings\sheshadri>
I've looked at the linux man pages and can' seem to uniquely identify
the syntax when creating different threads... the man pages seem to
add !src but add that causes pipeline errors.

So would appreciate some definitive guide/man page to specifying
pipeline.  For instance if I name an element, then can the video pad
of that element begin immediately?  When do i use . and when not?
    
Define an element and give it a name:

.. ! flutsdemux name='myelem' ! ...

Refer to a specific pad(template) of the nearest element:

 .. ! flutsdemux  .video_00 !..

Refer to a specific pad(template) of a named element (which requires you
to name an element as well):

 .. ! flutsdemux name='myelem' ! ...  myelem.video_00 ! ..

These are about all the possible combinations.

Regards,
Wim

  
Any working examples would help.

Kindest regards,
Sheshadri
[hidden email] wrote: 
    
something like that :

gst-launch-0.10 ..... ! ffdemux_mpegts video_%02d! { queue !
ffdec_mpeg2video ! ffmpegcolorspace ! directdrawsink }
ffdemux_mpegts.audio_%02d! { queue ! ..... ! directsoundsink }

You should send us the commandline you tried ?
And the source stream or a link to get it.

  
      
OK Julien;
i've uninstalled everything, and then started from scratch -- i've got
your test working.

i'll try with mpegts filters...

do you know what the sink for video_%02d could be ??

Thanks,
sheshadri

[hidden email] wrote:
    
        
Hi

Fisrt try this command line :
gst-launch-0.10 videotestsrc num_buffers=150 ! ffmpegcolorspace !
ffenc_mpeg4 ! avimux ! filesink location=file.avi

Then try to play the generated file.avi with your best player.

If it works I cannot help your.

If not, CLEAN YOUR ENVIRONEMENT ABOUT CODECS !
So uninstall all your codecs, then reboot :P
Then install ffdshow codecs from:
ftp://clubicvisiteur26463:1203038229@.../temp-clubic-rx184/logiciel/ffdshow_ffdshow_20071215_anglais_11020.zip
or install k-lite-codec-pack_k-lite_codec_pack_3.7.0 codecs.

It resolved the problem on my computer.


My gstreamer configuration :

gstreamer-core   -> release 0.17 february 2008
gstreamer-base   -> release 0.17 february 2008
gstreamer-good   -> cvs february 2008
gstreamer-bad    -> cvs february 2008
gstreamer-ffmpeg -> cvs october 2007

release binaries :
http://gstreamer.freedesktop.org/pkg/windows/releases/
cvs binaries : http://gstreamer.freedesktop.org/pkg/windows/cvs/

Sincerely,

Julien Isorce



      
          
hi;
i wish to play a mpegts file.

i've tried multiple combinations of playbin, decodebin, ffmpegdemuxts,
flutsdemux and trying to render video onto directdrawsink but none of
it
works.

my guess is that i don't know how to chain the pipeline.

Questions;

    * what can video_%02d sink into ??
    * what element do i place in between say flutsdemux or
      ffmpeg_demuxts and directdrawsink ??

I'm able to play wmv and avi (funnily only the audio plays no video)
and
mov (again strangely enough the video plays but no audio).

I'm also finding it difficult to understand how to figure out which
element to link with which one... working with the gst-inspect and
launch is tedious.... and i could not get gst-editor to compile
successfuly (could not satisfy the config to generate makefiles).

any help is appreciated.

Kindest regards,
sheshadri
-------------------------------------------------------------------------
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
    

  

-------------------------------------------------------------------------
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

sheshadri_mantha.vcf (392 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Desperate @ wits end; newbie help please!

Zaheer Merali
On 2/22/08, Sheshadri Mantha <[hidden email]> wrote:

>
>  hi Wim;
>  Thx for your reply.  Onto newer things now... again any help appreciated.
>
>  (this is more for those who may be traveling down the path i am than for
> informing you specifically)
>
>
> Got libmpeg2 code, built it;  BTW: libmpeg2 must be built in Multithreaded
> mode if you are using VisualStudio 2005 - otherwise linking the lib with
> mpeg2dec will give a link error on libcd.lib.
>
> then (after much searching) found mpeg2dec in the ext folder under
> gst-plugins-ugly.  Built that as Win32 DLL and
>  copied it to GST_PLUGIN_PATH folder;
>
> removed the registry file and ran inspect to verify that mpeg2dec was
> available. Then i tried the playbin using:
>
> gst-launch-0.10.exe playbin uri="file:///c:/dvds/Aeon_Flux.mpg"
>  This worked.   However the CPU Usage oscillated between 40% to 60%+.
>
>  One of my reasons for looking at gstreamer was to cut down the cpu
> utilization on software decoding.  Any hints on how to do this??  The
> machine is a Intel Dual Core 2CPU, 2.00GHz, with 2GB RAM.
>
>  BTW: Aeon_Flux.mpg is Mpeg-2 ts with MP2 audio -- its not h.264 or other
> formats; its the trailer to Aeon Flux the movie.
>
>  Thinking that it maybe due to queues/buffers, i tried the following
> pipelines and none work.
>
>  BTW: i did copy the old pipelines with the { and tried to embelish them...
> as I reported, a) they were on the man pages -- which did not mention
> specific 0.10 or 0.8 version) and b) 'cause Julien recommended it, c) 'cause
> all/any pipeline examples on devel have them.
>
>  Pipelines that don't work:
>
> C:\downloads\gstreamer>gst-launch-0.10.exe filesrc
> location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d"
> .video_00 !mpegvideoparse ! mpeg2dec! ffmpegcolorspace ! directdrawsink !
> d.audio_00 !queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink
>
>  ** (gst-launch-0.10:5212): WARNING **: error while parsing
>  WARNING: erroneous pipeline: link without source element
>  Guess the problem with the above pipeline is that i was trying to link
> directdrawsink to d.audio_00, sooo..... (removed the ! 'tween directdrawsink
> and d.audio_00)
>
> C:\downloads\gstreamer>gst-launch-0.10.exe filesrc
> location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d"
> .video_00 !mpegvideoparse ! mpeg2dec! ffmpegcolorspace ! directdrawsink
> d.audio_00 !queue ! mp3parse ! dshowadec_mpeg1 ! autoaudiosink
>  Setting pipeline to PAUSED ...
>  Pipeline is PREROLLING ...
>  ^C
>  C:\downloads\gstreamer>gst-launch-0.10.exe filesrc
> location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d"
> .video_00 ! queue ! mpegvideoparse ! mpeg2dec! ffmpegcolorspace !
> directdrawsink  d.audio_00 !queue ! mp3parse ! dshowadec_mpeg1 !
> autoaudiosink
>  Setting pipeline to PAUSED ...
>  Pipeline is PREROLLING ...
>  ^C
>  That helped with the error, but it did not render either audio or video.
>
> C:\downloads\gstreamer>gst-launch-0.10.exe filesrc
> location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d"
> .video_00 ! queue ! mpegvideoparse ! mpeg2dec! ffmpegcolorspace !
> directdrawsink
>  Setting pipeline to PAUSED ...
>  Pipeline is PREROLLING ...
>  ^C
>  your email reply says to use single quotes instead of double quotes... so
> altered to that... but " seems to be what works in Win32.
>
> C:\downloads\gstreamer>gst-launch-0.10.exe filesrc
> location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name='d'
> .video_00 ! queue ! mpegvideoparse ! mpeg2dec! ffmpegcolorspace !
> directdrawsink  d.audio_00 !queue ! mp3parse ! dshowadec_mpeg1 !
> autoaudiosink
>  WARNING: erroneous pipeline: No element named "d" - omitting link
>  Well... trying with just video... and nada!
>
> C:\downloads\gstreamer>gst-launch-0.10.exe filesrc
> location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d"
> .video_00 ! queue ! mpegvideoparse ! mpeg2dec! ffmpegcolorspace !
> directdrawsink
>  Setting pipeline to PAUSED ...
>  Pipeline is PREROLLING ...
>  ^C
>  This pipeline specification on command line, the lack of correct
> documentation of 10.x etc. makes adoption of gstreamer quite challenging!
>
>  I'm glad for the devel assistance and at times feel that basics are
> missing... its not that i want "hand-holding", not understanding the impl
> begs for much trial and error, lost time and perhaps PITA q's on devel to
> those who are in "the Know".
>
>  Unless I'm able to get the CPU usage down drastically, i can't see myself
> using gstreamer... since i want a win32 solution, maybe i'll go with
> directx.  will see... hoping that there are some silver bullet answers ;-)
>
>  kindest regards,
>  s-


I don't know about why your performance is not good but I will tell
you why your handmade pipelines do not work.

The pads output by flutsdemux are not done in any order and so are not
video_00 and audio_00. The pad names are video_xxxx and audio_xxxx
where xxxx is the hex of the es pid they are on. In a file where there
is only one audio and one video track, you can leave out the pad names
doing say:

gst-launch-0.10.exe filesrc location="c:/dvds/Aeon_flux.mpg" !
flutsdemux name=d ! queue ! mpegvideoparse ! mpeg2dec!
ffmpegcolorspace ! directdrawsink  d !queue ! mp3parse !
dshowadec_mpeg1 ! autoaudiosink

You may also want to add: max-size-buffers=0 max-size-time=0 to the 2 queues.

Zaheer

-------------------------------------------------------------------------
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