FFMpeg no imprime información SDP en la consola
Frecuentes
Visto 870 veces
1
I was trying to create an FFMpeg stream and read it from VLC player, but I am getting an error saying SDP is required. However FFMpeg is not printing the SDP information to console as it is supposed to. How can I get the SDP file for the stream?
Here is the command I am using to stream
ffmpeg -f dshow -r 10000/1001 -i video="screen-capture-recorder" -vcodec libx264 -tune zerolatency -b 900k -f mpegts rtp://127.0.0.1:1234
1 Respuestas
0
I found out what I had done wrong. I was previously using this command:
ffmpeg -f dshow -r 10000/1001 -i video="screen-capture-recorder" -vcodec libx264 -tune zerolatency -b 900k -f mpegts rtp://127.0.0.1:1234
Which I changed to this:
ffmpeg -f dshow -r 10000/1001 -i video="screen-capture-recorder" -vcodec libx264 -tune zerolatency -b 900k -f rtp rtp://127.0.0.1:1234
I just changed "mpegts" to "rtp" since that is the protocol I was using.
Respondido el 28 de enero de 14 a las 23:01
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas ffmpeg rtp sdp or haz tu propia pregunta.
may be able to use rtsp instead...FWIW
ffmpeg -i \vids\sintel.mpg -an -f rtp rtp://127.0.0.1:2000
worked here to output SDP information... - rogerdpack