Hi Maziar,
I am implementing the client. Before the server sends video stream to me,
it sends a SIP INVITE with SDP which describes the video stream.
Once I get the SIP INVITE, I can create a SDP file according to the SIP
packet and call ffmpeg to record the incoming video stream.
I have not prog
Hi,
No problem, it was yourself who figured it out after all.
I have a question still though. How do you transmit the SDP file to the
client? I mean apparently for every stream you should have an SDP file
generated and sent to the client before the client is able to play it.
This problem is a majo
Hi Maziar,
I finally figured it out. Instead of using udp stream as input, I generated
a SDP file and use it as the input.
Prior to receiving the audio packets, I receive a SIP packet with SDP
payload. The SDP payload describes the IP/port of the video packet as well
as the format. I just created
Hi,
Try testing it over http first, rather than UDP or RTP. What I understand
is that the errors somehow are related to audio channel, and RTP divides
the media into two streams (one audio and one video) and sends them through
separate ports, so I guess you should have some sort of mechanism on th
Hi Bill,
>> I might be tempted to set both video and audio codec to copy, and save
in a .TS file without -f at all.
I did a look search on google about .ts files. My understanding is that, I
can use videosnarf to convert a packet trace to .TS file. Is that the way
you have in mind as well?
Thank
Hi Maziar,
>> I'm a bit confused here, first you said RTP and then you're using UDP in
your commands. Can you explain it to me?
The packets I am getting is H264 over RTP. Since RTP is a subset of UDP, so
I thought it would be okay to just let ffmpeg read the UDP packets.
>> Try playing directly f
Alex Lin wrote:
Hi all,
I am using Windows 7 64 bit, and I downloaded the 64 bit version of
ffmpeg: ffmpeg-20140916-git-b76d613-win64-static.7z
I have spent the entire day experimenting with ffmpeg today but I haven't
quite figure out if ffmpeg is the right solution to my problem yet, so I
woul
Hi,
I'm a bit confused here, first you said RTP and then you're using UDP in
your commands. Can you explain it to me?
Try playing directly from the stream with ffplay and see what will happen.
ffplay udp://192.168.1.200:50002/stream_name
I can capture and save from udp but the result is very noisy
Hi all,
I am using Windows 7 64 bit, and I downloaded the 64 bit version of
ffmpeg: ffmpeg-20140916-git-b76d613-win64-static.7z
I have spent the entire day experimenting with ffmpeg today but I haven't
quite figure out if ffmpeg is the right solution to my problem yet, so I
would like to get some