sdroege / http-launch Goto Github PK
View Code? Open in Web Editor NEWSimple GStreamer HTTP live streaming from a pipeline description
License: Other
Simple GStreamer HTTP live streaming from a pipeline description
License: Other
Hi,
Do you think it is possible to support MP4 in the same method as you presented here? I know mp4 can be transported by using RTMP, HLS or DASH but not sure if a regular HTTP GET/POST will work in MP4?
I know that WebM and OGV/OGG support streaming and seeking with Range header as you can icecast/oggfwd or FFSERVER them, but in case of MP4 set to -movflags frag_keyframe+empty_moov there still need to be supported transport like RTMP, HLS or DASH?
I asking as I;m being working for a few days on a method to stream live video/audio over a websocket by using FFMPEG/GSTREAMER.
I manage to mux on the same websocket 2 channels, one for video the other for audio.
The raw data is h264, baseline NAL frame and the audio is AAC, stereo 44100Hz.
On the client there is a javascript h264 decoder that works pretty well!
I get less then 2sec delay which is much better then HLS or DASH.
However Audio seems to be a problem.
First I can't play it in Iphone! as I'm using a mp3/aac decoder I compile from native C++ code using emscripten which seems not to work well.
In other platform is works, but then again sometime the audio go out of sync.
I tied to sync it by an external clock and failed doing so.
I can go with a WebRTC solution - which I did, and manage to get a live WebM stream on all device expect again Iphone.
Maybe you will have an idea?
checking whether byte ordering is bigendian... no
./configure: line 13986: PKG_PROG_PKG_CONFIG: command not found
./configure: line 13988: syntax error near unexpected token GST,' ./configure: line 13988:
PKG_CHECK_MODULES(GST, gstreamer-1.0 >= 1.0.8)'
Hey,
i'm trying to solve my Problem stop pipeline after last client disconnect and reinit, so the Source is only asked / used if one client is connected.
I try some change to init the hole programm in a loop and recall, but after that VLC can't connect second time.
on_client_socket_removed i call at last : g_main_loop_quit (loop);
then the main loop recall the init function. He say he is listining again (source is stoped as well) ... but connect isn't possible anymore.
whats going wrong?
thanks
Hi! i'm newbie in Gstreamer.
So i hope to have some suggestions from you about streaming video buffer into Browser HTTP with format video/mp4 or video/quicktime. When i made some tests with your code in my cases. Browser client in Chrome was not displaying video mp4. Data in Pipeline was still transfering, but browser didn't worked.
My pipeline:
videotestsrc ! clockoverlay ! x264enc ! mp4mux name=stream
Thanks in advanced
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.