<pre style="border-width:0px;font:14px/18px Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;margin:0px 0px 10px;padding:5px;width:auto;text-align:left;color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;vertical-align:baseline;overflow-x:auto;overflow-y:auto;max-height:600px;font-size-adjust:none;font-stretch:normal;background-color:rgb(238,238,238)">
<div><code style="border-width:0px;margin:0px;padding:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238)"></code> </div>
<div><code style="border-width:0px;margin:0px;padding:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238)">Sample</code></div>
<div><code style="border-width:0px;margin:0px;padding:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238)">-------</code></div>
<div><code style="border-width:0px;margin:0px;padding:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238)"></code> </div>
<div><code style="border-width:0px;margin:0px;padding:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238)"></code> </div>
<div><code style="border-width:0px;margin:0px;padding:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238)"></code> </div>
<div><code style="border-width:0px;margin:0px;padding:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238)">gst-launch filesrc location=test.ogg ! oggdemux name=demuxer \
demuxer. ! queue ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink \
demuxer. ! queue ! theoradec ! ffmpegcolorspace ! autovideosink</code></div></pre><div><br></div><div><br></div><div><br></div><div><br></div> <span style="color:rgb(153,153,153)">Cheers!</span><br> <b>Deepth</b><br>
<br> <br> <br> <br><br>
<br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 7:08 PM, padam <span dir="ltr"><<a href="mailto:skaromana@wp.pl" target="_blank">skaromana@wp.pl</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
After many trials i have two main problems<br>
<br>
1. I can play audio or video from avi file but not both in the same time,<br>
e.g.<br>
playing only audio from video: gst-launch -v filesrc location="file.avi" !<br>
<div class="im">ffdemux_avi name=demux demux.audio_00 ! ffdec_mp3! audioconvert<br>
!ffaudioresample ! autoaudiosink<br>
<br>
</div>but it freeze when i want to play unfinished avi file, i guess without EOS.<br>
playing only video: gst-launch.exe filesrc location="file.avi" ! decodebin !<br>
ffmpegcolorspace ! dshowvideosink<br>
<br>
It give poor quality but only this is working, because that isn't:<br>
gst-launch filesrc location=file.avi ! ffdemux_avi ! ffdec_msmpeg4v1 !<br>
dshowvideosink<br>
However only this shows video from unfinished file. Of course without sound,<br>
as you can see.<br>
<br>
<br>
So what i have to do to play video and audio in the same time from one file,<br>
because all that examples from the Internet don't work! And then what i have<br>
to do to play video and audio from unfinished file? Why gstreamer doesn't<br>
have any problem with opening that kind of file and show video but with<br>
audio it has problem?<br>
<br>
I can't use playbin or playbin2 because playbin show only video, and<br>
playbin2 doesn't starting at all.<br>
<br>
I hope you can give me any advice...<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/simple-playing-video-file-tp4589913p4598226.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/simple-playing-video-file-tp4589913p4598226.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br>