[sdp @ 0x59c9d80] Could not find codec parameters for stream 1 (Video: vp8, yuv420p): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, sdp, from '/opt/test.sdp':
Metadata:
title : RTP Video
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
Stream #0:1: Video: vp8, yuv420p, 90k tbr, 90k tbn, 90k tbc
Codec AVOption preset (Configuration preset) specified for output file #0 (rtmp://59.110.165.206/17live/5b926f0f7faa853c248a5316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption tune (Tune the encoding to a specific scenario) specified for output file #0 (rtmp://59.110.165.206/17live/5b926f0f7faa853c248a5316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
Stream #0:0 -> #0:0 (opus (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, flv, to 'rtmp://59.110.165.206/17live/5b926f0f7faa853c248a5316':
Metadata:
title : RTP Video
encoder : Lavf58.12.100
Stream #0:0: Audio: aac (LC) ([10][0][0][0] / 0x000A), 16000 Hz, mono, fltp, 69 kb/s
Metadata:
encoder : Lavc58.18.100 aac
[sdp @ 0x59c9d80] max delay reached. need to consume packetd=42.7x
[sdp @ 0x59c9d80] RTP: missed 191 packets
[flv @ 0x5a4a0c0] Failed to update header with correct duration.1x
[flv @ 0x5a4a0c0] Failed to update header with correct filesize.
size= 4023kB time=00:07:46.28 bitrate= 70.7kbits/s speed=2.81x
I play the url rtmp://myhost/mypath/mystream-id with the player VLC, it just get nothing. But when I push the url with OBS, the url will be played OK on VLC. I think something has been set in incorrect way, it annoy me in several day, and I can not find the problem.
By the way when I press ctrl+c, it will print
video:0kB audio:3902kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.081117%
[aac @ 0x59cf840] Qavg: 653.844
I don't whether it is helpful, so I also paste it.
The sdp file saved on /opt/test.sdp :
On the frontend, I use websocket to communicate with the janus, the rtp forward message I send as follows:
And it run success, as the janus give a response :
But when I run the ffmpeg command on the janus server, it will stuck for several minutes, only output such info:
After then, it will output such info,
I play the url
rtmp://myhost/mypath/mystream-id
with the player VLC, it just get nothing. But when I push the url with OBS, the url will be played OK on VLC. I think something has been set in incorrect way, it annoy me in several day, and I can not find the problem.By the way when I press
ctrl+c
, it will printI don't whether it is helpful, so I also paste it.