I would like to ask if its possible to stream from my webcam to a pc and then either save the desired stream or re-stream to a second pc with gstreamer.So far it seems like its a powerfull tool but can its cappabilities extend that far?
Yes, but you need the proper pipelines on each system. When I have done that, I start the display pipeline first, then work backward to the video source. That way sockets are open and available to receive packets immediately.
I would like to ask if its possible to stream from my webcam to a pc and
then either save the desired stream or re-stream to a second pc with
gstreamer.So far it seems like its a powerfull tool but can its
cappabilities extend that far?
Thank you for your fast reply. I was thinking earlier this evening if it is possible to build an app that uses a stream which is being transmitted to a pc, named pc1, which is controlled by a second pc, named pc2.
What i was thinking goes like this: pc1 receives a stream which is either re-streamed to pc2 for display or is saved to pc1, all controlled by the decision that pc2 makes in real time. Do you think that this sort of application can be achieved?
Yes i am thinking the same about logic control. In fact what i am thinking about is putting a gui button on the controller pc (pc2) much like a remote control with two states. The first state will capture the restream from pc1 and display it on my screen (pc2) and the second is to save the stream on pc1 for later use.
My problem so far is that i dont have any reference on how to stream audio and video from one pc to another. Should i use RTP to transmit the media? Any reference would be helpful (tutorial or paradigm) regardings streaming media.
Thanx, i am reading the examples rtpaux.c and rtpclient.c but both of them
have GST_RTP_PROFILE_AVPF which i have some difficulty to understand. I know
its value is 3 according to the link below, but what it actually means?
Thanx, i am reading the examples rtpaux.c and rtpclient.c but both of them have GST_RTP_PROFILE_AVPF which i have some difficulty to understand. According to link below i can tell what its type but i dont understand what is represents.
To be precise more, when i compile the .c files i get an error report that GST_RTP_PROFILE_AVPF is undeclared. But when i set its value the file is compiled without warnings and i can execute. What i dont understand is what type of media is being send with server-rtpaux.c and how can alternate the stream with some other file, i.e. "test.mp4"
On Di, 2015-10-27 at 14:30 -0700, stproj wrote:
> Thanx, i am reading the examples rtpaux.c and rtpclient.c but both
> of them
> have GST_RTP_PROFILE_AVPF which i have some difficulty to understand.
> According to link below i can tell what its type but i dont
> understand what is represents.
To create multiples stream from one source and manipulate it to send other hosts, save in file or to play on your pc.
Greetings again, I am working on a project of mine which i find very educational.
Again, what i am trying to achieve is to forward a rtp traffic from a source to a pc (named pc1) and then forward again on other pc (named pc2) which will receive an either transcoded form or display as is. What i have achieved so far:
1. Transfer an mp4 from one pc to another.
2. Forward rtp traffic from pc1 to pc2 and then saved to a filesink on pc2
What i have a problem right now is that i want to extend my 2nd achievement (described above) to something more:
3. Receive rtp traffic, store it to a filesink and forward using udpsink (a mix of 1 and 2 described above)
I provide my pipelines for both 1,2 and 3 but no.3 needs some modification
2. gst-launch-1.0 -v udpsrc port=5000 ! -e udpsink host= 192.168.10.19 port = 5001
# this is pc1 and excute the 1st Receiver pipeline on pc2 to store the traffic on pc2, modyfying
# ports and addresses
I would like now to stream both audio and video from a simple .mp4 file. Is it possible to do over rtp or will i need rtcp? And how will the pipeline be formed on the receiver side? What is your opinion? Will i need two udpsinks, one for audio and one for video? Or three? Meaning one more for control messages.
I have made some modifications with the pipelines i shared a couple of days ago, but they do not seem to be working. I will share those later .