@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 is....i just defined the image table
as  db.define_table('image',Field('title'),Field('file','upload'))

On Mon, Jun 13, 2011 at 6:02 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> 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 mediaplayer function in models/plugin_wiki.py
>
> On Jun 12, 12:30 pm, Sahil Arora <sahilarora...@gmail.com> wrote:
> > @massimo.... waiting for your reply
> >
> > On Sun, Jun 12, 2011 at 9:08 PM, Sahil Arora <sahilarora...@gmail.com
> >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.
> > > @Stifan....when a user upload the video ...i call the command ffmpeg as
> > > import os
> > > os.system("ffmpeg -i "+video+"  -r  1  -ss 0:00:10 -t  1  "+image)
> > > where video and image are the location of video and final destination
> of
> > > image
> > > then i updated the path of the image in the database
> >
> > > On Sat, Jun 11, 2011 at 8:30 AM, Stifan Kristi <
> > > steve.van.chris...@gmail.com> wrote:
> >
> > >> 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.
> >
> > > --
> > > Sahil Arora
> > > B.Tech 2nd year
> > > Computer Science and Engineering
> > > IIT Delhi
> > > Contact No: +91 9871491046
> > >www.cse.iitd.ac.in/~cs1090213 <http://www.cse.iitd.ac.in/%7Ecs1090213><
> http://www.cse.iitd.ac.in/%7Ecs1090213>
> >
> > --
> > Sahil Arora
> > B.Tech 2nd year
> > Computer Science and Engineering
> > IIT Delhi
> > Contact No: +91 
> > 9871491046www.cse.iitd.ac.in/~cs1090213<http://9871491046www.cse.iitd.ac.in/%7Ecs1090213>
> <http://www.cse.iitd.ac.in/%7Ecs1090213>




-- 
Sahil Arora
B.Tech 2nd year
Computer Science and Engineering
IIT Delhi
Contact No: +91 9871491046
www.cse.iitd.ac.in/~cs1090213 <http://www.cse.iitd.ac.in/%7Ecs1090213>

Reply via email to