So, I worked with FFMPEG in a project that includes streaming video from one computer to another over the Internet with RTP. I want to take this in ffmpeg and use ffserver to display it on the local network.
As I understand it, you need to have SDP information so that the receiving ffmpeg instance can interpret the RTP stream. Despite what the webpages say, I cannot find the SDP information in the information printed on the console.
How can I make the sending instance of ffmpeg output SDP information so that I can use it to configure my receiving end?
I am testing Windows 7 now, but the final solution will be on Linux.
The command that I run for testing is
ffmpeg -fflags +genpts -i files\2005-SFSD-sample-mpeg1.mpg -threads 0 -r 10 -g 45 -s 352x240 -deinterlace -y 2005.mp4 -an -threads 0 -r 10 -g 45 -s 352x240 -deinterlace -f rtp rtp:
My ffmpeg info ...
ffmpeg version 0.8, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 23 2011 14:22:23 with gcc 4.5.3 configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --disable-outdev=sdl libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0
source share