I have a web site where i can upload videos. Here i have a requirement that while uploading i should validate that user should not upload video with more than 1 minute duration.
I've tried using directshowlib-2005 by installing k-lite mega codec pack. It can't find the duration of an mp4 file or f4v file (avi, wmv and flv has no problem). I use ImediaSeeking interface of directshowlib-2005 to find duration. But in case of mp4 and f4v the GetDuration method returns zero.
I know it is a codec problem, but I do not know which codec is to be installed to get duration of mp4 as well as f4v files.
I have a uploader on my page which saves a video file, and then i call ffmpeg to convert it to a .flv standard. The problem is, i need to pull the video duration in from the file, and the ffmpeg output even says it, but when i tell the parameters to do the ffmpeg -i filename > fileinfo.txt it still doesnt take that information.
is there any method on showing the image for the uploaded video files which are in flv format? i saw all the video in youtube got show the image of the video. how to do it?
On a controller I am receiving a HttpPostedFileBase which was created by uploading a movie on a form. Is it possible on my controller to check the width and height of the video?
I'm building a cms and I want users to be able to upload videos but I'm not familiar with video upload & conversion. Is there an example or has anybody coded a solution like this? I heard about ffmpeg but I don't know how to integrate it with asp.net.
As simple solution I can make my clients upload flv files but then I would still need to get a screenshot from that fvl.
I'm trying to make a project like YouTube which will allow all video extensions to be uploaded , take a thumble from the vedio and play it in flv player I wrote my code using ffmpeg.exe and it woks great but my host can't support executable files i searched alot for dll with documentation but i couldn't find one
m using asp.net 3.5 and c# on my website.Here is myquestion:I have an upload button and asp:Image on a page. An user can upload an image from his computer and that image will be displayed in the asp:image. But before I display the image, I would like to check the width and height of the uploaded image. How do I do this?
i have simple code. in which i want to check whether file is uploaded or not. but HasFile return false. I think every thing is ok but not working. how i will upload only images instead of "All Files"
i am uploading a file through file upload control , file size has greater then 4 MB, I have to give the proper alert msg to the user that file size exceeding the limit.how to do it , because at server side it is crashed on the IIS and not return to the server to check the file size validation.that how it is possible to validate the file size and give the proper alert messege
Now i'm currently trying to code a basic website as a project and i've run into problems regarding a search video function. having searched through the forum i still could not find a solution.What i intend to do is to have a video search web service in my website, perhaps something like this:http://www.google.com/uds/solutions/...rch/index.html. however from my limited understanding the codes provided is unable to work with VS2005? Is there a basic template that i could follow and implement for a video search function for youtubes video?
I have a gridview which is taking values using template feild. ASP databound feild displays duration in my gridview as hour:minute:second .
Eg: 1:30:10 (1hour:30 minutes:10 seconds) . I want to change this to minutes only. that it should converted to 90 minutes , The actual value is 90 minutes 10 seconds, As it has 10 seconds more I want to display it as 91 minutes. Final result in gridvew should be 91 minutes.How can i do this ?
I heard that onrowdatabound can be used for this, if so how can i do it. how can i make use the onrowdatabound to make this work