simple playing video file

padam skaromana at wp.pl
Mon Apr 30 06:38:14 PDT 2012


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.


More information about the gstreamer-devel mailing list