I am using JW player to play a wowza stream. JW Player is showing the ascpect ratio is 4:3, although the original stream is encoded in 16:9. I did some debugging and I think the problem is Wowza not sending the metadata. Here is the output from Arthropod. It seems to missing the height & width of the video. I am using rtp-live stream type.
META ({description:myStream7ca33c8ad4478858fc11b66bb895c480.sdp is now published., level:status, code:NetStream.Play.PublishNotify, clientid:1020680111})
META ({description:Playing and resetting myStream7ca33c8ad4478858fc11b66bb895c480.sdp., level:status, code:NetStream.Play.Reset, clientid:1020680111})
META ({description:Started playing myStream7ca33c8ad4478858fc11b66bb895c480.sdp., level:status, code:NetStream.Play.Start, clientid:1020680111, isFastPlay:false, timecodeOffset:3470605646563L})
META ({audiochannels:2, trackinfo:[object Object],[object Object], width:0, audiocodecid:mp4a, height:0, type:metadata, audiosamplerate:48000, rtpsessioninfo:[object Object], videocodecid:avc1})
width and height are there, but set to 0. It’s an issue with the encoder, Wowza wouldn’t change width and height metadata.
Richard
JW player doesn’t read the sdp file, it gets metadata from stream, in metadata handler. You can see what it is being sent in that Arthropod output you posted:
META ({audiochannels:2, trackinfo:[object Object],[object Object], width:0, audiocodecid:mp4a, height:0, type:metadata, audiosamplerate:48000, rtpsessioninfo:[object Object], videocodecid:avc1})
Richard
Here is my sdp file. Could you tell me where in this the height/width are specified?
v=0
o=- 14906139635711259196 14906139635711259196 IN IP4 venky-desktop
s=Unnamed
i=N/A
c=IN IP4 192.168.40.16
t=0 0
a=tool:vlc 1.0.2
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 8010 RTP/AVP 96
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
m=audio 8012 RTP/AVP 97
b=RR:0
a=rtpmap:97 mpeg4-generic/48000/2
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
Thanks Richard. I figured out the problem last night. Apparently when using Wowza RTMP streaming with MPEG-TS, Wowza does not send the correct height & width. And the default video size in JW Player is 320x240 (which 4:3). I changed the default in JW & recompiled the player. It seems be working fine now.