Quantcast

hlssink

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

hlssink

Jerry Geis-2
I am running the command:

gst-launch-1.0 videotestsrc is-live=true ! openh264enc ! mpegtsmux ! hlssink 

I do not see anything in /var/www or /var/www/html for files its supposed to create.

I am using 1.11.1 at this time. Certainly new to hls and openh264 both.
Any suggestions?

Thanks,

Jerry

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: hlssink

Rand Graham
Jerry,

If your pipeline is working the playlist and .ts files will be placed in the current working directory where you run the command from.

If it is working you should see a .ts file show up immediately.

Regards,
Rand
________________________________________
From: gstreamer-devel [[hidden email]] On Behalf Of Jerry Geis [[hidden email]]
Sent: Tuesday, May 02, 2017 8:04 AM
To: [hidden email]
Subject: hlssink

I am running the command:

gst-launch-1.0 videotestsrc is-live=true ! openh264enc ! mpegtsmux ! hlssink

I do not see anything in /var/www or /var/www/html for files its supposed to create.

I am using 1.11.1 at this time. Certainly new to hls and openh264 both.
Any suggestions?

Thanks,

Jerry
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: hlssink

Jerry Geis-2
In reply to this post by Jerry Geis-2
Thanks Rand, I must have misunderstood what I read.

Yes in fact there is a segment00000.ts file created in my current directory not in /var/www .

How do I get the browser to then play the stream ?

Thanks

Jerry


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: hlssink

Nicolas Dufresne-5
In reply to this post by Jerry Geis-2
Le mardi 02 mai 2017 à 09:04 -0400, Jerry Geis a écrit :

> I am running the command:
>
> gst-launch-1.0 videotestsrc is-live=true ! openh264enc ! mpegtsmux !
> hlssink 
>
> I do not see anything in /var/www or /var/www/html for files its
> supposed to create.
>
> I am using 1.11.1 at this time. Certainly new to hls and openh264
> both.
> Any suggestions?
Have you tried configuring hlssink path, see properties playlist-root,
playlist-location, location. Run "gst-inspect-1.0 hlssink" for details
about the properties and the default values.

regards,
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: hlssink

Rand Graham
In reply to this post by Jerry Geis-2
Jerry,

You need to serve the files via a webserver. Then enter the url of the playlist in chrome. The video should start playing.

For easy testing I have used python in the past:

 python -m SimpleHTTPServer

Regards,
Rand
________________________________________
From: gstreamer-devel [[hidden email]] On Behalf Of Jerry Geis [[hidden email]]
Sent: Tuesday, May 02, 2017 11:28 AM
To: [hidden email]
Subject: Re: hlssink

Thanks Rand, I must have misunderstood what I read.

Yes in fact there is a segment00000.ts file created in my current directory not in /var/www .

How do I get the browser to then play the stream ?

Thanks

Jerry

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...