Re: [web2py] Re: preview image from video file

2011-06-13 Thread Sahil Arora
@massimo...I am just trying to play a video of type flv,avi in the browser itself...I tried to use 'embed' tag of html, but the video didn't played. It just showed the black screen. I couldn't find the file models/plugins_wiki.py.. @stifen...sorry i don't know what blob isi just defined the im

[web2py] Re: preview image from video file

2011-06-12 Thread Massimo Di Pierro
I am not sure what you need. If you upload videos as 'upload' fiels and you download them via the provided 'download' action than you get http streaming out of the box. download supports partial content/range requests. All you need is to embed a flash video player and link the video. Look into the

Re: [web2py] Re: preview image from video file

2011-06-12 Thread Stifan Kristi
a, i c, thank you so much for your explaination and example code, sahil. did you mind if i want to store the video file and image in the database as blob? how to do it? thank you very much before.

Re: [web2py] Re: preview image from video file

2011-06-12 Thread Sahil Arora
@massimo waiting for your reply On Sun, Jun 12, 2011 at 9:08 PM, Sahil Arora wrote: > Sorry for the late repply... > @massimo ...the videos are on my hard disk.I just add them to database by > upload option so these videos are saved in the 'uploads' folder. > @Stifanwhen a user upload th

Re: [web2py] Re: preview image from video file

2011-06-12 Thread Sahil Arora
Sorry for the late repply... @massimo ...the videos are on my hard disk.I just add them to database by upload option so these videos are saved in the 'uploads' folder. @Stifanwhen a user upload the video ...i call the command ffmpeg as import os os.system("ffmpeg -i "+video+" -r 1 -ss 0:00:

Re: [web2py] Re: preview image from video file

2011-06-10 Thread Stifan Kristi
how to integrate web2py with ffmpeg? i mean when users uploaded the video, web2py can automatic reproduce the image and store it in the database. is there any way to do this? thank you so much.

[web2py] Re: preview image from video file

2011-06-10 Thread Massimo Di Pierro
are these video in static or uploaded by users? On Jun 10, 5:00 pm, Sahil Arora wrote: > Thanks for the help. I got the image from the video. Can u help me with the > video streaming part. I could not get a good tutorial for this. > > On Sat, Jun 11, 2011 at 12:59 AM, Massimo Di Pierro < > > mass

Re: [web2py] Re: preview image from video file

2011-06-10 Thread Sahil Arora
Thanks for the help. I got the image from the video. Can u help me with the video streaming part. I could not get a good tutorial for this. On Sat, Jun 11, 2011 at 12:59 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > http://linuxers.org/tutorial/how-extract-images-video-using-ffmpeg

[web2py] Re: preview image from video file

2011-06-10 Thread Massimo Di Pierro
http://linuxers.org/tutorial/how-extract-images-video-using-ffmpeg On Jun 10, 2:00 pm, Sahil Arora wrote: > I am making an application in which i want to show the preview image from an > uploaded video and also stream that video. Can u please guide me how can I > get a preview image from > a vide