simple playing video file

deepth pk deepthpk at gmail.com
Mon Apr 30 06:49:26 PDT 2012


Sample
-------



gst-launch filesrc location=test.ogg ! oggdemux name=demuxer \
    demuxer. ! queue ! vorbisdec ! audioconvert ! audioresample !
autoaudiosink \
    demuxer. ! queue ! theoradec ! ffmpegcolorspace ! autovideosink





   Cheers!
   *Deepth*







On Mon, Apr 30, 2012 at 7:08 PM, padam <skaromana at wp.pl> wrote:

> After many trials i have two main problems
>
> 1. I can play audio or video from avi file but not both in the same time,
> e.g.
> playing only audio from video: gst-launch -v filesrc location="file.avi" !
> ffdemux_avi name=demux demux.audio_00 ! ffdec_mp3! audioconvert
> !ffaudioresample ! autoaudiosink
>
> but it freeze when i want to play unfinished avi file, i guess without EOS.
> playing only video: gst-launch.exe filesrc location="file.avi" ! decodebin
> !
> ffmpegcolorspace ! dshowvideosink
>
> It give poor quality but only this is working, because that isn't:
> gst-launch filesrc location=file.avi ! ffdemux_avi ! ffdec_msmpeg4v1 !
> dshowvideosink
> However only this shows video from unfinished file. Of course without
> sound,
> as you can see.
>
>
> So what i have to do to play video and audio in the same time from one
> file,
> because all that examples from the Internet don't work! And then what i
> have
> to do to play video and audio from unfinished file? Why gstreamer doesn't
> have any problem with opening that kind of file and show video but with
> audio it has problem?
>
> I can't use playbin or playbin2 because playbin show only video, and
> playbin2 doesn't starting at all.
>
> I hope you can give me any advice...
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/simple-playing-video-file-tp4589913p4598226.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120430/06e4e986/attachment.html>


More information about the gstreamer-devel mailing list