<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: Streaming video through Gstreamer</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText96059 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Sorry about my last post, I
was editing my email to send out and Outlook decided I was done and sent
it. What I was trying to say was this ... </FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>On the Nokia N800 I installed
an x-terminal command window environment and launched Gstreamer, using the
commands I showed before, from there. I have another command line script
that I run through a terminal window on my other N800 device which listens for
incoming connections and launches a graphical window on the device displaying a
box that shows what the first N800 camera is capturing. So I'm not
streaming a video file, but video from the camera. I want to do this
through code in a GTK/Hildon windowed application, and not through the terminal
window. The two commands that I found that work are shown below, one
started one one device for listening for incoming input and one started
afterward on another device for video output.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Mfonnesbeck</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Listening for
Input:<BR>gst-launch udpsrc port=5434 caps=application/x-rtp,clock-rate=90000 !
rtph263depay ! hantro4100dec ! xvimagesink</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Sending Video
Output:<BR>gst-launch v4l2src !
video/x-raw-yuv,width=352,height=288,framerate=8/1 ! hantro4200enc ! rtph263pay
! udpsink host=<other N800's ip> port=5434<BR></DIV></FONT></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Darius Jack
[mailto:dariusjack2006@yahoo.ie]<BR><B>Sent:</B> Thu 7/10/2008 8:35
AM<BR><B>To:</B> maemo-developers@maemo.org; Merrick
Fonnesbeck<BR><B>Subject:</B> Re: Streaming video through
Gstreamer<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi,<BR><BR>today I tested Media Streamer (in player)<BR>and it
works fine with mp3 files.<BR>Some problems with avi files, failed to open
any.<BR>Can you tell me what video file format, codecs are supported ?<BR>Just
downloaded some demo avi files from the net and none opened in<BR>Media
Streamer, buferring was ok and then error message.<BR><BR>btw<BR>is Media
Streamer a stream player or both (run from a command line).<BR>If the first
option is valid , as I assume.<BR>How to run Media Streamer from a command line
,<BR>or how to make Mplayer to play audio files from Samba server (ftp)<BR>It
opens <A href="">http:/...../*.mp3</A><BR>but can't play <A
href="ftp://....?*.mp3">ftp://....?*.mp3</A><BR>Ok.<BR>Another open option is to
use Media Streamer in command line<BR>is option is open.<BR>Please refer me to a
nice place, providing more details<BR>(already visited
Google).<BR><BR>Darius<BR>Darius<BR><BR><BR><BR>--- On Thu, 10/7/08, Merrick
Fonnesbeck <MFonnesbeck@sorenson.com> wrote:<BR><BR>> From: Merrick
Fonnesbeck <MFonnesbeck@sorenson.com><BR>> Subject: Streaming video
through Gstreamer<BR>> To: maemo-developers@maemo.org<BR>> Date: Thursday,
10 July, 2008, 3:57 PM<BR>> Hello,<BR>><BR>> I have found the command
line arguments to gst-launch that<BR>> allow you to send streaming video data
to another N800/N810<BR>> device and I have gotten that working between two
devices.<BR>> But how do you code that in C with Gstreamer code? I've<BR>>
gotten the following command line stuff to work:<BR>><BR>> gst-launch
v4l2src !<BR>> video/x-raw-yuv,width=176,height=144,framerate=8/1 !<BR>>
hantro4200enc ! rtph263pay ! udpsink host=<remote<BR>> device>
port=5434<BR>><BR>> But what code do I use, as in combination of plugins,
to do<BR>> the same thing through Gstreamer in my GTK/Hildon<BR>>
application that I am building?<BR>><BR>> I've looked through the test3v.c
file in farsight's<BR>> library test code and it doesn't seem to be using
the<BR>> Gstreamer pipline elements as the command line seems to<BR>> use.
If someone will please guide me on the right track I<BR>> would appreciate
it. I am trying to get into this new world<BR>> of programming for Nokia
devices and it's all very<BR>> overwhelming. Thanks.<BR>><BR>>
Mfonnesbeck_______________________________________________<BR>>
maemo-developers mailing list<BR>> maemo-developers@maemo.org<BR>> <A
href="https://lists.maemo.org/mailman/listinfo/maemo-developers">https://lists.maemo.org/mailman/listinfo/maemo-developers</A><BR><BR>Send
instant messages to your online friends <A
href="http://uk.messenger.yahoo.com">http://uk.messenger.yahoo.com</A><BR></FONT></P></DIV>
</BODY>
</HTML>