<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
OK here is what I've tried.<br>
<ul>
  <li>Using simply playbin as: gst-launch-0.10.exe playbin
uri=<a class="moz-txt-link-rfc2396E" href="file:///c:/dvds/Aeon_Flux.mpg">"file:///c:/dvds/Aeon_Flux.mpg"</a>.&nbsp; This plays the audio but is not
able to play video.&nbsp; The output log is as follows:</li>
</ul>
<blockquote><tt>C:\Documents and
Settings\sheshadri&gt;gst-launch-0.10.exe playbin
uri=<a class="moz-txt-link-rfc2396E" href="file:///c:/dvds/Aeon_Flux.mpg">"file:///c:/dvds/Aeon_Flux.mpg"</a><br>
Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
** Message: don't know how to handle video/mpeg,
systemstream=(boolean)false, parsed=(boolean)true, mpegversion=(int)2,<br>
width=(int)720, height=(int)576, framerate=(fraction)25/1,
pixel-aspect-ratio=(fraction)16/15, codec_data=(buffer)00000<br>
b32d0240230ea62380000001b5148200010000<br>
OIL: ERROR liboilcpu.c 282: oil_cpu_i386_kernel_restrict_flags():
Operating system is not known to support SSE.&nbsp; Assumi<br>
g it does, which might cause problems<br>
Pipeline is PREROLLED ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstAudioSinkClock</tt><br>
</blockquote>
<ul>
  <li>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).&nbsp; This pipeline plays only video (as
expected)... NOTE: 1st 2 tries don't work.<br>
  </li>
</ul>
<blockquote><tt>C:\Documents and
Settings\sheshadri&gt;gst-launch-0.10.exe filesrc
location="c:/dvds/Aeon_flux.mpg" ! flutsdemux ! queue !mpegvideoparse !
directdrawsink<br>
WARNING: erroneous pipeline: could not link mpegvideoparse0 to
directdrawsink0<br>
  <br>
C:\Documents and Settings\sheshadri&gt;gst-launch-0.10.exe filesrc
location="c:/dvds/Aeon_flux.mpg" ! flutsdemux ! queue !mpegvideoparse !
ffmpegcolorspace ! directdrawsink<br>
WARNING: erroneous pipeline: could not link mpegvideoparse0 to
ffmpegcsp0<br>
  <br>
C:\Documents and Settings\sheshadri&gt;gst-launch-0.10.exe filesrc
location="c:/dvds/Aeon_flux.mpg" ! flutsdemux ! queue !mpegvideoparse !
ffdec_mpeg2video! ffmpegcolorspace ! directdrawsink<br>
Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
Pipeline is PREROLLED ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
  </tt></blockquote>
<ul>
  <li>So then i tried to do both audio and video ... w/o success.&nbsp; i've
tried the following pipelines; none of them work.</li>
</ul>
<blockquote><tt>C:\Documents and
Settings\sheshadri&gt;gst-launch-0.10.exe filesrc
location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%04x&nbsp; </tt><tt>!
{queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace !
directdrawsink } flutsdemux.audio_%04x ! { queue ! mp3p</tt><tt>arse !
dshowadec_mpeg1 ! autoaudiosink}</tt><br>
  <br>
  <tt>** (gst-launch-0.10:5852): WARNING **: error while parsing</tt><br>
  <tt>** (gst-launch-0.10:5852): WARNING **: error while parsing</tt><br>
  <tt>WARNING: erroneous pipeline: link without source element</tt><br>
  <br>
  <tt>C:\Documents and Settings\sheshadri&gt;gst-launch-0.10.exe
filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux name="d" {</tt><tt>d.video_%04x
! queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace !
directdrawsink } {d.audio_%04x !&nbsp; queue ! mp</tt><tt>3parse !
dshowadec_mpeg1 ! autoaudiosink}</tt><br>
  <tt>Setting pipeline to PAUSED ...</tt><br>
  <tt>Pipeline is PREROLLING ...</tt><br>
  <tt>^C</tt><b> -- I Had to break out 'cause nothing was playing</b><br>
  <tt>C:\Documents and Settings\sheshadri&gt;gst-launch-0.10.exe
filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%04x</tt><tt>
! {queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace !
directdrawsink } flutsdemux.audio_%04x ! { queue ! mp3p</tt><tt>arse !
dshowadec_mpeg1 ! autoaudiosink}</tt><br>
  <br>
  <tt>** (gst-launch-0.10:3660): WARNING **: error while parsing</tt><br>
  <tt>** (gst-launch-0.10:3660): WARNING **: error while parsing</tt><br>
  <tt>WARNING: erroneous pipeline: link without source element</tt><br>
  <br>
  <tt>C:\Documents and Settings\sheshadri&gt;gst-launch-0.10.exe
filesrc location="c:/dvds/Aeon_flux.mpg" ! flutsdemux.video_%04x</tt><tt>
! {queue !mpegvideoparse ! ffdec_mpeg2video! ffmpegcolorspace !
directdrawsink } flutsdemux.audio_%04x ! { queue ! mp3p</tt><tt>arse !
dshowadec_mpeg1 ! autoaudiosink}</tt><br>
  <br>
  <tt>** (gst-launch-0.10:4692): WARNING **: error while parsing</tt><br>
  <tt>** (gst-launch-0.10:4692): WARNING **: error while parsing</tt><br>
  <tt>WARNING: erroneous pipeline: link without source element</tt><br>
  <br>
  <tt>C:\Documents and Settings\sheshadri&gt;</tt><br>
</blockquote>
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.<br>
<br>
So would appreciate some definitive guide/man page to specifying
pipeline.&nbsp; For instance if I name an element, then can the video pad of
that element begin immediately?&nbsp; When do i use . and when not?<br>
<br>
Any working examples would help.<br>
<br>
Kindest regards,<br>
Sheshadri<br>
<a class="moz-txt-link-abbreviated" href="mailto:Julien.Isorce@alumni.enseeiht.fr">Julien.Isorce@alumni.enseeiht.fr</a> wrote:
<blockquote
 cite="mid:4930.81.56.10.132.1203630491.squirrel@81.56.10.132"
 type="cite">
  <pre wrap="">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.

  </pre>
  <blockquote type="cite">
    <pre wrap="">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

<a class="moz-txt-link-abbreviated" href="mailto:Julien.Isorce@alumni.enseeiht.fr">Julien.Isorce@alumni.enseeiht.fr</a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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:
<a class="moz-txt-link-freetext" href="ftp://clubicvisiteur26463:1203038229@ftpclubic44.clubic.com/temp-clubic-rx184/logiciel/ffdshow_ffdshow_20071215_anglais_11020.zip">ftp://clubicvisiteur26463:1203038229@ftpclubic44.clubic.com/temp-clubic-rx184/logiciel/ffdshow_ffdshow_20071215_anglais_11020.zip</a>
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   -&gt; release 0.17 february 2008
gstreamer-base   -&gt; release 0.17 february 2008
gstreamer-good   -&gt; cvs february 2008
gstreamer-bad    -&gt; cvs february 2008
gstreamer-ffmpeg -&gt; cvs october 2007

release binaries :
<a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/pkg/windows/releases/">http://gstreamer.freedesktop.org/pkg/windows/releases/</a>
cvs binaries : <a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/pkg/windows/cvs/">http://gstreamer.freedesktop.org/pkg/windows/cvs/</a>

Sincerely,

Julien Isorce



      </pre>
      <blockquote type="cite">
        <pre wrap="">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.
<a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________</a>
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>


        </pre>
      </blockquote>
      <pre wrap="">

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
</body>
</html>