-1
j'ai un flux en direct rtp vidéo petit morceau de H.254, je veux copier sur fichier J'utilise:FFmpeg (avconv) rtp flux, comment attacher le fichier sdp?
avconv -i rtp://@192.168.0.34:60005 -an -acodec copy -vcodec copy abc.mp4
Mais j'ai une erreur:
[rtp @ 0x1f6cfe0] Unable to receive RTP payload type 96 without an SDP file describing it
C'est ok, parce que avconv don Je ne sais pas ce qu'il y a dedans.
Mon fichier sdp:
v=0
o=- 20966096445 1 IN IP4 0.0.0.0
t=0 0
a=type:broadcast
a=control:*
a=x-qt-text-nam:brovotech
a=x-qt-text-inf:live/sub
a=range:npt=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:8
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4d001e;sprop-parameter-sets=Z00AHpWoLASZ,aO48gA==
Comment puis-je joindre le fichier sdp pour FFmpeg? Ou définir des arguments qui décriront le flux?