Hi guru,
this is my experiment: let’s wowza working with ffmpeg RTSP.
that is the ffmpeg command:
ffmpeg -re -i /usr/local/WowzaMediaServer/content/sample.mp4 -acodec copy -vcodec copy -f rtsp -muxdelay 0.1 rtsp://myuser:mypassword@127.0.0.1:1935/live/myStream.sdp
Wowza live app is the standard as in tutorial:
https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtsp-rtp-based-encoder
In this enviroment, i get this:
ffmpeg origin: seems to works perfectly
Output #0, rtsp, to ‘rtsp://myuser:mypassword@127.0.0.1:1935/live/myStream.sdp’:
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.3.0
Stream #0.0(eng): Video: avc1 / 0x31637661, yuv420p, 424x240, q=2-31, 420 kb/s, 90k tbn, 24 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, 99 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
frame= 457 fps= 24 q=-1.0 Lsize= -0kB time=19.01 bitrate= -0.0kbits/s
wowza server: on this side i get a WARNING
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/myStream.sdp]: Video codec:H264 isCompatible:true
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/myStream.sdp]: Audio codec:AAC isCompatible:true
…
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: FU-B
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-24
WARN server comment - RTPDePacketizerRFC3984H264.handleRTPPacket: Unsupported packet type: MTAP-16
Client: on this side sound is OK but video doesn’t start
Any idea?