Re: display video to different video interface such as HDMI,

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I think you will get better suggestion somewhere else. 
(e.g. gstreamer mailing list)

> As you said, "as far as I know, it is more
> common to use/rely on the existing system features underneath to support
> the video-out selection."
> 
> Do you mean that the video-sink and audio-sink can support to select
> the different video/audio output interface ?

No. I meant it should not support it.
(though it can if you want and make those sinks)

Think about audio for example. Say, you have bluetooth headset.
You might want to swich from one output to another output, e.g.
from speaker to bluetooth headset while you are listening.

Also, you might have other applications which want to use audio
out simultaneously. (e.g. system sound)

I don't think it is such a good idea that your gstreamer pipeline
takes the whole responsibility of the output switch and arbitation.

Linux distro like Fedora and Ubuntu usually have sound server
running. (e.g.PulseAudio) You would rather want to connect your 
application to the sound server and let it handle the output
selection etc.

"pulsesink" is the standard gstreamer element to connect PA.
(or you can usually use "autoaudiosink" and it should work)

HDMI can be very different depending on what you want.
(it is the digital out and can do much more complicated stuff)

If you want some media player samples using GTK and gstreamer,
there should be lots of those. But here is one (my mediaplayer :)
Feel free to download it if you like.

http://drag0n.fam.cx/?page_id=237

Regards,
Eigo

> > Hi everybody
> >     I will use gstreamer to display video in gtk window, the
> > circumstance which I designed is this: 
> >     RGB/YUV video stream--> GStreamer module --> mutil video interface
> > HDMI/DVI/VGA/S-Port
> > 
> >    now I will code the GStreamer module, and have some problems:
> >    1. Is my design OK? 
> Gstreamer should govern the whole media stream. 
> That is what it's meant for.
> (the multi video interfaces can be out of its scope though)
> Gstreamer is a multimedia framework, to which you can plug a number 
> of plugins and construct a media processing pipeline. For example, 
> you can construct a pipeline having file-source, demuxer, video-decoder,
>  audio-decoder, audio-sink and video-sink. (pipeline for video playback)
> Now, I don't know exactly what you want to do here. You have the
> raw video stream in the first place? You also mentioned audio stream
>  below. From where these media stream are coming?
> If you are trying to make a player for local video clip or streming over
> the net, there are many ready-made plugins you can use for that purpose.
> Or you can make your decoder (or raw-video-src) plugin if you need it.
> >    2. to out to mutil interface, does the GStreamer support? 
> >        or to support mutil interface is not GStreamer job? 
> As said, Gsteramer works with plugins. So you can do almost whatever you
> want if you make such plugins. However, as far as I know, it is more
> common to use/rely on the existing system features underneath to support
> the video-out selection. Meaning how the data on video planes to be
>  merged and output can depend on the design of your taget platform.
> >        Is related to gtk+? because my desing is the whole display
> > window design by gtk+ have two parts: one the control panel, the other
> > is video window
> I think no. Your question does not seem to be related much to gtk.
> And thus you might not get much support on the topic from this mailing
> list.
> >     3. Is there some examples to show RGB/YUV streams and audio stream
> > to HDMI interface
> As said, it would depend on your target platform and what you really
> want. Hope this helps.
> Regards,
> Eigo
> > Thanks you very much
> > 
> > 2010-01-07 
> > 
> > 
> > 
> > wang zhenzhong 
> 
> 
> 
> 2010-01-23 
> 
> 
> 
> wang zhenzhong 
> 
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux