How to specify the codec in avformat_open_input for RTP?

Steam recording with RTMPDump or FFmpeg.
Post Reply
dwx
Posts: 1
Joined: Thu Oct 22, 2015 2:31 pm

How to specify the codec in avformat_open_input for RTP?

Post by dwx » Thu Oct 22, 2015 2:49 pm

RTP uses dynamic payload 96 (AMR codec) , then how to fill the AVInputFormat in avformat_open_input for the RTP ?

ytan
Posts: 1
Joined: Wed Sep 07, 2016 7:34 am

Re: How to specify the codec in avformat_open_input for RTP?

Post by ytan » Thu Sep 08, 2016 12:27 am

Same issue here. Were you able to solve this?

I am trying to figure out how to use an SDP file and provide the option of '-protocol_whitelist file,udp,rtp'.

Post Reply