2
#video camera stream
ffmpeg -f avfoundation -framerate 30 -i "2:0" -ac 2 -vcodec libx264 -maxrate 2000k -bufsize 2000k -acodec libmp3lame -ar 44100 -b:a 128k -f flv "rtmp://localhost/WebRTCApp/190298084573663685351334"

#Overlay stream
phantomjs runner.js | ffmpeg -y -c:v png -f image2pipe -r 60 -i - -c:v libx264 -pix_fmt yuv420p -f flv "rtmp://localhost/WebRTCApp/730688628419054058672897"

#Merge stream
ffmpeg -i "rtmp://localhost/WebRTCApp/190298084573663685351334 live=1" -i "rtmp://localhost/WebRTCApp/730688628419054058672897 live=1" -framerate 25 -filter_complex "overlay=0:160" -vcodec libx264 -preset ultrafast -f flv "rtmp://localhost/WebRTCApp/730606987018847653718161"

Ant Media Server - Community エディションを使用しています

Merge Stream で次のようなエラーが発生します

Larger timestamp than 24-bit: 0xffff4300kB time=00:02:55.39 bitrate= 248.0kbits/s speed=0.802x    
Larger timestamp than 24-bit: 0xffff4307kB time=00:02:55.42 bitrate= 248.1kbits/s speed=0.761x    
Larger timestamp than 24-bit: 0xffff430ekB time=00:02:55.44 bitrate= 248.1kbits/s speed=0.723x    
Larger timestamp than 24-bit: 0xffff4316
Larger timestamp than 24-bit: 0xffff4306kB time=00:02:55.52 bitrate= 248.2kbits/s speed=0.722x    
Larger timestamp than 24-bit: 0xffff430d
Larger timestamp than 24-bit: 0xffffc4e6
Larger timestamp than 24-bit: 0xffffe53e
WriteN, RTMP send error 32 (7 bytes)5653kB time=00:02:57.35 bitrate= 261.1kbits/s speed=0.722x    
WriteN, RTMP send error 32 (42 bytes)

VLCプレーヤーでは、灰色/壊れたジッタリーストリームが表示されます

問題の特定と解決にご協力ください。

4

0 に答える 0