FORUMS: list search recent posts

Convert video using FFMPEG from client side

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
venkatesh veda
Convert video using FFMPEG from client side
on Oct 8, 2014 at 6:23:34 am

I have setup a ffmpeg and I'm streaming a file from localhost to rtmp server.
What i need is to stream a file from the client PC.

i.e., I am hosting ffmpeg

on the server and i need my web application to streams the file from the client PC

to the rtmp server. Is it possible?

I don't want to upload the entire file to my server because sometime the files are from a live feed (mixer studio outputs)


Return to posts index

Reuben Martin
Re: Convert video using FFMPEG from client side
on Oct 13, 2014 at 4:47:04 am

Not possible. And least not in the practical sense.

The client end either needs to have a web server to host the stream, or an RTMP server to push the stream, or the content producer needs to output the file in chunked format with the chunks being uploaded over a file transport of some kind.


Return to posts index

venkatesh veda
Re: Convert video using FFMPEG from client side
on Oct 13, 2014 at 5:32:59 am

By not being uploaded i meant, the entire file. i just need just last 10 frames to be uploaded each time from the entire video file..


Return to posts index


Reuben Martin
Re: Convert video using FFMPEG from client side
on Oct 14, 2014 at 3:28:13 am

Doesn't really make any difference. The only real tool you have on a client browser. And the JS environment is sandboxed from the file system. You cannot access files without a lot of user interaction. And even then there is no direct javascript API by which to extract individual frames from a video stream.

The only thing you could do is have a video element paint it's output to a canvas element, and the bitscrape the image off the canvas. http://appcropolis.com/blog/web-technology/using-html5-canvas-to-capture-fr...


Return to posts index

venkatesh veda
Re: Convert video using FFMPEG from client side
on Oct 14, 2014 at 5:19:48 am

Sorry
in that too


<!-- FireFox 3.5 -->
<!-- WebKit -->
Your browser does not support HTML5 video tag. Please download FireFox 3.5 or higher.


its using a video source which s already uploaded.

s it possible to do it without uploading the whole video file??


Return to posts index

Reuben Martin
Re: Convert video using FFMPEG from client side
on Oct 14, 2014 at 2:37:53 pm

Yes, as long as the browser supports the draft HTML5 File API.

http://www.html5rocks.com/en/tutorials/file/dndfiles/


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]