hlssink and openh264

Rand Graham rand.graham at lge.com
Wed May 17 15:43:55 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
________________________________________
From: gstreamer-devel [gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Jerry Geis [jerry.geis at gmail.com]
Sent: Wednesday, May 17, 2017 10:09 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: hlssink and openh264

Hello

When I use the videotestsrc line:
gst-launch-1.0 videotestsrc is-live=true ! openh264enc ! mpegtsmux
        ! hlssink playlist-root=http://IP \
          location=/var/www/html/hlssink.%05d.ts \
          playlist-location=/var/www/html/playlist.m3u8
I can play the videotestsrc... cool

So I thought I would change that to an actual file.
gst-launch-1.0 filesrc location=movie.mov ! openh264enc ! mpegtsmux
        ! hlssink playlist-root=http://IP \
          location=/var/www/html/hlssink.%05d.ts \
          playlist-location=/var/www/html/playlist.m3u8

on the second command I get syntax error

What do I change for videotestsrc (that worked) to use an actual file?
The movie.mov file format is apple quick time.

Thanks,

Jerry


More information about the gstreamer-devel mailing list