GStreamer lip sync issues with Wowza.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GStreamer lip sync issues with Wowza.

Martin-294
Hi guys,

I'm using the following pipeline for send a stream to the media server
Wowza.

gst-launch-0.10 -v v4l2src device=/dev/video1 ! "video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)640, height=(int)480,
framerate=(fraction)30/1" ! queue ! videorate ! "video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)640, height=(int)480,
framerate=(fraction)25/1" ! queue ! ffmpegcolorspace ! "video/x-raw-yuv,
format=(fourcc)I420, framerate=(fraction)25/1, width=(int)640,
height=(int)480" ! queue ! x264enc bitrate=500 ! queue ! rtph264pay !
queue ! udpsink host=192.168.0.230 port=8000 sync=true alsasrc !
"audio/x-raw-int, endianness=(int)1234, signed=(boolean)true,
width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2" ! queue
! faac ! queue ! rtpmp4gpay ! udpsink host=192.168.0.230 port=8002 sync=true

I'm not exactly sure about the problem but the final stream (after going
thought Wowza) have a lip sync delay of about half a second.

I don't know if a problem on my pipeline or is a Wowza problem. Do you
know if there is any kind of incompatibility between GStreamer and Wowza?

Thank you in advance.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GStreamer lip sync issues with Wowza.

Florent THIERY-2
hi

> gst-launch-0.10 -v v4l2src device=/dev/video1 ! "video/x-raw-yuv,
> format=(fourcc)YUY2, width=(int)640, height=(int)480,
> framerate=(fraction)30/1" ! queue ! videorate ! "video/x-raw-yuv,
> format=(fourcc)YUY2, width=(int)640, height=(int)480,
> framerate=(fraction)25/1" ! queue ! ffmpegcolorspace ! "video/x-raw-yuv,
> format=(fourcc)I420, framerate=(fraction)25/1, width=(int)640,
> height=(int)480" ! queue ! x264enc bitrate=500 ! queue ! rtph264pay !
> queue ! udpsink host=192.168.0.230 port=8000 sync=true alsasrc !
> "audio/x-raw-int, endianness=(int)1234, signed=(boolean)true,
> width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2" ! queue
> ! faac ! queue ! rtpmp4gpay ! udpsink host=192.168.0.230 port=8002 sync=true
>
> I'm not exactly sure about the problem but the final stream (after going
> thought Wowza) have a lip sync delay of about half a second.
>
> I don't know if a problem on my pipeline or is a Wowza problem. Do you
> know if there is any kind of incompatibility between GStreamer and Wowza?

There is not. Maybe your sdp file does not use a 48000 hz rate ?

Florent

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel