Transcoding HLS to DASH

Olivier Crête olivier.crete at collabora.com
Sat Apr 19 14:19:01 PDT 2014


Hi, 

Actually, the DASH protocol can even stream ts segments directly, a while back I built something that exposed a DASH file from a hls stream without ever modifying the media files. 

On April 19, 2014 4:02:13 PM EDT, Rob <robert.swain at gmail.com> wrote:
>You should be able to just demux the HLS MPEG TS segments and mux into
>fragmented MP4 I think.
>
>Best regards,
>Rob
>
>On Saturday, 19 April 2014, Sebastian Dröge <sebastian at centricular.com>
>wrote:
>
>> On Mo, 2014-04-14 at 09:08 -0700, Edward Cessna wrote:
>> > I've been given the task to transcode and restream HLS to DASH.
>This is
>> my
>> > first video-related project so I've done more than my fair share of
>> > googling, going through gstreamer's tutorials, etc. I've spent
>enough
>> hours
>> > doing this that I'm now completely confused and decided to seek
>help from
>> > this mailing list.
>> >
>> > I've broken down my task into the following
>> > - Transcoding H.264 to fMP4
>> > - Converting manifest files
>> > - Restreaming
>> >
>> > Can gstreamer support the above? Do I need to bring in other tools
>such
>> as
>> > mp4box and ffmpeg?
>> >
>> > Any guidance, large or small, will be greatly appreciated.
>>
>> You can do all that with the help of GStreamer but you will
>nonetheless
>> still need to write some code to glue everything together. There is
>not
>> ready-made solution for this (yet) but all the buildings blocks
>exist.
>>
>> For receiving and transcoding the HLS stream you can use the standard
>> GStreamer elements, like uridecodebin (for receiving) and the
>relevant
>> encoders and muxers to generate the MP4 fragments.
>>
>> For creating the DASH manifest and serving it you have a few options,
>> take a like at gst-streaming-server and these bugs here:
>> https://bugzilla.gnome.org/show_bug.cgi?id=668094
>> https://bugzilla.gnome.org/show_bug.cgi?id=668091
>>
>> --
>> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
>> Expertise, Straight from the Source
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>gstreamer-devel mailing list
>gstreamer-devel at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Olivier Crête
olivier.crete at collabora.com


More information about the gstreamer-devel mailing list