This was the last comment in the associated ticket:
We have resolved the issue, there was a bug in gstreamer.
Thanks
Here is everything:
Hello Charlie,
We have resolved the issue, there was a bug in gstreamer.
Thanks
gst-kaps
Charlie, Nov 24 11:04 am (CST):
No, we need both with B-frames.
Charlie
gst-kaps, Nov 24 10:26 am (CST):
Since you expect the sequence in decoding order, even if dts is not
there, but just pts is there I suppose it should be able to reconstruct
? Thats what VLC, etc player does.
support@wowza.com wrote:
Charlie, Nov 24 07:38 am (CST):
We need both pts and dts value when doing streaming using B-frames. With B-frames, frames are sent out of order. They are sent to Wowza in decoding order and not presentation order. The pts and dts values help us instruct the player how to handle the out of order frames.
Charlie
gst-kaps, Nov 24 03:57 am (CST):
Thanks Charlie,
I verified with vlc based on your mail and it seems gstreamer has a bug.
Thanks for help me out.
Can you please help me understand if inside ts, dts values would be
important for wowza to decode Bframes properly ?
Or just pts would suffice ?
Regards
gst-kaps
support@wowza.com wrote:
Charlie, Nov 23 02:02 pm (CST):
I really don’t have an answer for you.
First, I tried to use VLC to turn your .ts file into a live TS stream for playback through Wowza. I used VLC 1.1.5 with this command:
vlc -vvv “C:\Users\cgood\Desktop\scratch\mediamagictechnologies\news_scroll-notworking-with-wowza.ts” --sout “#duplicate{dst=udp{dst=127.0.0.1:1234},dst=display}”
The stream did not look played back through VLC and looked equally messed up in Flash played through Wowza.
Next, I ran your stream through VLC and re-encoding it using multiple B-frames. This stream played fine in Flash when streamed through Wowza. So it is
something with the G-streamer encode that is not playing well in Flash. The VLC command I used was:
vlc -vvv “C:\Users\cgood\Desktop\scratch\mediamagictechnologies\news_scroll-notworking-with-wowza.ts” --sout “#transcode{venc=x264{keyint=60,profile=main,bframes=2},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000}:rtp{dst=127.0.0.1,mux=ts,port=10000}”
Using FFmpeg, I tried to take the .ts file and re-containerize it into a .mp4 or .flv container for direct playback in flash (removing Wowza from the equation) but I kept getting the error “non-monotone timestamps”. So I could not convert the .ts file to an .mp4 file for direct playback.
So I do not believe it is a general issue with B-frames and Wowza. I believe it is an issue with how the GStreamer encode is structured when using B-frames that is not compatible with Wowza or with Flash.
Charlie
Richard