hlssink and openh264

Jerry Geis jerry.geis at gmail.com
Wed May 17 16:07:23 UTC 2017


>Hello,

>You will need to demux, parse and decode the video file before you can re-encode it to h264.

>Quick time is a container format. You will also need to know what video codec was used for the file.

>Regards,
>Rand

ok - I was assuming since videotestsrc was a good source and worked that
changing to filesrc was OK also... Apparently not.

So I added decodebin and videoconvert

gst-launch-1.0 filesrc location=movie.mov ! decodebin ! videoconvert !
openh264enc ! mpegtsmux
        ! hlssink playlist-root=http://IP <http://ip/> \
          location=/var/www/html/hlssink.%05d.ts \
          playlist-location=/var/www/html/playlist.m3u8


The pipeline now works, but I do not get anything but black on viewing. Do
I still have something wrong ?
Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170517/1499aaae/attachment-0001.html>


More information about the gstreamer-devel mailing list