This post was updated on .
Hi again!
I'm trying to check some combiantions of posibilites of gstreamer by gst-launch, and i put something like that: gst-launch -v filesrc location="D:\\somefile.avi" ! ffdemux_avi name=demux demux.audio_00 ! ffdec_mp3 ! audioconvert !ffaudioresample ! autoaudiosink demux.video_00 ! queue ! ffdec_msmpeg4v1 !ffmpegcolorspace ! ffvideoscale ! directdrawsink but on output i get this" Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPipeline:pipeline0/ffdec_mp3:ffdec_mp30.GstPad:sink: caps = audio/mpeg, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, mpegversion=(int)1, layer=(int)3 /GstPipeline:pipeline0/ffdec_mp3:ffdec_mp30.GstPad:src: caps = audio/x-raw-int, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 /GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw-int, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 /GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw-int, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 /GstPipeline:pipeline0/GstFFMpegAudioResample:ffmpegaudioresample0.GstPad:src: caps = audio/x-raw-int, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 /GstPipeline:pipeline0/GstFFMpegAudioResample:ffmpegaudioresample0.GstPad:sink: caps = audio/x-raw-int, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstDirectSoundSink:autoaudiosink0-actual-sink-directsound.GstPad:sink: caps = audio/x-raw-int, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0.GstGhostPad:sink: caps = audio/x-raw-int, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = audio/x-raw-int, rate=(int)32000, channels=(int)1, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_MONO >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 I know that it's very simple problem, but i can't handle with that. Thanks for any suggestions. P.S. Am i wrong or ossbuild installer don't install every plugin like good or ugly? EDIT: I've tried dshowvideosink and glimagesink instead of directdrawsink, but they don't work too. |
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... |
Deepth On Mon, Apr 30, 2012 at 7:08 PM, padam <[hidden email]> wrote: After many trials i have two main problems _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks for that!!!
Although i find this: gst-launch livertsp uri=rtsp://127.0.0.1:8554/bighic320x240.avi ! livedemuxer name=demux demux.audio_00 ! queue ! decodebin ! audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink and after few modifications it works!!! finally! but only with good avi files, with EOS. For unfinished it still don't show video and audio. Anybody know something about that? Meybe it should drop some frame? Meybe i should use some caps? |
On 04/30/2012 04:24 PM, padam wrote:
> Thanks for that!!! > > Although i find this: > > gst-launch livertsp uri=rtsp://127.0.0.1:8554/bighic320x240.avi ! > livedemuxer name=demux demux.audio_00 ! queue ! decodebin ! > audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue ! > decodebin ! ffmpegcolorspace ! videoscale ! autovideosink just use playbin2 please and if you are curious take a look how its decomposed. E.g. using one multiqueue instead of queues on each brnahc will help with badly muxed content. > > and after few modifications it works!!! finally! but only with good avi > files, with EOS. For unfinished it still don't show video and audio. Anybody > know something about that? Meybe it should drop some frame? Meybe i should > use some caps? File a bug and make a video available. Stefan > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/simple-playing-video-file-tp4589913p4598343.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
playbin2 doesn't open unfinished files neither. I've try it at the very beggining. I still construct my own pipeline, and even i created one that open unfinished files, but it "jump" on audio.
gst-launch.exe filesrc location=D:\\eurosport.avi ! decodebin name=dec ! multiqueue name=qu dec. ! qu. qu. ! videoscale ! ffmpegcolorspace ! dshowvideosink qu. ! audioconvert ! autoaudiosink I still working on that. Later i will report bug... if i can do that. |
On 2 May 2012 14:02, padam <[hidden email]> wrote:
> playbin2 doesn't open unfinished files neither. I've try it at the very > beggining. I still construct my own pipeline, and even i created one that > open unfinished files, but it "jump" on audio. > > gst-launch.exe filesrc location=D:\\eurosport.avi ! decodebin name=dec ! > multiqueue name=qu dec. ! qu. qu. ! videoscale ! ffmpegcolorspace ! > dshowvideosink qu. ! audioconvert ! autoaudiosink > > I still working on that. Later i will report bug... if i can do that. > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/simple-playing-video-file-tp4589913p4603142.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel Please also upload somwhere the video file you are trying. Thanks, Luis _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
This post was updated on .
I'm quite distracted, and i paste wrong gst-launch code... Code from my previous message doesn't open unfinished file. It even doesn't have tee, but it's not enought to working with unfinished file. I can't find my almost good code...
gst-launch.exe filesrc location=D:\\file.avi ! decodebin name=dec ! tee name=t ! multiqueue name=qu dec. ! qu. qu. ! videoscale ! ffmpegcolorspace ! dshowvideosink qu. ! audioconvert ! autoaudiosink t. For some reason i can't upload my video file, but how can i make that kind of file, so i could upload it? EDIT: Ok, here is FILE. EDIT2: Ok, I'm getting tired. This another pipeline doesn't work either: gst-launch.exe filesrc location=D:\\eurosport.avi ! ffdemux_avi name=d d. ! tee name=t ! queue ! ffdec_msmpeg4v2 ! ffmpegcolorspace ! identity silent=TRUE ! videoscale ! dshowvideosink d. ! queue ! ffdec_mp3 ! audioconvert ! audioresample ! autoaudiosink t. Of course it opening normal avi files, but it doesn't opening that file, which i have attached in previous message. I have tried replace queue with multiqueue gst-launch.exe filesrc location=D:\\eurosport.avi ! ffdemux_avi name=d d. ! tee name=t ! multiqueue name=qu ! ffdec_msmpeg4v2 ! qu. qu. ! ffmpegcolorspace ! videoscale ! dshowvideosink d. qu. ! ffdec_mp3 ! audioconvert ! ffaudioresample ! autoaudiosink t. but id doesn't work even with normal avi files. Anybody can help mi with that multiqueue? Or, it will be better, with testing pipelines on attached files! EDIT3: Wow, that almost working!!! gst-launch.exe filesrc location=D:\\file.avi ! tee name=t ! decodebin name=dec ! multiqueue name=qu dec. ! qu. qu. ! videoscale ! ffmpegcolorspace ! dshowvideosink qu. ! audioconvert ! ffaudioresample ! autoaudiosink It opened unfinished files, but audio is "jumping", but video is playing normal. So only problem is with that. |
I'm losing any hope. With previous pipeline i couldn't open unfinished file. Now i try with that:
gst-launch.exe filesrc location=D:\\unfinishedFile.avi ! avidemux name=d d. ! tee name=t ! queue ! ffdec_msmpeg4v2! ffmpegcolorspace ! videoscale ! dshowvideosink d. ! queue ! ffdec_mp3 ! audioconvert ! ffaudioresample ! autoaudiosink t. and window is opening, but immediately it is freezing. really, no one know what i have to do? Building pipeline for me is terrible hard. |
Set the debug level to at least 3 and gStreamer will tell you what the
problem is, somewhere in the output. -----Original Message----- From: padam Sent: Wednesday, May 09, 2012 8:37 AM To: [hidden email] Subject: Re: simple playing video file I'm losing any hope. With previous pipeline i couldn't open unfinished file. Now i try with that: gst-launch.exe filesrc location=D:\\unfinishedFile.avi ! avidemux name=d d. ! tee name=t ! queue ! ffdec_msmpeg4v2! ffmpegcolorspace ! videoscale ! dshowvideosink d. ! queue ! ffdec_mp3 ! audioconvert ! ffaudioresample ! autoaudiosink t. and window is opening, but immediately it is freezing. really, no one know what i have to do? Building pipeline for me is terrible hard. -- View this message in context: http://gstreamer-devel.966125.n4.nabble.com/simple-playing-video-file-tp4589913p4619618.html Sent from the GStreamer-devel mailing list archive at Nabble.com. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by padam
> and window is opening, but immediately it is freezing.
Just as an aside and not probably related to your problem, try using another video sink (glimagesink, directshowsink, or d3dvideosink). _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
This post was updated on .
It doesn't give me any information, which i could use to fix problem, or i can't see them.
playbin.txt playbinND.txt
I have tried this but still doesn't work |
This post was updated on .
In reply to this post by David Hoyt
CONTENTS DELETED
The author has deleted this message.
|
Sorry, i have attached wrong files from debuging level. Here are correct
level3.txt - from good file level3ND.txt - from unfinished file |
Free forum by Nabble | Edit this page |