HLS demux with fMP4

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

HLS demux with fMP4

thowtj
Hi,

I am trying to demux a HLS stream which contains a fMP4 seq with audio and
one with fMP4 video but with no success.

On a hlsdemux element I am listening on on_pad_added signals. It is called
twice with structName: video/quicktime. In that callbacks I connect both
pads to qtdemux elements. From that moment on the pipeline switches back and
forth between PAUSED state and PLAYING state but on_pad_added and
no_more_pads signals are not called at all.

I then tried to decoded a HLS sample stream containing fMP4 provided by
Apple
(https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8)
using

gst-launch-1.0 playbin
uri=https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8

and found that it was not able to play it back either. That leads me to the
question if qtdemux is able to demux fMP4 coming from a HLS stream.

thowtj



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HLS demux with fMP4

arunzg
Look at
http://gstreamer-devel.966125.n4.nabble.com/Appsink-missing-the-quot-last-quot-buffer-td4691844.html 

I'm currently working on hlsDemux with appsink. Probably what you are seeing
is loss of buffer when switch over happens after the first "new-pad". The
file probably is not playing because of loss of buffer. As you can see in my
source code, I closed the file after the first new-pad and opened another
one. Both could be played..  



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HLS demux with fMP4

Ciro Ferreira
In reply to this post by thowtj
Have you encountered a nice way of demuxing fmp4 with hlsdemux pad? Im
working on a proyect trying to repacketize an HLS/fmp4 signal to MPEG2-TS,
but having some issues trying to do it via command line running this script:

gst-launch-1.0 souphttpsrc automatic-redirect=true
location=http://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream_fmp4.m3u8
! hlsdemux ! qtdemux name=demux \
 mpegtsmux name=mux ! filesink location=capture.ts \
 demux.audio_0 ! queue ! mux. \
 demux.video_0 ! queue ! mux.

and getting the following error:

ERROR: from element /GstPipeline:pipeline0/GstHLSDemux:hlsdemux0: Could not
determine type of stream

I'll be very gratefull if you have any leads on how to do it.

Thank you in advance!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel