dashsink: New sink for DASH
@ylatuya
Submitted by Andoni Alastruey Link to original bug (#668094)
Description
New sink for DASH that uses the GstBaseAdaptiveSink base class. The element support for now the DASH basic-on-demand profile with fragmented MP4.
Example usage:
gst-launch -e videotestsrc num-buffers=3000 is-live=true ! "video/x-raw-yuv, framerate=30/1" ! keyunits-scheduler interval=10000000000 ! tee name=t ! queue ! textoverlay text=200kbps font-desc="sans bold 40" ! x264enc bitrate=200 ! mp4dashmux fragment-method=2 ! queue ! dashsink name=sink base-url=http://localhost/dash output-directory=/home/andoni/public_html/dash t. ! queue ! textoverlay text=100kbps font-desc="sans bold 40" ! x264enc bitrate=100 ! mp4dashmux fragment-method=2 ! queue ! sink. t. ! queue ! textoverlay text=500kbps font-desc="sans bold 40" ! x264enc bitrate=500 ! mp4dashmux fragment-method=2 ! queue ! sink. audiotestsrc is-live=true ! keyunits-scheduler interval=10000000000 ! faac ! mp4dashmux fragment-method=2 ! queue ! sink.