MPEG transport stream frame extraction without ffmpeg #5590
Unanswered
RicardoSaikali
asked this question in
Q&A
Replies: 1 comment
-
Hmmm... not with You could try faking a MANIFEST_PARSED event after attaching the media. Actually making an m3u8, loading and printing out the JSON for this and possibly other events would get you the events you need to bootstrap the player up to the point where it would load/parse/append your TS segment:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My end goal is to extract a single frame from an MPEG transport stream video file (.ts) as a File object in typescript. The way I am trying to do so is by setting the file as the source for a video tag like the main example seen in the readme. I am trying to use hls.js to set the video as the source since the html video tag doesn't support .ts files. It has come to my attention that hls needs a .m3u8 file as an input. Is there a way I can achieve what I need without using ffmpeg to convert my .ts file to m3u8? Here is the base code I am using:
Beta Was this translation helpful? Give feedback.
All reactions